/*   
 * Original Template Name: Developer
 * Original Author: Xiaoying Riley
 * Twitter: @3rdwave_themes
 * Website: http://themes.3rdwavemedia.com/
 * Modified by: HTMLy Team + (separately) Noelle Bishop for Eleana, Inc.
*/

/* TreeLife heading typeface — exact local files from the Mobirise export */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond/regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond/500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond/600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond/700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Preserve the legacy theme aliases, but point them to Garamond. */
@font-face {
  font-family: "main";
  src: url("../fonts/CormorantGaramond/regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "main-bold";
  src: url("../fonts/CormorantGaramond/700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Secondary typeface & font for body text or lesser headings */
@font-face {
  font-family: "secondary";
  src: url("../fonts//Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* ======= Base ======= */
body {
  font-family: "secondary", sans-serif;
  color: #666666;
  background: white;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main headings rules */
h1 {
  font-family: "main", sans-serif;
  font-weight: 700;
  color: #006480;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "secondary", sans-serif;
  font-weight: 700;
  color: #006480;
}

h2.title {
  font-family: "main", sans-serif;
  font-weight: 700;
  color: #006480;
}

h2.heading {
  font-family: "main", sans-serif;
  font-weight: 700;
  color: #006480;
}

.h1, h1 {
  font-size: 24px;
}

.h2, h2 {
  font-size: 20px;
}

.h3, h3 {
  font-size: 18px;
}

.h4, h4 {
  font-size: 16px;
}

.h5, h5 {
  font-size: 14px;
}

.h6, h6 {
  font-size: 12px;
}

/* Body text and elements rules */
p {
  margin:1em 0;
}

.aside p, .related p {
  margin: 0 0 10px 0;
}

blockquote {
  margin:1em 0;
  font-size:20px;
  font-family: "Source Sans",sans-serif;
}

blockquote  p{
  margin: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  cursor: default;
}

a {
  color: #006480;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  text-decoration: none;
  color: unset;
}

.btn,
a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-family: 'Montserrat', arial, sans-serif;
  padding: 5px 10px;
  font-size:12px;
}

.btn .fa,
a.btn .fa {
  margin-right: 5px;
}

.btn:focus,
a.btn:focus {
  color: #fff;
}

a.btn-cta-primary,
.btn-cta-primary {
  background: #54ba4e;
  border: 1px solid #54ba4e;
  color: #fff;
  text-transform: uppercase;
  font-size:12px;
}

a.btn-cta-primary:hover,
.btn-cta-primary:hover {
  background: #49ac43;
  border: 1px solid #49ac43;
  color: #fff;
}

a.btn-cta-secondary,
.btn-cta-secondary {
  background: #006480;
  border: 1px solid #006480;
  color: #fff;
  text-transform: uppercase;
  font-size:12px;
}

a.btn-cta-secondary:hover,
.btn-cta-secondary:hover {
  background: #006480;
  border: 1px solid #006480;
  color: #fff;
}

.text-highlight {
  color: #32383e;
}

.label-theme {
  background: #006480;
  font-size: 12px;
}

a.dotted-link {
  border-bottom: 1px dotted #778492;
  color: #778492;
}

a.dotted-link:hover {
  text-decoration: none;
  color: #49515a;
}

pre {
  margin:1em 0;
}

/* in-post tags rules */
.tags {
  margin-right:5px;
}

.tags a  {
  background-color: #666666;
  border-radius: 4px;
  color: white;
  padding: 2px 4px;
  text-decoration: none;
}

/*-------------------------
        Table
--------------------------*/
table {
  border: none;
  width: 100%;
  color: #333333;
  border: 1px solid #ddd;
  margin: 1em 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
th, td {
  padding: 5px 10px;
  border: none;
}
th {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 16px;
}
td {
  border: 1px solid #ddd;
  border-top: none;
  border-left: none;
}

/*
iframe {

    .header {
        padding: 0;
    }
}

.iframe-wrapper {
    overflow: auto;
    -webkit-overflow-scrolling:touch;
}
*/

/* ======= Header ======= */
.header {
  padding: 30px 0;
  background: #f5f5f5;
  border-top: 10px solid #778492;
}

.header .btn {
  margin-top: 60px;
  font-weight: bold;
}

.header .logo {
  width:150px;
  height:150px;
  overflow:hidden;
  margin-right:20px;
  border-radius: 75px;
}

.header .logo-image {
  width:150px;
  height:150px;
}

.header .branding .name {
  color: #49515a;
  font-size: 34px;
  margin-bottom: 5px;
  margin-top: 15px;
}

.header .branding .name a {
  color: #49515a;
}

.header .branding .desc {
  color: #778492;
  font-family: "Lato", arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
}

.header .branding .social a {
  background: #b0b7bf;
  width: 36px;
  height: 36px;
  display: inline-block;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
  text-align: center;
}

.header .branding .social a:hover {
  background: #778492;
}

.header .branding .social a .fa {
  font-size: 20px;
  padding-top: 8px;
}

.header .menu .nav a {
  color: #778492;
}

.header .menu .nav li.active {
  background-color:#eee;
}

/*--------------------
 Menu and search
--------------------*/
.header .navbar-collapse {
  box-shadow: none;
}

.header .main-nav .navbar-toggle {
  margin-right: 0;
  margin-top: 8px;
  padding: 0;
}

.header .main-nav button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 padding-box;
  border-radius: 0;
  color: #ffffff;
}

.header .main-nav button:focus {
  outline: 0 none;
}

.header .main-nav button:hover {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}

.header .main-nav button .icon-bar {
  background-color: #6f7581;
  height: 3px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
  background-color: #eee;
  color: #434343;
  outline: 0 none;
  text-decoration: none;
}

.dropdown-menu.searchbox {
  position: absolute;
  right: 0;
  text-align: center;
  margin: auto;
}

.navbar-form {
  padding: 5px 25px;
  border: none;
  width: 250px;
}

.navbar-form.search .form-control {
  height: 35px;
  background: #fff;
  color: #666666;
  font-size: 11px;
}

.navbar-form.search .btn-submit {
  width: 35px;
  height: 35px;
  border: none;
  background: #A8BEE3;
  border-radius:0 4px 4px 0;
}

.navbar-form.search .btn-submit:hover {
  background: #006480;
}

.navbar-form.search .btn {
  font-weight: bold;
  margin-top: 0px;
}

.search-wrapper {
  padding-right:15px;
  padding-left:15px;
}

/* ======= Sections======= */
.sections-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section {
  margin-bottom: 30px;
}

.comment-wrapper.section {
  margin-bottom: 30px;
}

.section .section-inner {
  background: #f7f7f7;
  padding: 30px;
  border-radius: 1rem;
}

/* About the Author / Featured Posts = nth-of-type(1) - text alignment*/
.aside.section .section-inner:nth-of-type(1) {
  text-align: center;
}

/* Author (and Featured, but img !in Featured) - img styling */
.aside.section .section-inner:nth-of-type(1) img {
  display: block;
  width: 160px;
  height: 160px;

  margin: 0 auto 20px;

  border-radius: 50%;
  object-fit: cover;
}

.aside.section .section-inner hr {
  border: 1px solid #006480;
}

/* "Expert care" CTA = nth-of-type(3) - styling for hr within */
.aside.section .section-inner:nth-of-type(3) hr {
  border: none;
}

.aside.section .section-inner h2 {
  color: #006480;
}

/* CTA sidebar widget - main text */
.aside.section .section-inner:nth-of-type(3) h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3.7rem);
  min-width: 0;
  word-break: keep-all;
}

/* CTA sidebar widget - bg img source and styling */
.aside.section .section-inner:nth-of-type(3) {
  background-image: url('../images/treelife_img1.webp');
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  min-height: 300px;

  position: relative;
  overflow: hidden;
}

/* CTA sidebar widget - bg img dark overlay */
.aside.section .section-inner:nth-of-type(3)::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  z-index: 0;
}

/* CTA sidebar widget - positioning of every element within (to be above img bg) */
.aside.section .section-inner:nth-of-type(3) > * {
  position: relative;
  z-index: 1;
}

/* CTA sidebar widget - positioning of elements inside */
.aside.section .section-inner:nth-of-type(3) .content {
  margin-top: auto;
  min-width: 0;
}

/* CTA sidebar widget - button styling */
.aside.section .section-inner:nth-of-type(3) button {
  border-radius: 1rem;
  border: none;

  color: #006480;
  background-color: #ffffff;

  padding: 8px 16px;

  transition: transform 0.2s ease;
}

/* CTA sidebar widget - button bg hover */
.aside.section .section-inner:nth-of-type(3) button:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #006480;
}

/* CTA sidebar widget - button link hover */
.aside.section .section-inner:nth-of-type(3) a:hover {
 text-decoration: none;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section .heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: #5f6b77;
  font-size: 20px;
}
.section .content .more-link .fa {
  margin-right: 5px;
  font-size: 14px;
}
.breadcrumb {
  background-color: #fff;
  border-radius: 0px;
  list-style: outside none none;
  margin-bottom: 20px;
  padding: 10px 30px;
  font-family: "Source Sans",sans-serif;
}

/* About Section */
/* Latest Section */
.post .item {
  margin-bottom: 10px;
}
.post .item .title .label {
  margin-left: 5px;
  font-size: 12px;
}
.post .item .title a {
  color: #006480;
}
.post .item .title a:hover {
  opacity: 0.8;
  text-decoration: none;
}
.post .item .project-image:hover {
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
.post .item .title {
  margin-bottom: 10px;
  font-size: 24px;
  margin-top: 0;
}
.post .item .meta{
  color: #666666;
  font-family: "Source Sans",sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin:0;
}
.post .item img {
  margin: 1em 0px;
}
.post .featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 0;
}
.post .item .info, .post .item .desc {
  margin-bottom: 1em;
}
.inpost .post .item .desc {
  margin:0;
}
.post .featured {
  margin-bottom: 1em;
}
.post .featured-image {
  position: relative;
}
.item .quote .fa-quote-left {
  color: #006480;
  margin-right: 15px;
}
.item .quote .fa-quote-right {
  color: #006480;
  margin-left: 15px;
}
.featured-quote blockquote {
  font-size: 26px;
  margin:0;
  border:none;
}
.featured-link {
  font-size:26px;
  font-family: "Source Sans",sans-serif;
}
.featured-link .fa {
  margin-right:5px;
}
.tab {
  margin-bottom: 20px;
}
.pager {
  margin-top:0px;
  margin-bottom: 30px;
}
.in-profile .pager {
  margin-bottom:0px;
}

/* share section */
.share{
  padding-top:0;
}
.in-post .share {
  padding-top:0;
}
.share a{
  color: #006480;
  padding:4px;
  vertical-align: middle;
  display:inline-block;
  line-height: 1.42857;
  margin-bottom: 0
}

/* recent-posts Section */
.recent-posts .item {
  margin-bottom: 20px;
}
.recent-posts .item .title {
  font-size: 16px;
  line-height: 1.3;
}
.recent-posts .item .title a {
  color: #778492;
}
.recent-posts .item .title a:hover {
  color: #5f6b77;
}
.recent-posts .item:last-child {
  margin-bottom: 0;
}

.featured-posts {
  max-width: 1200px;
}

.featured-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(102, 102, 102, 0.2);
}

