/*
Theme Name:   Gritzo Child
Theme URI:    https://gritzo.com
Description:  Genesis Child Theme — Blog Homepage & Single Post for children's drinks brand.
Author:       Gritzo
Template:     genesis
Version:      2.0.0
Text Domain:  gritzo-child
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/* ── Variables ── */
:root {
  --green:       #2a6b3f;
  --green-dark:  #1d4f2e;
  --green-light: #e8f5ee;
  --text:        #131313;
  --text-2:      #374151;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --bg:          #ffffff;
  --white:       #ffffff;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.1);
  --r:           8px;
  --font:        'Roboto', sans-serif;
  --heading-font:'Roboto', sans-serif;
  --logo-font:   'Oswald', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }

body  {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.75;
}

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

a     { text-decoration: none; color: var(--green); }


ul    { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Headings (UPDATED TO ROBOTO) ── */
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 300;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1380px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 0 28px; height: 60px;
}
.nav-logo {
  font-family: var(--logo-font);
  font-size: 24px; font-weight: 700;
  color: var(--green); letter-spacing: 2.5px;
  text-transform: uppercase; flex-shrink: 0;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }

.nav-menu { display: flex; gap: 2px; flex: 1; }
.nav-menu a {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 13px; border-radius: 6px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: background .15s, color .15s;
  white-space: nowrap; text-decoration: none;
}
.nav-menu a:hover { background: #f3f4f6; color: var(--green); text-decoration: none; }
.nav-menu .chev { width: 13px; height: 13px; stroke: var(--muted); fill: none; stroke-width: 2.2; }

.nav-search {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 7px 13px; background: #fafafa;
  min-width: 200px;
}
.nav-search svg { flex-shrink: 0; width: 14px; height: 14px; stroke: #9ca3af; fill: none; stroke-width: 2; }
.nav-search input {
  border: none; background: transparent; outline: none;
  font-size: 13px; font-family: var(--font); color: var(--text); width: 100%;
}
.nav-search input::placeholder { color: var(--muted); }

.nav-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.user-chip {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--border); border-radius: 20px;
  padding: 4px 10px 4px 4px; font-size: 13px; font-weight: 600;
}
.user-av {
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.user-chip svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 2.5; }

.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.nav-icon-btn:hover { background: #f3f4f6; }
.nav-icon-btn svg { width: 17px; height: 17px; stroke: var(--text); fill: none; stroke-width: 1.8; }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — HERO SLIDER
══════════════════════════════════════════════════════════ */
.home-wrap { max-width: 1201px; margin: 0 auto; padding: 32px 0 48px; }

.hero-slider-wrap { border-radius: 24px; overflow: hidden; position: relative; height: 372px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .65s ease;
}
.hero-slide.active { opacity: 1; }
.slide-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 110px;
}
.slide-bg.s1 { background: linear-gradient(135deg,#3d2b1f 0%,#7a5533 40%,#c8a04a 100%); }
.slide-bg.s2 { background: linear-gradient(135deg,#1a3a2a 0%,#2d6a4f 50%,#74c69d 100%); }
.slide-bg.s3 { background: linear-gradient(135deg,#2c3e50 0%,#3498db 60%,#85c1e9 100%); }

.slide-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(360deg, #000 9.13%, rgba(0, 0, 0, 0.00) 81.73%);
}
.slide-text {
  position: absolute; bottom: 31px; left: 24px; right: 220px; color: #F7F7F7;
}
.slide-text h2 { color: #F7F7F7; font-size: 32px; font-weight: 600; margin-bottom: 12px; line-height: normal; font-style: normal; }
.slide-meta { display: flex; align-items: center; font-size: 18px; color: #F7F7F7;  line-height: normal; font-style: normal;     align-items: center; }
.slide-meta strong { color: #F7F7F7; font-weight: 700; }
.slide-meta svg { width: 16px; height: 16px; }
.slide-meta .sep-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.55); }

.slider-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding-top: 20px;
}
.s-dot {
  height: 8px; border-radius: 4px; border: none;
  background: #E9EAF2; transition: background .25s, width .25s;
  width: 8px; cursor: pointer;
}
.s-dot.active { background: #272B60; width: 24px; }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — EXPLORE BLOGS
══════════════════════════════════════════════════════════ */
.explore-wrap { max-width: 1201px; margin: 0 auto; padding: 60px 0; }
.section-title { font-size: 21px; font-weight: 800; margin-bottom: 18px; line-height:normal }

.blog-cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}

.h-card {
  background: #fff; border-radius: 12px; padding: 12px; gap: 12px;
  display: flex; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s; cursor: pointer;
}
.h-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.h-card-thumb {
  width: 108px; flex-shrink: 0; overflow: hidden; border-radius: 12px;
}
.h-card-thumb-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.tp1  { background: linear-gradient(135deg,#e8f5e9,#81c784); }
.tp2  { background: linear-gradient(135deg,#fff3e0,#ffb74d); }
.tp3  { background: linear-gradient(135deg,#e3f2fd,#64b5f6); }
.tp4  { background: linear-gradient(135deg,#fce4ec,#f06292); }
.tp5  { background: linear-gradient(135deg,#f3e5f5,#ba68c8); }
.tp6  { background: linear-gradient(135deg,#e0f7fa,#4dd0e1); }
.tp7  { background: linear-gradient(135deg,#f1f8e9,#aed581); }
.tp8  { background: linear-gradient(135deg,#fff8e1,#ffd54f); }
.tp9  { background: linear-gradient(135deg,#fbe9e7,#ff7043); }

.h-card-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}
.h-card-title {
  font-size: 16px; font-weight: 600; line-height: normal;
  color: var(--text); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.h-card-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #646464;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-weight: 400;
  font-style: normal;
  line-height: 16px;
}
.h-card-meta svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}
.h-card-author {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 400; color: #4B4B4B;
}
.mini-av {
  width: 20px; height: 20px; border-radius: 50%;
  background: #dbeafe; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}

.load-more-row { display: flex; justify-content: center; }
.load-more-btn {
  border: 1.5px solid var(--border); border-radius: 24px;
  background: var(--white); padding: 10px 48px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.load-more-btn:hover { border-color: #272B60; color: #272B60; background: #F4F5F9; }

/* ══════════════════════════════════════════════════════════
   SINGLE BLOG PAGE
══════════════════════════════════════════════════════════ */
.single-wrap {
  display: grid; 
 grid-template-columns: 1fr 310px;
  padding: 32px 28px 64px; 
  align-items: start;
}
.single-wrap.padding-bottom-0 {
  padding-bottom:0px
}

/* ── Article ── */
.article-col { min-width: 0; }

.article-h1 {
  font-size: 44px;
  font-weight: 700; 
  font-style: normal;
  margin: 0px;
  line-height: normal;
  color: #131313;
  
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 6px; /* desktop */
  font-size: 16px;
  color: #646464;
  padding-bottom: 24px; /* desktop */
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .article-meta-row {
    padding-bottom: 20px;
  }
}

.article-meta-row .sep { 
	color: #646464;
	padding: 0 1px 0;
}

.author-row {
  display: flex; align-items: center; gap: 12px;
  
}
.author-av-lg {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,var(--green-light),#c8e6c9);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.author-info strong { display: block; font-size: 14px; font-weight: 700; }
.author-info span   { font-size: 12px; color: var(--muted); }

/* Article inline image */
.article-img {
  width: 100%;
  border-radius: var(--r); overflow: hidden; margin-bottom: 28px;
}
.article-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg,#e8f5e9,#b2dfdb,#c8e6c9);
}

/* Key Takeaways box */
.key-takeaways {
  background: #f8fdf9;
  border: 1px solid #c8e6c9;
  border-left: 4px solid var(--green);
  border-radius: var(--r);
  padding: 20px 24px; margin-bottom: 32px;
}
.key-takeaways h3 {
  font-size: 15px; font-weight: 800;
  margin-bottom: 10px; color: var(--text);
}
.key-takeaways p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 10px; }
.key-takeaways ul { display: flex; flex-direction: column; gap: 6px; }
.key-takeaways ul li {
  font-size: 13.5px; color: var(--text-2); line-height: 1.6;
  display: flex; gap: 8px; align-items: flex-start;
}
.key-takeaways ul li::before {
  content: '•'; color: var(--green); font-size: 18px; line-height: 1.3; flex-shrink: 0;
}

/* Article body */
.article-body { color: var(--text-2); }
.article-body h2 {
  font-size: 24px; font-weight: 600;
  margin: 24px 0 12px; color: #333;
}
.article-body h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px 0px; }
.article-body p  { font-size: 18px; font-weight: 400; line-height: 29px; margin-bottom: 24px; color: #333;}
.article-body ul { padding-left: 0; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.article-body ul li {
  font-size: 18px; font-weight: 400; line-height: 29px; margin-bottom: 14px; color: #333;
  display: flex; gap: 8px; align-items: flex-start;
}
.article-body ul li::before { content: '•'; color: #333; font-size: 18px; line-height: 1.3; flex-shrink: 0; }

/* Section inline image */
.section-img { width: 100%; aspect-ratio: 16/8; border-radius: var(--r); overflow: hidden; margin: 24px 0; }
.section-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 70px;
  background: linear-gradient(135deg,#e1f5fe,#b2ebf2,#c8e6c9);
}

/* Data table */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 13.5px; }
.data-table th {
  background: #f3f4f6; font-weight: 700;
  padding: 10px 14px; text-align: left;
  border: 1px solid var(--border); color: var(--text);
}
.data-table td {
  padding: 10px 14px; border: 1px solid var(--border);
  color: var(--text-2); line-height: 1.5;
}
.data-table tr:nth-child(even) td { background: #fafafa; }

/* ── Sidebar ── */
.sidebar-col { display: flex; flex-direction: column; gap: 60px; position: sticky; top: 76px; }
@media (min-width: 1024px) {
	.sidebar-col {
		min-width: 390px;
	}
}

.related-card { margin-bottom: 18px; }
.related-card:last-child { margin-bottom: 0; }
.rc-img { width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.rc-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.rp1 { background: linear-gradient(135deg,#fff8e1,#ffe082); }
.rp2 { background: linear-gradient(135deg,#e8f5e9,#a5d6a7); }
.rp3 { background: linear-gradient(135deg,#e0f7fa,#80deea); }
.rp4 { background: linear-gradient(135deg,#f3e5f5,#ba68c8); }

.rc-title { font-size: 13.5px; font-weight: 700; line-height: 1.4; margin-bottom: 5px; color: var(--text); }
.rc-title a { color: inherit; text-decoration: none; }
.rc-title a:hover { color: var(--green); }
.rc-meta { font-size: 11px; color: var(--muted); display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.rc-excerpt { font-size: 12px; color: var(--muted); line-height: 1.55; }

.sidebar-load-more {
  border: 1.5px solid var(--border); border-radius: 24px;
  background: var(--white); padding: 8px 28px;
  font-size: 13px; font-weight: 600; color: var(--text);
  display: block; margin: 16px auto 0; text-align: center;
  transition: border-color .2s, color .2s;
}
.sidebar-load-more:hover { border-color: var(--green); color: var(--green); }

/* Scroll top */
.scroll-top {
  position: fixed; bottom: 22px; right: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; border: none;
  display: none; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 4px 12px rgba(42,107,63,.4);
  transition: transform .2s; z-index: 999;
}
.scroll-top:hover { transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════════════════════════ */
.m-navbar {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 300;
  padding: 0 16px; height: 50px;
  display: flex; align-items: center; justify-content: space-between;
}
.m-logo { font-family: var(--logo-font); font-size: 19px; font-weight: 700; color: var(--green); letter-spacing: 2px; text-transform: uppercase; }
.m-tools { display: flex; gap: 8px; align-items: center; }
.m-icon { background: none; border: none; padding: 4px; display: flex; align-items: center; }
.m-icon svg { width: 19px; height: 19px; stroke: var(--text); fill: none; stroke-width: 1.8; }
.m-ham { font-size: 19px; background: none; border: none; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-cards-grid { grid-template-columns: repeat(2,1fr); }
  .single-wrap { grid-template-columns: 1fr 270px; }
}

@media (max-width: 767px) {
  .site-header   { display: none; }
  .home-wrap     { padding: 14px 14px 0; }
  .hero-slider-wrap { height: 200px; border-radius: 12px; }
  .slide-text h2 { font-size: 15px; }
  .slide-text    { bottom: 16px; left: 16px; right: 16px; }
  .explore-wrap  { padding: 16px 14px 40px; }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .single-wrap   { grid-template-columns: 1fr; padding: 16px 16px 24px; }
  .sidebar-col   { position: static; }
}

@media (min-width: 768px) {
  .m-navbar { display: none; }
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE EXTRAS (mobile)
══════════════════════════════════════════════════════════ */
.trending-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 0 12px;
}
.trending-scroll::-webkit-scrollbar { display: none; }
.t-card {
  flex-shrink: 0; width: 230px; height: 178px;
  border-radius: 12px; overflow: hidden; position: relative;
  scroll-snap-align: start; cursor: pointer; display: block;
}
.t-card-bg  { position: absolute; inset: 0; }
.t-card-grad{ position: absolute; inset: 0; background: linear-gradient(360deg, #000 9.13%, rgba(0, 0, 0, 0.00) 81.73%); }
.t-card-text{ position: absolute; bottom: 14px; left: 14px; right: 14px; color: #fff; }
.t-card-text h3 { font-size: 22px; color: #F7F7F7; font-weight: 600; line-height: normal; font-style: normal; margin-bottom: 12px; }
.t-card-meta{ display: flex; align-items: center; font-size: 14px; font-weight: 400; line-height: 20px; color: #F7F7F7; font-style: normal; align-items: center; }
.t-card-meta svg { width: 16px; height: 16px; margin-right: 4px; }
.sdot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.5); }

.c-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 24px; }
.c-dot  { width: 8px; height: 8px; border-radius: 50%; background: #E9EAF2; border: none; cursor: pointer; transition: background .2s, width .2s; }
.c-dot.active { background: #272B60; width: 24px; height: 8px; border-radius: 4px; }

.m-section-title { font-size: 18px; font-weight: 800; padding: 18px 14px 10px; display: block; }
.m-cards-list { padding: 0 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.m-card { background: var(--white); border-radius: 12px; display: flex; align-items: center; gap: 12px; padding: 12px; cursor: pointer; box-shadow: var(--shadow-sm); transition: box-shadow .2s; text-decoration: none; color: inherit; }
.m-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.m-card-thumb { width: 80px; height: 72px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.m-card-body  { flex: 1; min-width: 0; }
.m-card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: normal; color: #131313; }
.m-card-meta  { font-size: 12px; color: #646464; margin-bottom: 20px; display: flex; align-items: center; line-height: 16px; font-style: normal; }
.m-card-meta svg { width: 14px; height: 14px; margin-right: 4px; }
.m-card-author { display: flex; align-items: center; font-size: 12px; font-weight: 600; gap: 8px; }
.m-av { width: 20px; height: 20px; border-radius: 50%; background: #dbeafe; display: flex; align-items: center; justify-content: center; font-size: 10px; }

.slide-bg.s1 { background: linear-gradient(135deg,#3d2b1f 0%,#7a5533 40%,#c8a04a 100%); }
.slide-bg.s2 { background: linear-gradient(135deg,#1a3a2a 0%,#2d6a4f 50%,#74c69d 100%); }
.slide-bg.s3 { background: linear-gradient(135deg,#2c3e50 0%,#3498db 60%,#85c1e9 100%); }

@media (min-width: 768px) {
  .trending-scroll, .c-dots, .m-section-title, .m-cards-list { display: none !important; }
  .m-navbar { display: none !important; }
}
@media (max-width: 767px) {
  .home-wrap, .explore-wrap { display: none !important; }
  .site-header { display: none !important; }
}




/* ============================================================
   CUSTOM HEADER
   — Replaces Genesis default header via gritzo_custom_header()
============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.header-branding { flex-shrink: 0; }
.site-title-link {
  font-family: var(--logo-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.site-title-link:hover { text-decoration: none; color: var(--green-dark); }

.header-nav .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}
.header-nav .nav-menu li a {
  display: flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background .15s, color .15s;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav .nav-menu li a:hover,
.header-nav .nav-menu li.current-menu-item > a {
  background: #f3f4f6;
  color: var(--green);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 998;
  }
  .header-nav.open { display: block; }
  .header-nav .nav-menu { flex-direction: column; gap: 4px; }
}


/* ============================================================
   CUSTOM FOOTER
   — Replaces Genesis default footer via gritzo_custom_footer()
============================================================ */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.75);
  padding: 32px 28px;
  text-align: center;
  margin-top: 0;
}
.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.footer-copy {
  margin: 0;
  font-size: 14px;
}
.footer-copy a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 600;
}
.footer-copy a:hover { text-decoration: underline; }


/* ============================================================
   SIDEBAR — ADDITIONAL COMPONENTS
   (sidebar-heading, related cards, product cards, TOC mobile)
============================================================ */

/* Sidebar section heading */
.sidebar-heading {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 14px;
}
.sidebar-heading:first-child { margin-top: 0; }

/* ── Related Cards (sidebar) ── */
.related-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.related-card:last-child { margin-bottom: 0; }
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}
.img-placeholder {
  height: 160px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.related-body { padding: 14px; }
.related-title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--text);
}
.related-title a { color: inherit; text-decoration: none; }
.related-title a:hover { color: var(--green); }
.related-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.meta-item.gap {
  gap: 4px;
}


.related-meta .dot { color: var(--border); }
.related-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}


/* ── Article featured image ── */
.article-featured-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--r);
  display: block;
}
@media (max-width: 767px) {
  .article-featured-img { height: 214px; }
}

/* iframe footer utility */
.iframe-footer-only { width: 100%; margin-top: 40px; }
.iframe-footer { width: 100%; height: 500px; border: none; display: block; }


/* ── Author row avatar ── */
.author-row img {
  border-radius: 50%;
  width: 62px;
  height: 62px;
  object-fit: cover;
}


/* ── Key Takeaways Box (additional variant) ── */
/* The theme already has .key-takeaways — this targets
   the .key-takeaways-box class used in the PHP template */
.key-takeaways-box {
  border: 1px solid #c8d8e8;
  border-left: 4px solid var(--green);
  border-radius: var(--r);
  padding: 20px 24px;
  margin: 20px 0 28px;
  background: #f8fdf9;
}
.key-takeaways-title {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
}
.key-takeaways-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.key-takeaways-list li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.65;
}
.key-takeaways-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1rem;
}
.key-takeaways-desc {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 12px;
}




/* ============================================================
   PRODUCT RECOMMENDATIONS
   — Full-width section below article content
============================================================ */
.product-recommendations {
  width: 100%;
  background: #f0f2f5;
  padding: 40px 28px;
  box-sizing: border-box;
}
.product-rec-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.product-rec-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px;
}
.product-rec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-img-wrap {
  background: #f9f9f9;
  padding: 20px 16px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.product-img-wrap img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
}
.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.product-name {
  font-family: var(--heading-font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
}
.product-variant,
.product-age {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.product-age {
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0;
}
.product-age svg { flex-shrink: 0; color: var(--muted); }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 12px;
}
.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.product-mrp {
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: line-through;
}
.product-discount {
  font-size: 0.8rem;
  color: #e05c00;
  font-weight: 600;
}
.product-btn {
  display: block;
  text-align: center;
  background: #1a3580;
  color: #fff !important;
  padding: 11px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: auto;
  transition: background .2s;
}
.product-btn:hover {
  background: #122660;
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 1100px) {
  .product-rec-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .product-rec-grid { grid-template-columns: repeat(2, 1fr); }
  .product-recommendations { padding: 28px 16px; }
}


/* ============================================================
   FAQ SECTION
============================================================ */
.faq-section {
  width: 100%;
  background: var(--white);
  padding: 48px 28px;
  box-sizing: border-box;
}
.faq-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 28px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #f9f9f9;
  transition: background .2s;
}
.faq-item.active { background: var(--white); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question span {
  font-family: var(--heading-font);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform .2s;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 640px) {
  .faq-section { padding: 32px 16px; }
}


/* ============================================================
   AUTHOR SECTION
============================================================ */
.author-section {
  width: 100%;
  background: #f5f7fa;
  padding: 48px 28px;
  box-sizing: border-box;
}
.author-section-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.author-section-heading {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px;
}
.author-section-card {
  border-radius: var(--r);
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.author-section-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.author-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid #333;
  overflow: hidden;
  background: var(--green-light);
}
.author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-social-icons { display: flex; gap: 12px; align-items: center; }
.author-social-link {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color .2s;
  background:#F7F7F7;
}
.author-social-link:hover { color: var(--green); }
.author-section-right { flex: 1; }
.author-section-name {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.author-section-title {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.author-section-bio p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 10px;
}
.author-section-bio p:last-child { margin-bottom: 0; }

.author-section-bio br {
 display:block;
	content:'';
	margin-bottom:15px
}


@media (max-width: 640px) {
  .author-section-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-section { padding: 32px 16px; }
}
.blog-container{
	max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
/* .main-body-wrapper .blog-container{
	padding:0 15px	
}	 */
}




.avatar-outer {
      --max: 251px;
      position: relative;
      width: 100%;
      max-width: var(--max);
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 600px) {
      .avatar-outer {
        --max: 79px;
      }
    }

    .avatar-ring {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      box-sizing: border-box;
      border: 1px solid #cfcfcf;
    }

    @media (min-width: 601px) {
      .avatar-ring {
        border-width: 2px;
      }
    }

    .ring-lg {
      width: 100%;
      height: 100%;
      border-color: #333;
    }

    .ring-md {
      width: calc(100% * 227 / 251);
      height: calc(100% * 227 / 251);
      border-color: #acacac;
    }

    .ring-sm {
      width: calc(100% * 205 / 251);
      height: calc(100% * 205 / 251);
      border-color: #d1d1d1;
    }

    .avatar-inner {
      position: relative;
      width: calc(100% * 185 / 251);
      height: calc(100% * 185 / 251);
      border-radius: 50%;
      overflow: hidden;
      z-index: 2;
      background: #d9d9d9;
    }

    .avatar-inner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.desktop-image, .mobile-image{
	border-radius:8px;
	width:100%;
	margin-bottom:12px;
}
.desktop-image img, .mobile-image img{
	border-radius:8px;
	width:100%;
}
.desktop-image img {
  display: block;
  max-height:210px
}

.mobile-image {
  display: none;
}

.desktop-header .HK-pagecontainer{
	padding: 0px!important;
}


@media (max-width: 768px) {
  .desktop-image {
    display: none;
  }
  .mobile-image {
    display: block;
  }
}
