/* ==========================================================================
   1. Font Importations & Declarations
   ========================================================================== */

/* Local Clash Display Font */
@font-face {
  font-family: "Clash Display";
  src: url("../fonts/ClashDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/ClashDisplay-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts: Crimson Text & Archivo (Enqueued via functions.php) */

/* ==========================================================================
   2. Design Tokens (CSS Variables)
   ========================================================================== */
:root {
  /* Fonts */
  --font-clash-display: "Clash Display", sans-serif;
  --font-crimson-text: "Crimson Text", serif;
  --font-archivo: "Archivo", sans-serif;

  /* Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-1: #2c2d2d;
  --color-2: #f0eadc;
  --color-3: #6f211c;
  --color-4: #dc6128;
  --color-5: #2d2d2d;
  --color-6: #828739;
  --color-7: #faf0dc;
  --color-8: #aaaaaa;
}

html {
  scroll-behavior: smooth;
}

/* Base resets & typography */
body {
  margin: 0;
  font-family: var(--font-archivo) !important;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
}

ul li::marker {
  color: #dc6128;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-clash-display);
  padding: 0 !important;
  margin: 0 !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  color: inherit !important;
}

img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   3. Font Family Classes
   ========================================================================== */
.font-clash-display {
  font-family: var(--font-clash-display);
}
.font-crimson-text {
  font-family: var(--font-crimson-text);
}
.font-archivo {
  font-family: var(--font-archivo);
}

/* ==========================================================================
   4. Heading styles (.heading-1 to 6)
   ========================================================================== */
.banner-heading,
.main-heading,
.heading-1,
.heading-2,
.heading-3,
.heading-4,
.heading-5,
.heading-6,
.heading-7 {
  font-family: var(--font-clash-display);
  line-height: 120%;
  letter-spacing: 0%;
  text-transform: capitalize;
}

.banner-heading {
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2679rem + 0.9524vw, 2.125rem);
  text-align: center;
  line-height: 130%;
}

.main-heading {
  font-weight: 800;
  font-size: 48px;
  line-height: 100%;
}

.heading-1 {
  font-weight: 600;
  /* font-size: 96px;  */
  font-size: clamp(2.25rem, 0.7159rem + 6.8182vw, 6rem);
  font-weight: 500;
  line-height: 81px;
  letter-spacing: 0%;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .heading-1 {
    line-height: normal;
  }
}

.heading-2 {
  /* font-size: 64px; */
  font-size: clamp(3rem, 2.5909rem + 1.8182vw, 4rem);
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
}

@media (max-width: 991px) {
  .heading-2 {
    line-height: normal;
  }
}

.heading-3 {
  font-weight: 500;
  /* font-size: 48px; */
  font-size: clamp(2.5rem, 2.2955rem + 0.9091vw, 3rem);
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.heading-4 {
  font-weight: 400;
  /* font-size: 32px; */
  font-size: clamp(1.25rem, 0.9432rem + 1.3636vw, 2rem);
  line-height: normal;
  letter-spacing: 0%;
}
/* @media (max-width: 991px) {

} */

.heading-5 {
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
  letter-spacing: 0%;
}

.heading-6 {
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.heading-7 {
  font-weight: 500;
  /* font-size: 28px; */
  /* 28-24  */
  font-size: clamp(1.5rem, 1.3977rem + 0.4545vw, 1.75rem);
  line-height: 100%;
  letter-spacing: 0%;
}

.faq-heading {
  font-family: var(--font-crimson-text);
}

/* ==========================================================================
   5. Text styles (.text-1 to 8)
   ========================================================================== */
.text-1,
.text-2,
.text-3,
.text-4,
.text-5,
.text-6,
.text-7,
.text-8 {
  font-family: var(--font-archivo);
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0%;
}

.text-1 {
  font-weight: 400;
  /* font-size: 24px; */
  font-size: clamp(0.875rem, 0.6193rem + 1.1364vw, 1.5rem);
  line-height: 30px;
  letter-spacing: 0%;
}

/* RWD  */
@media (max-width: 991px) {
  .text-1 {
    line-height: normal;
    letter-spacing: 0%;
  }
}

.text-2 {
  font-weight: 300;
  /* font-size: 16px; */
  font-size: clamp(0.875rem, 0.8239rem + 0.2273vw, 1rem) !important;
  line-height: 22px;
  letter-spacing: 0%;
}

.text-3 {
  font-size: clamp(0.875rem, 0.7821rem + 0.381vw, 1.125rem);
}

.text-4 {
  font-size: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
}

.text-5 {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0%;
}

.text-6 {
  font-size: 12px;
}

.text-7 {
  font-size: 10px;
}

.text-8 {
  font-size: 8px;
}

/* ==========================================================================
   6. Font Weight Utilities
   ========================================================================== */
.fw-100 {
  font-weight: 100;
}
.fw-200 {
  font-weight: 200;
}
.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 900;
}

@media (max-width: 767.98px) {
  .fw-300-mobile {
    font-weight: 300;
  }
}

/* ==========================================================================
   7. Opacity Utilities (opcty-9 to opcty-2)
   ========================================================================== */
.opcty-2 {
  opacity: 0.2;
}
.opcty-3 {
  opacity: 0.3;
}
.opcty-4 {
  opacity: 0.4;
}
.opcty-5 {
  opacity: 0.5;
}
.opcty-6 {
  opacity: 0.6;
}
.opcty-7 {
  opacity: 0.7;
}
.opcty-8 {
  opacity: 0.8;
}
.opcty-9 {
  opacity: 0.9;
}

/* ==========================================================================
   8. Color Utilities
   ========================================================================== */
.color-white {
  color: var(--color-white);
}
.color-black {
  color: var(--color-black);
}
.color-1 {
  color: var(--color-1);
}
.color-2 {
  color: var(--color-2);
}
.color-3 {
  color: var(--color-3);
}
.color-4 {
  color: var(--color-4);
}
.color-5 {
  color: var(--color-5);
}
.color-6 {
  color: var(--color-6);
}
.color-7 {
  color: var(--color-7);
}
.color-8 {
  color: var(--color-8);
}

.bg-color-white {
  background-color: var(--color-white);
}
.bg-color-black {
  background-color: var(--color-black);
}
.bg-color-1 {
  background-color: var(--color-1);
}
.bg-color-2 {
  background-color: var(--color-2);
}
.bg-color-3 {
  background-color: var(--color-3);
}
.bg-color-4 {
  background-color: var(--color-4);
}
.bg-color-5 {
  background-color: var(--color-5);
}
.bg-color-6 {
  background-color: var(--color-6);
}
.bg-color-7 {
  background-color: var(--color-7);
}
.bg-color-8 {
  background-color: var(--color-8);
}

/* ==========================================================================
   9. Layout Utilities
   ========================================================================== */
@media (min-width: 1200px) {
  .container.container-95 {
    max-width: 95%;
  }
}

/* buttons  */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #2c2d2d;
  color: #faf0dc !important; /* light cream text */
  font-family: var(--font-clash-display), sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  border: none;
  outline: none;
  border-radius: 23px;
  padding: 3px 3px 3px 20px;
  height: 40px;
  min-width: 160px;
  width: fit-content;
  box-sizing: border-box;
  gap: 10px;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.9;
  background-color: #1e1f1f;
}

.submit-btn .btn-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #faf0dc; /* Arrow container bg */
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.submit-btn .btn-arrow-icon svg {
  width: 11px;
  height: 11px;
  display: block;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow-icon svg {
  transform: rotate(45deg);
}

.primary-btn {
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 6px 12px;
  font-family: "Clash Display", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  min-width: 138px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* gap: 8px; */
  justify-content: space-between;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-svg-container {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.primary-btn svg {
  width: 11px;
  height: 11px;
  display: block;
  transition: transform 0.2s ease;
}

.primary-btn:hover svg {
  transform: rotate(45deg);
}

/* ==========================================================================
   10. Blog Single, TOC, Entry Content & Sidebar Styles
   ========================================================================== */
.blog-single-page {
  background-color: var(--color-2, #f0eadc);
  color: var(--color-1, #2c2d2d);
  min-height: 100vh;
}

.blog-single-inner-section {
  padding: 60px 0 100px;
}

/* Table of Contents */
.blog-toc-wrapper {
  margin-bottom: 28px;
  padding-left: 24px;
  padding-top: 50px;
}

.blog-single-article,
.blog-content-article {
  padding-left: 50px;
}

@media (max-width: 991px) {
  .blog-single-article,
  .blog-content-article {
    padding-left: 0;
  }
}

.blog-toc-title {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  font-size: 24px !important;
  color: var(--color-1, #2c2d2d) !important;
  margin: 0 0 12px 0 !important;
  text-transform: none !important;
}

.blog-toc-list {
  list-style-type: disc;
  padding-left: 22px;
  margin: 0;
}

.blog-toc-list li {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  font-size: clamp(0.875rem, 0.8239rem + 0.2273vw, 1rem) !important;
  /*font-size: 16px !important;*/
  line-height: 36px !important;
  letter-spacing: 0% !important;
  color: var(--color-1, #2c2d2d) !important;
  margin-bottom: 8px;
}

.blog-toc-list li::marker {
  color: var(--color-1, #2c2d2d) !important;
  font-size: 1em;
}

.blog-toc-list li a {
  color: var(--color-1, #2c2d2d) !important;
  text-decoration: none !important;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.blog-toc-list li a:hover {
  opacity: 0.65;
  filter: blur(0.3px);
}

/* Main Heading Title */
.blog-main-title {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  font-size: 40px !important;
  line-height: 81px !important;
  letter-spacing: 0% !important;
  text-transform: uppercase !important;
  color: var(--color-1, #2c2d2d) !important;
  margin: 0 0 8px 0 !important;
}

@media (max-width: 991px) {
  .blog-main-title {
    font-size: clamp(24px, 5.5vw, 36px) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }
}

/* Post Meta */
.blog-meta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-meta-date {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0%;
}

.blog-meta-tags {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 400;
  font-size: 10px;
  line-height: 22px;
}
.blog-meta-comment {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 400;
  font-size: 9px;
  line-height: 22px;
}
.blog-meta-date {
  color: #555555;
}

.blog-meta-tags {
  color: #666666;
}

.blog-meta-comment a {
  color: #777777 !important;
  text-decoration: none !important;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.blog-meta-comment a:hover {
  opacity: 0.65;
  filter: blur(0.3px);
}

/* Entry Content (Post Content p, li, and all other text elements) */
.blog-single-article .entry-content {
  padding-top: 10px !important;
  margin: 0 !important;
}
.blog-single-article .entry-content,
.blog-single-article .entry-content p,
.blog-single-article .entry-content li,
.blog-single-article .entry-content ul,
.blog-single-article .entry-content ol,
.blog-single-article .entry-content div,
.blog-single-article .entry-content span,
.blog-single-article .entry-content a,
.blog-single-article .entry-content blockquote,
.blog-single-article .entry-content table,
.blog-single-article .entry-content td,
.blog-single-article .entry-content th {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: clamp(0.875rem, 0.8239rem + 0.2273vw, 1rem) !important;
  /*font-size: 16px !important;*/
  line-height: 130% !important;
  letter-spacing: 0% !important;
  color: var(--color-1, #2c2d2d) !important;
}

.blog-single-article .entry-content a {
  color: var(--color-1, #2c2d2d) !important;
  text-decoration: underline !important;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.blog-single-article .entry-content a:hover {
  opacity: 0.65;
  filter: blur(0.3px);
}

.blog-single-article .entry-content h2,
.blog-single-article .entry-content h2,
.blog-single-article .entry-content h3,
.blog-single-article .entry-content h4,
.blog-single-article .entry-content h5,
.blog-single-article .entry-content h6 {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;

  text-transform: uppercase !important;
  color: var(--color-1, #2c2d2d) !important;
  margin: 0 0 8px 0 !important;
}

.blog-single-article .entry-content h2 {
  font-size: 34px !important;
}

.blog-single-article .entry-content h3 {
  font-size: 30px !important;
}

.blog-single-article .entry-content h4 {
  font-size: 26px !important;
}

.blog-single-article .entry-content h5 {
  font-size: 22px !important;
}

.blog-single-article .entry-content h6 {
  font-size: 18px !important;
}

.blog-single-article .entry-content p {
  margin-bottom: 20px;
}

.blog-single-article .entry-content strong,
.blog-single-article .entry-content b {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(0.875rem, 0.8239rem + 0.2273vw, 1rem) !important;
  /*font-size: 16px !important;*/
  line-height: 130% !important;
  letter-spacing: 0% !important;
}

.blog-single-article .entry-content ul,
.blog-single-article .entry-content ol {
  padding-left: 0px;
  margin-bottom: 22px;
}

.blog-single-article .entry-content ul li,
.blog-single-article .entry-content ol li {
  margin-bottom: 12px;
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(0.875rem, 0.8239rem + 0.2273vw, 1rem) important;
  /*font-size: 16px !important;*/
  line-height: 36px !important;
  letter-spacing: 0% !important;
}

.blog-single-article .entry-content ul li::marker,
.blog-single-article .entry-content ol li::marker {
  color: var(--color-1, #2c2d2d) !important;
}

.blog-single-article .entry-content h2,
.blog-single-article .entry-content h3,
.blog-single-article .entry-content h4,
.blog-single-article .entry-content h5,
.blog-single-article .entry-content h6 {
  padding-bottom: 20px !important;
}

/* Sidebar Styles */
.blog-single-sidebar {
  position: sticky;
  top: 30px;
}

.blog-sidebar-box {
  border: 1.5px solid var(--color-1, #2c2d2d);
  padding: 24px 20px 18px 20px;
  background-color: transparent;
  box-sizing: border-box;
}

.sidebar-widget-section {
  padding: 0;
  margin: 0;
}

.sidebar-widget-title {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  font-size: 20px !important;
  line-height: 100% !important;
  letter-spacing: 0% !important;
  color: var(--color-1, #2c2d2d) !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  text-transform: none !important;
}

.sidebar-title-line {
  position: relative;
  width: 100%;
  height: 3px;
  background-color: var(--color-1, #2c2d2d);
  margin: 0 0 18px 0;
}

.sidebar-title-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 62px;
  background-color: #d49b74;
}

.sidebar-widget-list {
  list-style-type: disc !important;
  padding-left: 20px !important;
  margin: 0 !important;
}

.sidebar-widget-list li {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  /*font-size: 20px !important;*/
  font-size: clamp(0.875rem, 0.7216rem + 0.6818vw, 1.25rem); !important;
  line-height: 35px !important;
  letter-spacing: 0% !important;
  color: var(--color-1, #2c2d2d) !important;
  margin-bottom: 4px;
  padding: 0 !important;
}

.recent-posts-list li {
  margin-bottom: 4px;
}

.categories-list li {
  margin-bottom: 4px;
}

.sidebar-widget-list li::marker {
  color: var(--color-1, #2c2d2d) !important;
  font-size: 1.1em;
}

.sidebar-widget-list li a {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: var(--color-1, #2c2d2d) !important;
  text-decoration: none !important;
  display: inline;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.sidebar-widget-list li a:hover {
  opacity: 0.65;
  filter: blur(0.3px);
}

.sidebar-inner-divider {
  border: none;
  border-top: 1.5px solid var(--color-1, #2c2d2d);
  margin: 20px -20px 20px -20px;
}

.sidebar-social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 0;
}

.sidebar-social-links .social-icon {
  color: var(--color-1, #2c2d2d) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.sidebar-social-links .social-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.sidebar-social-links .social-icon:hover {
  opacity: 0.65;
  filter: blur(0.3px);
}

/* Blog Author Profile Box */
.blog-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 50px;
}

.blog-author-avatar-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-3, #faf0dc);
}

.blog-author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-author-name {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

.blog-author-role {
  font-family: var(--font-archivo), "Archivo", sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 5%;
  text-transform: capitalize;
  margin: 0 !important;
}

/* Single Blog Consultation Form */
.single-consultation-form-section {
  background-color: var(--color-2, #f0eadc) !important;
  color: var(--color-1, #2c2d2d) !important;
  padding: 80px 0 60px 0;
  overflow: visible !important;
}

.single-consultation-form-section .contact-form-heading {
  padding-top: 0 !important;
  padding-bottom: 35px !important;
}

.single-consultation-form-section .contact-form-heading .heading {
  font-family:
    var(--font-clash-display), "Clash Display", sans-serif !important;
  font-weight: 500 !important;
  font-size: 40px !important;
  line-height: 120% !important;
  color: var(--color-1, #2c2d2d) !important;
  text-transform: none !important;
}

.single-consultation-form-section .contact-form-wrapper {
  padding: 0 !important;
}

.single-consultation-form-section input[type="text"],
.single-consultation-form-section input[type="email"],
.single-consultation-form-section input[type="tel"],
.single-consultation-form-section select,
.single-consultation-form-section textarea {
  background-color: transparent !important;
  border: 1px solid #a2a2a2 !important;
  color: var(--color-1, #2c2d2d) !important;
}

.single-consultation-form-section input[type="text"]:focus,
.single-consultation-form-section input[type="email"]:focus,
.single-consultation-form-section input[type="tel"]:focus,
.single-consultation-form-section select:focus,
.single-consultation-form-section textarea:focus {
  border-color: #2c2d2d !important;
}

/* Single Blog Latest Posts Section */
.single-blogs-listing-section {
  background-color: var(--color-2, #f0eadc) !important;
  color: var(--color-white) !important;
  padding: 40px 0 100px 0 !important;
}