.featured-item:first-child {
  padding-top: 0;
}

.featured-item:last-child {
  border-bottom: none;
}

.featured-title {
  margin: 0 0 6px 0;

  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 600;
}

.featured-title a {
  color: #006480;
  text-decoration: none;
}

.featured-title a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.featured-excerpt {
  margin: 0;

  color: #666666;
  font-size: 1.4rem;
  line-height: 1.2;
}

.about-extra-link {
  margin-top: 12px;
  color: #006480;
}

/* archive Section */
ul.archivegroup {
  margin: 0;
  padding: 0;
}
.archivegroup .expanded ul {
  display: block;
}
.archivegroup .collapsed ul {
  display: none;
}
.archivegroup li.expanded, .archivegroup li.collapsed {
  list-style: outside none none;
}
ul.month {
  list-style:none;
  padding:0;
  margin: 0.25em 0 0.25em 1.3em;
}

/* Category list section */

.category-list ul {
  padding-left:20px;
}

/* Tag section */
.tag-cloud a {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  line-height: 37px;
  padding: 5px 10px;
  margin-right:5px;
  color:#666;
}
.tag-cloud a:hover {
  opacity: 0.8;
}

/* Related section */
.related .item {
  margin-bottom: 0px;
}
.related .item .title {
  font-size: 16px;
  margin-top: 0;
}
.related .item .title .label {
  font-size: 12px;
  margin-left: 5px;
}
.related .item .title a {
  color: #778492;
}
.related .item .title a:hover {
    color: #5f6b77;
}
.related .item .project-image:hover {
  opacity: 0.8;
}
.related .divider {
  margin-bottom: 60px;
}

