/* Leaf Salon site styles */

:root {
  --leaf-ink: #101f46;
  --leaf-forest: #123524;
  --leaf-coral: #f56960;
  --leaf-muted: #626a72;
  --leaf-border: #e3e9e5;
  --leaf-surface: #f6f8f6;
  --leaf-radius: 8px;
}

/* Keep short pages anchored to the footer. */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#page.full-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page.full-page > main,
#page.full-page > .site-main {
  flex: 1 0 auto;
}

#page.full-page > footer,
#page.full-page > #colophon {
  margin-top: auto;
}

/* Site logo sizing in header */
.site-title img {
  max-height: 48px;
  width: auto;
}

/* Desktop navigation */
@media screen and (min-width: 992px) {
  .bottom-header .header-container {
    flex-wrap: nowrap;
    max-width: 1170px;
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }
  .site-identity {
    flex-shrink: 0;
  }
  .header-btn {
    flex-shrink: 0;
    margin-left: 15px;
  }
  .main-navigation {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    white-space: nowrap;
  }
  .main-navigation .navigation {
    width: auto;
  }
  .main-navigation .navigation > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: auto;
    white-space: nowrap;
    margin: 0;
    padding: 0;
  }
  .main-navigation .navigation > ul > li {
    padding: 0 15px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .main-navigation .navigation > ul > li:last-child {
    padding-right: 0;
  }
  .main-navigation ul > li > a {
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 26px 0;
    white-space: nowrap;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .main-navigation .navigation > ul > li {
    padding: 0 10px;
  }
  .main-navigation ul > li > a {
    font-size: 14px;
  }
}

/* Article copy */
.single-content-wrap .standfirst {
  font: inherit;
  line-height: 1.6;
  color: inherit;
  padding: 0;
  background: transparent;
  border: 0;
  margin: 0 0 15px;
}

.article-inline-image {
  clear: both;
  max-width: min(100%, 780px);
  margin: 32px auto;
  text-align: center;
}

.article-inline-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.single-content-wrap > section {
  display: flow-root;
}

.photo-credit-list li {
  margin-bottom: 14px;
  line-height: 1.6;
}

.choice-slider .choice-slider-item {
  background-size: cover;
}

.choice-slider .choice-slider-content {
  min-height: 456px;
}

.choice-slider .slick-arrow {
  opacity: 1;
}

@media (max-width: 991px) {
  .choice-slider .slick-arrow {
    top: auto;
    bottom: 16px;
    transform: none;
  }
}

@media (max-width: 575px) {
  .choice-slider .choice-slider-content {
    min-height: 376px;
  }
}

@media (min-width: 768px) {
  .article-inline-image--left,
  .article-inline-image--right {
    clear: none;
    width: 38%;
    max-width: 310px;
    margin-top: 7px;
    margin-bottom: 18px;
    text-align: left;
  }

  .article-inline-image--left {
    float: left;
    margin-left: 0;
    margin-right: 22px;
  }

  .article-inline-image--right {
    float: right;
    margin-right: 0;
    margin-left: 22px;
  }
}

.single-content-wrap ul,
.single-content-wrap ol {
  margin: 0 0 1.4em;
  padding-left: 1.5em;
}

.single-content-wrap li + li {
  margin-top: 0.4em;
}

.single-content-wrap table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5em 0;
  -webkit-overflow-scrolling: touch;
}

.single-content-wrap table caption {
  caption-side: top;
  color: var(--leaf-muted);
  text-align: left;
  padding: 0 0 10px;
}

.single-content-wrap th,
.single-content-wrap td {
  min-width: 9rem;
  vertical-align: top;
  border: 1px solid var(--leaf-border);
  padding: 10px 12px;
}

.single-content-wrap th {
  background: var(--leaf-surface);
  color: var(--leaf-ink);
  text-align: left;
}

aside.note,
aside.field-note {
  background-color: #f9fbfd;
  border-left: 4px solid #2C75BA;
  padding: 18px 24px;
  margin: 30px 0;
}

aside.note h3,
aside.field-note h3 {
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 8px;
  color: #101F46;
}

aside.note p,
aside.field-note p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

.editorial-definitions {
  margin: 25px 0;
}

.editorial-definitions div {
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-left: 3px solid #F56960;
  margin-bottom: 12px;
}

