/*
Theme Name: CRM B2B Demo
Theme URI: 
Author: 
Author URI: 
Description: B2Bマーケティング用のシンプルで洗練されたデモテーマ
Version: 1.0.0
License: 
License URI: 
Text Domain: crm-b2b
*/

:root {
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAFAFA;
  --color-bg-beige: #F6F6F6; /* ライトグレー基調に変更 */
  --color-primary: #1A8286; /* 指定画像に合わせたティールグリーン */
  --color-primary-hover: #126366;
  --color-border: #E8E8E8;
  --color-shadow: rgba(0, 0, 0, 0.05);
  
  --font-family-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-family-heading: var(--font-family-base); /* 明朝体を廃止し、統一感のあるゴシック体に変更 */

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-button: 999px;

  --spacing-sm: 1rem;    /* 16px */
  --spacing-md: 2rem;    /* 32px */
  --spacing-lg: 4rem;    /* 64px */
  --spacing-xl: 6rem;    /* 96px */
}

/* Reset / Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: var(--border-radius-sm);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: normal;
  line-height: 1.5;
  color: var(--color-text);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.container-narrow {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.08em;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-button);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px var(--color-shadow);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 130, 134, 0.3);
  opacity: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-title {
  font-family: var(--font-family-heading);
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.06em;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-dl-btn {
  padding: 0.6rem 1.75rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--border-radius-button);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.header-dl-btn:hover {
  background-color: var(--color-primary-hover);
  opacity: 1;
}

/* Footer */
.site-footer {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  text-align: center;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
  margin-top: var(--spacing-xl);
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* Hero Area */
.hero {
  padding: var(--spacing-xl) 0;
  text-align: center;
  background-color: var(--color-bg-beige);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  margin-bottom: var(--spacing-lg);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

/* Card Component */
.card {
  background: #FFF;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--color-shadow);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #F8F8F8;
  border-radius: 0;
}

.card-body {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-family-base);
  font-weight: bold;
  line-height: 1.5;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Materials Section */
.section-materials {
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
  padding: calc(var(--spacing-xl) * 1.2) 0;
  margin: var(--spacing-xl) 0;
}

.material-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}

.material-card .card-img {
  aspect-ratio: 1 / 1.414; /* A4 Ratio */
  max-width: 180px;
  margin: 0 auto var(--spacing-md);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.material-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Single Post */
.single-header {
  text-align: center;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.single-title {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
}

.single-meta {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.single-content {
  font-size: 1.05rem;
  color: #444;
}

.single-content h2 {
  font-size: 1.5rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.single-content p {
  margin-bottom: 1.8em;
}

.single-content img {
  border-radius: var(--border-radius-md);
  margin: var(--spacing-sm) 0;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--color-bg-beige);
  padding: var(--spacing-xl) var(--spacing-md);
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin-top: calc(var(--spacing-xl) * 1.2);
  margin-bottom: var(--spacing-xl);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.cta-banner-title {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  font-family: var(--font-family-base);
  font-weight: bold;
}

.cta-banner-desc {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Download Page */
.download-page-wrap {
  display: flex;
  gap: var(--spacing-xl);
  padding: var(--spacing-lg) 0;
  align-items: flex-start;
}

.download-info {
  flex: 1.2;
}

.download-form-area {
  flex: 1;
  position: relative;
}

.download-form-sticky {
  position: sticky;
  top: 100px;
  background: #FFF;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border: 1px solid var(--color-border);
}

@media (max-width: 860px) {
  .download-page-wrap {
    flex-direction: column;
  }
  .download-form-sticky {
    position: static;
  }
  .hero-title { font-size: 1.8rem; }
  .single-title { font-size: 1.6rem; }
}

/* Form Styles Override for CF7 */
.wpcf7-form p {
  margin-bottom: 1.25rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #FAFAFA;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #FFF;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--color-primary);
  color: #FFF;
  border: none;
  border-radius: var(--border-radius-button);
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 130, 134, 0.3);
  margin-top: 1rem;
}

.wpcf7 input[type="submit"]:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 130, 134, 0.4);
}

/* Category Pills & Pagination */
.cat-pill {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background-color: #FFF;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background-color: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin: 0 0.3rem;
  border-radius: var(--border-radius-sm);
  background-color: #FFF;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: bold;
  transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
}

/* ==============================================================
   Single Column Layout (Mag Clone)
============================================================== */
.single-layout {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .single-layout {
    flex-direction: column;
    gap: 2rem;
  }
}

.share-sidebar {
  flex: 0 0 50px;
  display: none;
}

@media (min-width: 1024px) {
  .share-sidebar {
    display: block;
  }
}

.share-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FAFAFA;
  color: #777;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}

.share-btn:hover {
  background-color: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.single-main {
  flex: 1;
  min-width: 0;
}

.single-sidebar {
  flex: 0 0 320px;
  width: 100%;
}

/* Article Header */
.article-cats {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-cats .cat-pill {
  font-size: 0.8rem;
  padding: 0.3rem 1rem;
  border-width: 2px;
}

.article-title {
  font-size: 2.3rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: bold;
  font-family: var(--font-family-heading);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.2rem 0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name {
  font-weight: bold;
  font-size: 0.95rem;
}

.date-info {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.article-thumbnail {
  margin-bottom: 3.5rem;
}
.article-thumbnail img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

/* TOC (Table of Contents) */
.toc-box {
  background-color: #FAFAFA;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
}
.toc-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.toc-box ul {
  padding-left: 2rem;
  list-style-type: decimal;
}
.toc-box ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  list-style-type: disc;
}
.toc-box li {
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}
.toc-box a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.toc-box a:hover {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

/* Article Typography formatting */
.single-content h2 {
  font-size: 1.8rem;
  margin: 4.5rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
  position: relative;
  font-weight: bold;
}
.single-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 60px;
  background-color: var(--color-primary);
}

.single-content h3 {
  font-size: 1.4rem;
  margin: 3.5rem 0 1.5rem;
  padding-left: 1.2rem;
  border-left: 5px solid var(--color-primary);
  font-weight: bold;
}

/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 3.5rem;
}
.widget-title {
  font-size: 1.15rem;
  font-weight: bold;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.8rem;
  font-family: var(--font-family-heading);
}

.widget-post-list li {
  margin-bottom: 1.5rem;
}
.widget-post-list a {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.widget-post-list a:hover {
  opacity: 1;
}
.widget-post-list a:hover .w-text h4 {
  color: var(--color-primary);
}
.widget-post-list .w-img {
  flex: 0 0 100px;
}
.widget-post-list .w-img img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}
.widget-post-list .w-text h4 {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-family-base);
  transition: color 0.3s;
  color: var(--color-text);
}

/* Article CTA Box */
.article-cta {
  background: var(--color-bg-beige);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 5rem;
}
.article-cta h3 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  font-weight: bold;
}
.article-cta p {
  margin-bottom: 2.5rem;
  color: var(--color-text-light);
}

/* ==============================================================
   Landing Page Layout (Ebook Download Form)
============================================================== */
/* Hide Global Navigation/Footer for LP to minimize distractions */
.page-template-page-download, .single-ebook {
  background-color: #F8F9FA !important;
}
.page-template-page-download .header-nav,
.page-template-page-download .site-footer,
.single-ebook .header-nav,
.single-ebook .site-footer {
  display: none !important;
}
.page-template-page-download .site-header,
.single-ebook .site-header {
  position: static !important;
  background-color: #FFF !important;
  border-bottom: 1px solid var(--color-border);
}
.page-template-page-download .site-header-inner,
.single-ebook .site-header-inner {
  height: 60px !important;
}

.lp-wrapper {
  padding: 4rem 1rem;
}

.lp-card {
  background: #FFF;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  max-width: 1000px;
  margin: 0 auto;
  padding: 4.5rem;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .lp-card {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 3rem;
  }
}

.lp-left {
  flex: 1.1;
  min-width: 0;
}

.lp-right {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.lp-title {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: var(--font-family-base);
  margin-bottom: 2.5rem;
  color: var(--color-text);
  line-height: 1.4;
}

.lp-cover {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lp-cover img {
  max-width: 250px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border: 1px solid #f0f0f0;
}

.lp-features-box {
  background-color: #F3F8F8; /* SmartHR風の薄い水色 */
  border-radius: 8px;
  padding: 1.8rem;
  margin-bottom: 2rem;
}

.lp-features-title {
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #222;
}

.lp-custom-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-custom-content ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.lp-custom-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: #00A497; /* Teal / Turquoise */
  border-radius: 50%;
}

.lp-desc p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* CF7 Forms for LP */
.page-template-page-download .wpcf7-form p,
.single-ebook .wpcf7-form p {
  margin-bottom: 1.2rem;
}

.page-template-page-download .wpcf7 input[type="text"],
.page-template-page-download .wpcf7 input[type="email"],
.page-template-page-download .wpcf7 input[type="tel"],
.page-template-page-download .wpcf7 select,
.page-template-page-download .wpcf7 textarea,
.single-ebook .wpcf7 input[type="text"],
.single-ebook .wpcf7 input[type="email"],
.single-ebook .wpcf7 input[type="tel"],
.single-ebook .wpcf7 select,
.single-ebook .wpcf7 textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #DDD;
  border-radius: 4px;
  background-color: #FFF;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.page-template-page-download .wpcf7 input:focus,
.page-template-page-download .wpcf7 textarea:focus,
.single-ebook .wpcf7 input:focus,
.single-ebook .wpcf7 textarea:focus {
  border-color: #00A497;
  outline: none;
}

.page-template-page-download .wpcf7 input[type="submit"],
.single-ebook .wpcf7 input[type="submit"] {
  background-color: #00A497;
  color: #FFF;
  border-radius: 999px;
  padding: 1.2rem;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 164, 151, 0.3);
  transition: all 0.3s;
  cursor: pointer;
  margin-top: 1rem;
}

.page-template-page-download .wpcf7 input[type="submit"]:hover,
.single-ebook .wpcf7 input[type="submit"]:hover {
  background-color: #008f84;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 164, 151, 0.4);
}

/* ==============================================================
   Hero Section Redesign (Image Main)
============================================================== */
.hero-section {
  padding: 5rem 0 7rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #EFEBE6 100%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text-area {
  flex: 0 0 45%;
  padding-right: 2rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: bold;
  font-family: var(--font-family-heading);
  margin-bottom: 1.5rem;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-cta .btn-hero {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-image-area {
  flex: 1;
  position: relative;
}

.hero-image-area img {
  width: 110%; /* Makes image pop out a bit on the right */
  max-width: none;
  display: block;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transform: translateX(20px);
}

@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
  }
  .hero-text-area {
    flex: none;
    padding-right: 0;
  }
  .hero-image-area img {
    width: 100%;
    margin: 0 auto;
    transform: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* ==============================================================
   Horizontal Full Width Banner (Image Main)
============================================================== */
.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding: 8rem 0 9rem !important; /* Make it tall and banner-like */
  margin-top: 0;
  overflow: hidden;
  text-align: center;
  background-color: var(--color-bg-beige); /* Fallback */
  border-bottom: 1px solid var(--color-border);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55); /* Soft overlay to ensure text is readable */
  backdrop-filter: blur(4px); /* Blur to make text pop while keeping the image as texture */
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.hero-content-banner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title-banner {
  font-size: 3.5rem;
  font-weight: bold;
  font-family: var(--font-family-heading);
  margin-bottom: 1.5rem;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 15px rgba(255,255,255,1);
}

.hero-desc-banner {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.8;
  margin: 0 auto 3rem;
  text-shadow: 0 2px 10px rgba(255,255,255,0.9);
  font-weight: 500;
}

.btn-banner {
  display: inline-block;
  padding: 1.2rem 4rem;
  font-size: 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 164, 151, 0.25);
  font-weight: bold;
}

@media (max-width: 900px) {
  .hero-banner {
    padding: 5rem 0 6rem !important;
    background-position: center;
  }
  .hero-title-banner {
    font-size: 2.2rem;
  }
  .hero-desc-banner {
    font-size: 1rem;
  }
}