/* List section */
.list ul li {
  margin-bottom: 10px;
}
.list ul li .fa {
  margin-right: 5px;
}
.list ul li a {
  color: #778492;
}
.list ul li a:hover {
  color: #49515a;
}

/* footer base */
.footer {
  width: 100%;
  background: #006480;
  padding: 6rem 0 6rem 0;
}

/* footer floating card */
.footer-card {
  background: white;
  border-radius: 18px;
  padding: 40px;
  margin: 0 auto;

  width: min(1200px, 92%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.footer .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.footer-row {
  width: 100%;
}

.footer-columns > div,
.footer-brand {
  min-width: 0;
}

.footer-columns a,
.footer-columns span,
.footer-columns sub,
.footer-brand p {
  overflow-wrap: break-word;
  word-break: normal;
}

/* footer row 1: brand + 4 cols */
.footer-row--top {
  display: grid;
  grid-template-columns: 1fr 4fr; /* reset to 1fr 4fr to add SEO section back in, 1fr to remove */
  gap: 40px;

  padding-bottom: 28px;
  border-bottom: 1px solid #e6e6e6;
}

.footer-brand img {
  width: clamp(160px, 20vw, 220px);
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: clamp(0.85rem, 1vw + 1rem, 1.5rem);
  line-height: 1.5;
  color: black;
  margin: 0;
}

/* REMOVE!!! and fix grid rule above to add SEO section back in
.footer-brand {
  display: none;
} */

/* 4-column section */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-columns h3 {
  color: #006480;
}

.footer-columns sub {
  color: black;
  font-size: 14px;
  line-height: 1.5;
}

.footer-columns span {
  color: black;
  font-size: 16px;
  line-height: 1.5;
}

/* footer row 2: CTAs + socials */
.footer-row--middle {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}

.footer-actions-left {
  display: flex;
  gap: 12px;
}

.footer-btn {
  padding: 10px 16px;
  border-radius: 4px;
  border: 2px solid #666666;
  font-weight: bold;

  min-width: 110px;

  background: #666666;
  color: #fff;

  cursor: pointer;
  transition: transform 0.2s ease;
}

.footer-btn:hover {
  background-color: white;
  color: #666666;
  -webkit-transition: background-color 200ms linear;
  -ms-transition: background-color 200ms linear;
  transition: background-color 200ms linear;
}

.footer-btn.footer-btn-contact:hover {
  background-color: #006480;
  color: white;
  -webkit-transition: background-color 200ms linear;
  -ms-transition: background-color 200ms linear;
  transition: background-color 200ms linear;
}

.footer-btn.footer-btn-contact {
  border: 2px solid #006480;
  background: #ffffff;
  color: #006480;
}

/* socials circles */
.footer-social {
  display: flex;
  gap: 10px;
  color: white;
}

.social-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #edefeb;
  border: none;
  cursor: pointer;
}

.social-icon:hover {
  opacity: 0.8;
}

/*.footer-input {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #006480;

  background: transparent;
  color: #666666;
}

input:placeholder-shown {
  font-style: italic;
}
input:focus {
  outline: none;
  border-color: #006480;
}*/

/* footer row 3: meta */
.footer-row--bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  gap: 20px;

  padding-top: 18px;
  font-size: 1.25em;
  color: black;
}