.editorial-definitions dt {
  font-size: 16px;
  font-weight: 700;
  color: #101F46;
  margin-bottom: 4px;
}

.editorial-definitions dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}

/* Subtle gallery enhancement for Home */
.home .gallery-section {
  margin-bottom: 180px;
}

@media screen and (max-width: 575px) {
  .home .gallery-section {
    margin-bottom: 120px;
  }
}

.gallery-section .gallery-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ==============================================================
   Top Menu: White Background Across All Pages (Matching Scrolled State)
   ============================================================== */
.site-header .bottom-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  border-bottom: none;
}

.site-header .bottom-header .white-logo {
  display: none !important;
}

.site-header .bottom-header .black-logo {
  display: inline-block !important;
}

.site-header .main-navigation .navigation > ul > li > a {
  color: #101F46;
}

.site-header .main-navigation .navigation > ul > li:hover > a,
.site-header .main-navigation .navigation > ul > li.current-menu-item > a {
  color: #123524;
}

.site-header .main-navigation .navigation > ul > li > a:before {
  background-color: #123524;
}

.site-header .header-btn .button-primary {
  background-color: #123524;
  color: #ffffff;
}

.site-header .header-btn .button-primary:hover {
  background-color: #1a4a33;
}

/* Mobile header styling across all pages */
@media screen and (max-width: 991px) {
  .site-header .mobile-menu-container {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }
  .site-header .mobile-menu-container .slicknav_menu .slicknav_menutxt {
    color: #212121;
  }
  .site-header .mobile-menu-container .slicknav_btn .slicknav_icon span {
    background-color: #212121;
  }
  .site-header .mobile-menu-container .slicknav_btn .slicknav_icon span:first-child:before,
  .site-header .mobile-menu-container .slicknav_btn .slicknav_icon span:first-child:after {
    background-color: #212121;
  }
}

/* ==============================================================
   Sidebar Layout & Widget Refinement (Fix Skew / Alignment)
   ============================================================== */
.single-post-section .sidebar,
.archive-section .sidebar {
  margin-top: 0 !important;
}

@media screen and (min-width: 992px) {
  .single-post-section .secondary,
  .archive-section .secondary {
    padding-left: 20px;
  }
}

.sidebar .widget {
  background-color: #ffffff !important;
  border: 1px solid #eef2f5 !important;
  border-radius: 8px !important;
  padding: 26px 24px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.sidebar .widget:last-child {
  margin-bottom: 0 !important;
}

.sidebar .widget .widget-title {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  margin: 0 0 20px 0 !important;
  padding: 0 0 12px 0 !important;
  border: none !important;
  border-bottom: 2px solid #123524 !important;
  color: #101F46 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase !important;
  width: 100% !important;
}

/* Category widget in sidebar */
.sidebar .widget_category ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar .widget_category ul li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #f2f5f8 !important;
  padding: 11px 0 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
  float: none !important;
}

.sidebar .widget_category ul li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.sidebar .widget_category ul li a {
  float: none !important;
  color: #2c3e50 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}

.sidebar .widget_category ul li a:hover {
  color: #123524 !important;
  padding-left: 5px;
}

.sidebar .widget_category ul li a i {
  color: #2ecc71;
  font-size: 12px;
  margin-right: 8px;
}

/* Recent posts widget in sidebar */
.sidebar .widget-post-thumb ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar .widget-post-thumb li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 14px 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid #f2f5f8 !important;
  float: none !important;
  clear: both !important;
}

.sidebar .widget-post-thumb li:first-child {
  padding-top: 0 !important;
}

.sidebar .widget-post-thumb li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.sidebar .widget-post-thumb li:before,
.sidebar .widget-post-thumb li:after {
  display: none !important;
}