.eleana-footer-note,
.eleana-footer-note a {
  font-size: calc(0.7476rem + 0.52vw);
}

.footer h3 {
  font-size: 16px;
  margin: 0 0 14px 0;
  letter-spacing: 0.03em;
}

.footer h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer a {
  color: black;
  text-decoration: none;
  font-size: 16px;
}

.footer-social a {
  color: #006480;
  font-size: 24px;
}

.eleana-footer-note a {
  text-decoration: none;
  font-size: calc(0.7476rem + 0.52vw);
}

.footer a:hover {
  text-decoration: underline;
}

.footer-social a:hover {
  text-decoration: none;
}

@media (max-width: 767px) {
  .header {
    text-align: center;
  }
  .header .logo {
    float: none !important;
    margin: 0 auto;
  }
  .header .branding {
    float: none !important;
    text-align: center;
  }
  .header .btn {
    margin-top: 30px;
    float: none !important;
  }
  .sections-wrapper {
    padding-top: 30px;
    padding-bottom: 0px;
  }
  .project-image {
    margin-bottom: 15px;
  }
  .main-nav .navbar-toggle, #navbar {
    float:none!important;
    text-align: center;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1360px;
  }
}

@media (max-width: 900px) {

  .footer-row--top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 16px;
  }

  .footer > .container:last-of-type {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .footer-card {
    padding: 28px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-row--middle {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .footer-actions-left {
    flex-direction: column;
  }

  .footer-btn {
    width: 100%;
  }

  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 56px;
    height: 56px;
  }

  .sections-wrapper .row {
    display: flex;
    flex-direction: column;
  }

  body.in-front .sections-wrapper .primary {
    order: 2;
  }

  body.in-front .sections-wrapper .secondary {
    order: 1;
  }

  /* Categories sidebar widget */
  .aside.section .section-inner:nth-of-type(2) {
    font-size: 1.7rem;
  }

  /* CTA sidebar widget - main text */
  .aside.section .section-inner:nth-of-type(3) h2 {
    font-size: 4rem;
  }

  /* CTA sidebar widget - button text */
  .aside.section .section-inner:nth-of-type(3) {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {

  .footer-card {
    padding: 20px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 16px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .footer a,
  .footer-columns span {
    font-size: 16px;
  }

  .footer-columns sub,
  .eleana-footer-note,
  .eleana-footer-note a {
    font-size: 14px;
  }
  
}

.pagination {
  margin-top:0;
  margin-bottom:15px;
}

.pagination > li > a, .pagination > li > span {
  color: #006480;
}

.pagination > .active > span {
  background-color: #006480;
  border-color: #006480;
}

.feed-link {
  display:inline;
  margin:0 0 0 10px;
  float:right;	
}

#more {
  display:block;
  height:1rem;
  margin-top:-1rem;
  box-shadow: none;
  border: none;
}

.social-logo a:before {
  padding-top:6px;
}

/* ==========================================================================\n   TreeLife / Mobirise visual alignment\n   First-pass alignment to the exported treelifeca.com Mobirise site.\n   ========================================================================== */

:root {
  --tl-teal: #006480;
  --tl-teal-hover: #008cb3;
  --tl-green: #427c2f;
  --tl-gray: #666666;
  --tl-light: #f7f7f7;
  --tl-white: #ffffff;
}

html { font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  color: var(--tl-gray);
  background: var(--tl-white);
  font-size: 1.125rem;
  line-height: 1.5;
}

h1, h2, h2.title, h2.heading,
.post .item .title,
.section .heading,
.featured-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--tl-teal);
  font-weight: 600;
}

h3, h4, h5, h6 {
  font-family: 'Barlow', sans-serif;
  color: var(--tl-teal);
}

h1 { font-size: 4rem; line-height: 1; }
h2, h2.title { font-size: 3rem; line-height: 1.05; }
h3 { font-size: 1.6rem; line-height: 1.3; }

p, li, .desc, .content { font-family: 'Barlow', sans-serif; }

a { color: var(--tl-teal); }
a:hover { color: var(--tl-teal-hover); }

/* Header/nav: follow the Mobirise menu5 proportions and geometry. */
.tl-nav-wrap {
  top: 0;
  padding-top: 24px;
}

.tl-navbar {
  max-width: 1320px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: .5rem .75rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: none;
}

.tl-container {
  margin: 0;
  padding: 0 0 0 .25rem;
  max-width: none;
}

.tl-menu {
  gap: 20px;
  padding: .3rem .1rem .3rem 1.5rem;
}

.tl-menu > ul { gap: 6px; }

.tl-menu > ul > li > a {
  padding: .65rem .8rem;
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500 !important;
  letter-spacing: 0;
  color: var(--tl-teal);
}

.tl-menu > ul > li > a::after {
  left: .8rem;
  right: .8rem;
  bottom: .35rem;
  height: 1px;
}

.tl-dropdown-toggle { color: var(--tl-teal); }

.tl-dropdown-menu {
  border-radius: 4px;
  padding: .35rem 0;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
}

.tl-dropdown-menu li a {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
}

.tl-cta-btn {
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 500;
  background: var(--tl-teal);
  border-color: var(--tl-teal);
}

.tl-cta-btn:hover {
  transform: none;
  background: var(--tl-teal-hover);
  border-color: var(--tl-teal-hover);
}

/* Hero sizing/typesetting derived from Mobirise display-1/display-7. */
.post-hero {
  height: auto;
  min-height: 610px;
  padding: 155px 0 5rem;
  align-items: center;
}

.post-hero.home-hero { background-position: 50% 35%; }

.post-hero-content {
  max-width: 1320px;
  padding: 0 36px;
}

.post-hero-content h1,
.post-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
  max-width: 1000px;
  margin: 0 0 1.5rem;
}

.post-summary {
  max-width: 1100px;
  margin: 0 0 1.75rem;
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 400;
}

.social-tagline,
.post-meta {
  font-family: 'Barlow', sans-serif;
  font-size: 1.15rem;
  line-height: 1.4;
}

.post-series {
  padding: .5rem 1rem;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  letter-spacing: .03em;
}

.social-btn-container {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.social-btn i { font-size: 2rem; }

/* Main content spacing and cards: Mobirise is much less rounded. */
.sections-wrapper {
  max-width: 1320px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section { margin-bottom: 2rem; }

.section .section-inner {
  background: var(--tl-light);
  padding: 2.25rem;
  border-radius: 0;
}

.primary .post .section-inner {
  background: #fff;
  border: 1px solid #ededed;
}

.post .item .title {
  margin: 0 0 .75rem;
  font-size: 3rem;
  line-height: 1.05;
}

.post .item .meta {
  font-family: 'Barlow', sans-serif;
  color: var(--tl-gray);
  font-size: 1rem;
  line-height: 1.5;
}

.post .item .desc {
  font-size: 1.2rem;
  line-height: 1.55;
}

.post .featured-image img {
  margin: 0 0 1.5rem;
  border-radius: 0;
}

.section .heading {
  color: var(--tl-teal);
  font-size: 2rem;
  line-height: 1.1;
}

.aside.section .section-inner:nth-of-type(1) img {
  border-radius: 50%;
}

.aside.section .section-inner:nth-of-type(3) {
  border-radius: 0;
}

.aside.section .section-inner:nth-of-type(3) h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  line-height: 1;
}

.aside.section .section-inner:nth-of-type(3) button {
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  padding: .75rem 1.5rem;
}

.category-list { font-family: 'Barlow', sans-serif !important; }
.category-list li { margin-bottom: .5rem; }

/* Buttons mirror Mobirise button rules. */
.btn, a.btn,
a.btn-cta-secondary, .btn-cta-secondary,
a.btn-cta-primary, .btn-cta-primary {
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 500;
  text-transform: none;
}

a.btn-cta-secondary, .btn-cta-secondary {
  background: var(--tl-teal);
  border-color: var(--tl-teal);
}

a.btn-cta-secondary:hover, .btn-cta-secondary:hover {
  background: var(--tl-teal-hover);
  border-color: var(--tl-teal-hover);
}

/* Footer: use the same teal field + white 2rem-radius panel as Mobirise. */
.footer {
  background: var(--tl-teal);
  padding: 6rem 0;
}

.footer-card {
  width: min(1320px, calc(100% - 48px));
  border-radius: 2rem;
  padding: 4rem 3rem;
  box-shadow: none;
}

.footer-brand p,
.footer-columns a,
.footer-columns span,
.footer-columns sub,
.footer a,
.footer ul li {
  font-family: 'Barlow', sans-serif;
}

.footer-columns h3,
.footer h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 600;
}