.sidebar .widget-post-thumb .post-thumb {
  width: 85px !important;
  min-width: 85px !important;
  height: 65px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sidebar .widget-post-thumb .post-thumb a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.sidebar .widget-post-thumb .post-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.sidebar .widget-post-thumb li:hover .post-thumb img {
  transform: scale(1.08);
}

.sidebar .widget-post-thumb .post-content {
  flex: 1 !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.sidebar .widget-post-thumb .post-content h5 {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 0 6px 0 !important;
}

.sidebar .widget-post-thumb .post-content h5 a {
  color: #101F46 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar .widget-post-thumb .post-content h5 a:hover {
  color: #123524 !important;
}

.sidebar .widget-post-thumb .post-content .entry-meta {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.sidebar .widget-post-thumb .post-content .entry-meta span.posted-on a {
  font-size: 12px !important;
  color: #888888 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

/* Perspective / text widget in sidebar */
.sidebar .widget_text .widget-text {
  font-size: 14px;
  line-height: 1.65;
  color: #555555;
  background: #fbfbfb;
  padding: 14px 16px;
  border-radius: 4px;
}

/* ==============================================================
   Author Box & Author Archive Page Styling
============================================================== */
.single-post-section .author-wrap {
  background: #fbfdfc;
  border: 1px solid #e2ece6;
  border-radius: 8px;
  padding: 24px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.single-post-section .author-wrap .author-thumb img {
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
  width: 100px;
  height: 100px;
}

.single-post-section .author-wrap .author-name a {
  color: #101F46;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-post-section .author-wrap .author-name a:hover {
  color: #2ecc71;
}

.author-role-badge {
  display: inline-block;
  background-color: #e8f7ee;
  color: #1b5e20;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* Author Profile Card on /author/aroha-campbell/ page */
.author-profile-card {
  background: #ffffff;
  border: 1px solid #e6eeea;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.author-profile-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .author-profile-header {
    flex-direction: column;
    text-align: center;
  }
}

.author-profile-avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e8f7ee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.author-profile-meta h2 {
  font-size: 26px;
  font-weight: 700;
  color: #101F46;
  margin: 0 0 6px 0;
}

.author-profile-meta .author-title-badge {
  display: inline-block;
  background: #2ecc71;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.author-profile-location {
  font-size: 14px;
  color: #666666;
}

.author-profile-bio p {
  font-size: 16px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 16px;
}

.author-expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eef2f5;
}

.author-expertise-tag {
  background: #f0f4f2;
  color: #1e3a2f;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
}

/* Compact page headings replace the large photographic banners. */
.leaf-page-heading {
  margin: 0 0 40px;
  padding: 104px 0 34px;
  background: var(--leaf-surface);
  border-bottom: 1px solid var(--leaf-border);
}

.leaf-page-heading__inner {
  max-width: 900px;
  margin: 0 auto;
}

.leaf-page-heading .inner-title {
  margin: 0;
  color: var(--leaf-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.leaf-page-heading .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}

.leaf-page-heading .entry-meta a {
  color: var(--leaf-muted);
}

/* Keep the six home cards aligned while preserving their natural crops. */
.home .blog-section .grid > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}

.home .blog-section .post {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
}

.home .blog-section .feature-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
}

.home .blog-section .feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .blog-section .entry-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.home .blog-section .entry-content h3 {
  min-height: 2.5em;
}

.home .blog-section .entry-content .entry-meta {
  min-height: 2.6em;
}

.home .blog-section .entry-content > p {
  min-height: 4.8em;
}

.home .blog-section .entry-content .button-text {
  margin-top: auto;
}

.archive-section.blog-archive .grid > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}

.archive-section.blog-archive .post {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
}

.archive-section.blog-archive .feature-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
}

.archive-section.blog-archive .feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-section.blog-archive .entry-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.archive-section.blog-archive .entry-content h3 {
  min-height: 2.5em;
}

.archive-section.blog-archive .entry-content .entry-meta {
  min-height: 2.6em;
}

.archive-section.blog-archive .entry-content > p {
  min-height: 4.8em;
}

.archive-section.blog-archive .entry-content .button-text {
  margin-top: auto;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 45px;
}

.privacy-content h2 {
  margin: 30px 0 12px;
  color: var(--leaf-ink);
  font-size: 1.35rem;
}

.privacy-content ul {
  margin: 0 0 20px;
  padding-left: 1.35em;
}

.form-note,
.form-status {
  margin-top: 14px;
  color: var(--leaf-muted);
  font-size: 14px;
}

.form-status:not([hidden]) {
  padding: 12px 15px;
  background: var(--leaf-surface);
  color: var(--leaf-ink);
}

@media screen and (max-width: 575px) {
  .leaf-page-heading {
    margin-bottom: 28px;
    padding: 112px 0 26px;
  }

  .home .blog-section .entry-content > p {
    min-height: 0;
  }

  .archive-section.blog-archive .entry-content > p {
    min-height: 0;
  }
}