.footer-btn {
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  padding: .75rem 1.5rem;
}

/* Responsive values follow Mobirise's fluid type more closely. */
@media (max-width: 991px) {
  .tl-navbar { width: calc(100% - 32px); }
  .tl-container { padding: 0 .5rem; }
  .tl-menu { width: 100%; padding: .75rem 0 1rem; }
  .tl-menu > ul > li > a { font-size: 1.1rem; }
  .post-hero { min-height: 560px; padding-top: 145px; }
  .post-hero-content h1, .post-hero h1 { font-size: 3.2rem; }
  h2, h2.title, .post .item .title { font-size: 2.4rem; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .tl-nav-wrap { padding-top: 12px; }
  .tl-navbar { width: calc(100% - 24px); padding: .35rem .5rem; }
  .tl-container { justify-content: space-between; }
  .tl-logo img { height: 3.4rem; margin: .25rem 0; }
  .tl-menu { margin-top: .25rem; }
  .tl-menu > ul { gap: 0; }
  .tl-menu > ul > li > a { padding: .6rem .5rem; }
  .tl-has-dropdown.open { margin-bottom: 82px; }
  .post-hero { min-height: 520px; padding: 120px 0 3rem; }
  .post-hero-content { padding: 0 20px; }
  .post-hero-content h1, .post-hero h1 {
    font-size: calc(2.05rem + (4 - 2.05) * ((100vw - 20rem) / (48 - 20)));
    line-height: 1.1;
  }
  .post-summary {
    font-size: calc(1.14rem + (1.4 - 1.14) * ((100vw - 20rem) / (48 - 20)));
    line-height: 1.4;
  }
  h2, h2.title, .post .item .title {
    font-size: calc(1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20)));
    line-height: 1.3;
  }
  .sections-wrapper { padding: 3rem 15px; }
  .section .section-inner { padding: 1.5rem; }
  .footer-card { width: calc(100% - 24px); padding: 2rem .75rem; }
}


/* Final heading enforcement: match the Mobirise TreeLife typography. */
h1, h2,
.h1, .h2,
h1 a, h2 a,
.title, .title a,
.heading, .heading a,
.post .item .title, .post .item .title a,
.post-hero h1, .post-hero-content h1,
.featured-title, .featured-title a,
.footer h3, .footer-columns h3 {
  font-family: "Cormorant Garamond", serif !important;
}
/* ==========================================================
   TreeLife HTMLy footer — Mobirise match
   Append this AFTER the existing theme styles.
   Based on the exported TreeLife Mobirise footer01-24 rules.
   ========================================================== */

.footer {
    width: 100%;
    background: #006480;
    padding: 6rem 0;
}

.footer .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: .75rem;
    padding-right: .75rem;
}

.footer-card {
    width: 100%;
    margin: 0;
    padding: 4rem 3rem;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: none;
}

/* Mobirise uses five essentially equal columns at desktop */
.footer-row--top {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.footer-brand,
.footer-columns > div {
    min-width: 0;
}

.footer-columns {
    display: contents;
}

/* Logo is the same 769x223 asset used by the Mobirise site */
.footer-brand img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding-bottom: 8px;
}

/* SEO copy on the Mobirise footer is a custom 1.2rem */
.footer-brand p {
    margin: 0;
    color: #000000;
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 400;
}

/* Footer headings = Mobirise display-5 */
.footer h3,
.footer-columns h3 {
    margin: 0 0 .5rem;
    color: #000000 !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0;
}

/* Footer lists = Mobirise display-7 */
.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer ul li,
.footer ul li a,
.footer-columns a,
.footer-columns span {
    color: #232323;
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
}

.footer-columns sub {
    color: #232323;
    font-family: 'Barlow', sans-serif;
    font-size: 1.05rem;
    line-height: 1.3;
}

.footer ul li {
    margin: 0 0 .3rem;
}

/* Mobirise row 2 begins after mt-5 and has a top divider */
.footer-row--middle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 3rem;
    padding: 2rem 0 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 0;
}

.footer-actions-left {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* Mobirise buttons use display-7 sizing */
.footer-btn,
.footer a.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: .75rem 1.5rem;
    border: 2px solid #666666;
    border-radius: 4px;
    background: #666666;
    color: #ffffff !important;
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none !important;
}

.footer-btn:hover,
.footer a.footer-btn:hover {
    background: #ffffff;
    color: #666666 !important;
    text-decoration: none;
}

.footer-btn.footer-btn-contact,
.footer a.footer-btn.footer-btn-contact {
    border-color: #006480;
    background: #ffffff;
    color: #006480 !important;
}

.footer-btn.footer-btn-contact:hover,
.footer a.footer-btn.footer-btn-contact:hover {
    background: #006480;
    color: #ffffff !important;
}

/* Socials match Mobirise's 72px circles */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: .5rem;
}

.footer-social .social-icon {
    width: 72px;
    height: 72px;
    margin: 0 8px;
    border-radius: 50%;
    background: #edefeb;
    color: #006480 !important;
    font-size: 20px;
    text-decoration: none !important;
}

.footer-social .social-icon:hover {
    background: #f7f7f7;
    opacity: 1;
}

/* Copyright area */
.footer-row--bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e6e6e6;
    color: #000000;
    font-family: 'Barlow', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
}

.eleana-footer-note,
.eleana-footer-note a {
    color: #000000 !important;
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    text-decoration: none;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-card {
        padding: 2.25rem 1.25rem;
    }

    .footer-row--top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand p {
        font-size: 1.1rem;
    }

    .footer-row--middle {
        align-items: center;
    }
}

/* Mobile follows Mobirise centered footer behavior */
@media (max-width: 767px) {
    .footer {
        padding: 6rem 0;
    }

    .footer .container {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .footer-card {
        padding: 2rem .5rem;
        border-radius: 2rem;
    }

    .footer-row--top {
        display: block;
        text-align: center;
    }

    .footer-brand img {
        width: min(100%, 300px);
        margin: 0 auto;
    }

    .footer-brand p {
        padding: 8px 16px 16px;
        font-size: 1rem;
        text-align: center;
    }

    .footer h3,
    .footer-columns h3 {
        font-size: 1.28rem;
    }

    .footer ul {
        margin-bottom: 2rem;
    }

    .footer ul li,
    .footer ul li a,
    .footer-columns a,
    .footer-columns span {
        font-size: 1.1rem;
    }

    .footer-row--middle {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .footer-actions-left,
    .footer-social {
        justify-content: center;
    }

    /* Match main-site footer button sizing more closely */
.footer-btn,
.footer a.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.55rem 1.1rem;

    border: 2px solid #666666;
    border-radius: 4px;

    background: #666666;
    color: #ffffff !important;

    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400;

    text-decoration: none !important;
}

.footer-btn.footer-btn-contact,
.footer a.footer-btn.footer-btn-contact {
    border-color: #006480;
    background: #ffffff;
    color: #006480 !important;
}

    .footer-row--bottom {
        font-size: 1.1rem;
    }

    .eleana-footer-note,
    .eleana-footer-note a {
        font-size: 1rem;
    }
}
/* Match Mobirise navbar hover behavior */
.tl-menu > ul > li > a {
    color: #006480 !important;
    text-decoration: none !important;
}

.tl-menu > ul > li > a:hover,
.tl-menu > ul > li > a:focus {
    color: #000000 !important;
    text-decoration: none !important;
}

/* Remove any pseudo-element underline animation */
.tl-menu > ul > li > a::before,
.tl-menu > ul > li > a::after {
    display: none !important;
    content: none !important;
}
/* ==========================================================
   DROPDOWN MENU — Match top-level navigation
   ========================================================== */

/* Keep entire dropdown white */
.tl-dropdown-panel,
.tl-dropdown-menu {
    background: #ffffff !important;
}

/* Normal dropdown link = teal on white */
.tl-dropdown-menu li,
.tl-dropdown-menu li a {
    background: #ffffff !important;
}

.tl-dropdown-menu li a {
    color: #006480 !important;
    text-decoration: none !important;
}

/* Hover = black on white */
.tl-dropdown-menu li:hover,
.tl-dropdown-menu li:focus {
    background: #ffffff !important;
}

.tl-dropdown-menu li a:hover,
.tl-dropdown-menu li a:focus {
    color: #000000 !important;
    background: #ffffff !important;
    text-decoration: none !important;
}

/* Remove any old underline/hover effects */
.tl-dropdown-menu li a::before,
.tl-dropdown-menu li a::after {
    display: none !important;
    content: none !important;
}
/* Force footer CTA links to remain clickable */
.footer-actions-left {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
}

.footer-actions-left .footer-btn,
.footer-actions-left a.footer-btn {
    position: relative !important;
    z-index: 21 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Prevent decorative elements from intercepting clicks */
.footer-actions-left::before,
.footer-actions-left::after,
.footer-btn::before,
.footer-btn::after {
    pointer-events: none !important;
}
/* ==========================================
   Categories Sidebar - Left Alignment
   ========================================== */

/* Categories heading */
.category-list .heading {
    text-align: left !important;
}

/* Category list */
.category-list {
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.category-list li {
    width: 100%;
    text-align: left !important;
}

.category-list li a {
    display: block;
    text-align: left !important;
}

/* Divider */
.category-list + hr,
.category-list hr {
    margin-left: 0 !important;
    margin-right: auto !important;
}