/* ============================================================
   Tell Me Why — KidsGen
   Theme: "Curiosity Notebook Under a Night Sky"
   (Responsive fixes applied)
   ============================================================ */

:root{
  --primary: #287A55;
  --primary-deep: #356B45;
  --secondary: #F4C95D;
  --secondary-light:#ffe7ac;
  --secondary-deep: #d7ac3e;
  --paper: #EAF5E9;
  --cream: #FFF9EC;
  --accent: #D97745;
  --accent-deep: #b8501b;
  --orange: #e35000;
  --orange-dark:#c44500;
  --orange-warm: #EE7A2C;
  --border01: #D5E6D4;
  --teal: #128A8A;
  --teal-dark: #086B6B;
  --earthy-brown: #795548;
  --earthy-brown-light: #bea297;
  --white: #ffffff;
  --ink: #343B35;
  --ink-soft: #464e4d;
  --border: #c2c2c2;
  --line:       rgba(20,33,61,0.14);
  --shadow:0 4px 11px rgba(20,33,61,0.16);
  --shadow-soft: 0 10px 30px rgba(10, 31, 61, 0.10);
  --radius-card: 14px;
  --radius-pill: 999px;
  --radius: 10px;
  --font-display: "Baloo 2", ui-rounded, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
strong {font-weight:800}
img, svg{ max-width:100%; display:block; height:auto }

a{ color: var(--teal); text-decoration:none;transition: all 0.5s ease 0s;}
a:hover {color:var(--orange);transition: all 0.5s ease 0s;}
	 

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
}
h2 {color:var(--primary); font-size:clamp(1.5rem,2.6vw,2.05rem)}
h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 5px;
    border-radius: 5px;
    background: var(--accent);
    margin-top: .35rem;
}
h3 {color:var(--primary-deep);font-weight:600; font-size:clamp(1.2rem,2.1vw,1.7rem)}
h4 {font-size:1.3rem}
.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width:480px){
  .container{ padding: 0 16px; }
  body{ font-size:16px; }
}


 /* ═══════════════════════════════════════════════
       TOP NAV
    ═══════════════════════════════════════════════ */
    .top-nav {
		background: var(--primary-deep);
		color: var(--cream);
		top: 0;
		z-index: 50;
		box-shadow: 0 2px 14px rgba(10, 31, 61, 0.25);
    }
    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      align-items: center;
    }
   .top-nav ul{
    list-style: none;
	padding-left:0;
	margin:0;
}
/* Logo */
.logo{
    display: inline-block;
    padding: 5px 0 0 5px;
}
.logo img {
	max-width:180px;
}
/**  language button ***/
.lang-btn-wrap {text-align:center}
.lang-btn {
	border:none;
	font-size:0.75rem;
	background-image: linear-gradient(to right, #7b4397 0%, #dc2430 51%, #7b4397 100%);
	margin: 13px 12px;
	padding: 7px 13px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: #fff;
	box-shadow: 0 0 4px var(--shadow);
	border-radius: var(--radius-pill);
	cursor:pointer;
}
.lang-btn:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
}
/* Nav menu */
.nav{
    position: fixed;
	left: 1%;
    right: 2%;
    background-color: var(--accent-deep);
    overflow: hidden;
    z-index: 2;
}
.menu a{
    display: block;
    padding: 12px 25px;
    border-bottom: 1px solid var(--accent);
    color:var(--cream);
	text-decoration:none
}
.menu li:last-child a {border:none}
.menu a:hover{
    background-color: var(--shadow);
}
.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}
/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 25px 20px;
}/* Style label tag */

.hamb-line {
    background: var(--cream);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background:var(--cream);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
} /* Hide checkbox */
/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

body:has(.side-menu:checked) {
  overflow: hidden;
}
@media (max-width: 500px) {
	.logo img {
			max-width:120px;
		}
}

@media (min-width: 501px) and (max-width: 991px) {
	.logo img {
			max-width:150px;
		}
	.nav{
		box-shadow: 0 8px 24px var(--shadow);
		z-index:3
	}
	.menu a{
		padding: 9px 25px;
	}
}
/* Responsiveness */
@media (min-width: 992px) {	
    .nav{
        max-height: none;
		margin-top: 8px;
		margin-bottom:8px;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
        overflow: visible;
    }
    .menu li{
        float: left;
    }
	.menu a{
		border-radius:var(--radius-pill);
		border:none;
		padding: 5px 25px;
		margin:0 2px;
		transition: all 0.5s ease 0s;
    }
    .menu a:hover, .menu a.active {
        background: var(--accent);
		transition: all 0.5s ease 0s;
    }

    .hamb{
        display: none;
    }
}
@media (min-width:992px) and (max-width:1023px) {
	.menu a{
		font-size:0.7rem;
		padding: 10px 15px;
    }
}
@media (min-width:1024px) {
	.menu a{
		font-size:0.9rem;
		padding: 10px 15px;
    }
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr 19% 61%;
  }
@media (max-width:991px) {
	.nav-grid {
		grid-template-columns: 1fr 40% 1fr;
	}
	.nav {
		top: 54px;
	}
 }
@media (max-width:600px) {
	.nav-grid {
    grid-template-columns: 1fr 50% 1fr;
    }
	.nav {
		top: 60px;
	}
	.lang-btn {
	margin: 12px 18px;
	}
 }
/* -------------------- Breadcrumb -------------------- */

.crumbs{
	display:table;
	font-size: .9rem;
    color: var(--accent);
    padding: 1rem 0 0;
    margin-bottom: 30px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.crumbs a {
    color: var(--accent-deep);
    text-decoration: underline;
	transition: all 0.5s ease 0s;
}
.crumbs a:hover {color:var(--teal);transition: all 0.5s ease 0s;}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.crumbs li+li::before{content:"›";margin-right:.4rem}


/* -------------------- Hero -------------------- */
.hero{
  position:relative;
  background:url(../images/hero-bg.png) var(--secondary-light) no-repeat center bottom;
  background-size: cover;
  border-bottom:4px solid var(--accent);
  padding: 40px 0 60px;
  text-align:center
}

.hero-inner{ position:relative;}
.hero .box-grid-2 > *{ min-width:0; }
.hero .kicker {
    display: inline-block;
    background: var(--secondary);
	border:1px solid var(--secondary-deep);
    color:#000;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .2rem .9rem;
	margin-bottom:15px;
    border-radius: var(--radius-pill);
}
.hero .head-left {text-align:left}
.hero .head-left .crumbs {display:block}
.hero h1{
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color:var(--primary);
  font-weight:800;
  margin-bottom: 18px;
	max-width: 21ch;
	margin-left: auto;
	margin-right: auto;
}
.hero p.lead{
  color:var(--ink);
  font-size: 19px;
  max-width: 66ch;
  margin-bottom: 20px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:auto
}

.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-image-wrap {
	  border-radius: 24px;
	  overflow: hidden;
	  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
	}
.hero-image-wrap img { width:100%; }
@media (min-width: 768px) {
    .hero-image-wrap {
        aspect-ratio: 3/2;
		margin-top:60px;
    }
	.hero-image-wrap figure {
        aspect-ratio: 3/2;
    }
    .hero-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }
	.hero-image-wrap:hover img { transform: scale(1.04); }
}
@media (max-width:767px){
  .hero{ padding: 40px 0 48px; }
  .hero p.lead{ font-size:17px; margin-bottom:10px; }
  .hero-image-wrap{ margin-top:10px; border-radius:18px; box-shadow:0 12px 30px rgba(0,0,0,0.35); }
}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:24px auto 0;max-width:80ch;}
.chips a{display:inline-block;padding:7px 14px;border-radius:999px;background: rgba(255, 255, 255, .60);border:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:600;font-size:.9rem}
.chips a:hover{border-color:var(--secondary-deep);background:var(--secondary-deep);color:var(--white)}

figure {margin:0;border-radius:15px;}
figure img {border-radius:5px;}
.caption {font-family:"Times New Roman", Times, serif;text-align:center; font-size:1.2rem; color:var(--ink-soft); line-height:120%; font-style:italic; padding:6px}
.content-left figure {background: rgba(250, 250, 250, 0.7);box-shadow: 0 3px 6px -6px black;}
/* Category grid (index page) */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); gap: 18px;margin-bottom:30px;
}
ul.category-grid {
  padding-left:0
}
.category-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 0 rgba(10,31,61,0.03);
}
ul li.category-card {paddingt:20px; padding-left:20px !important;}
ul li.category-card a {text-decoration:none;}
.category-card:hover, .category-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.category-card p, .category-card a p {color:var(--ink-soft);margin-top:5px; margin-bottom:0; line-height:130%; font-size:1rem;}
.category-card h3 { margin: 8px 0 10px; color:var(--teal) }
.category-card .sample {
  margin-top: auto; font-size: 0.88rem; color: var(--ink-soft);
  border-top: 1px dashed var(--line); padding-top: 10px;
}
.category-card .sample strong { color: var(--ink); font-family: var(--font-display); }
.category-card .go { color: var(--teal-dark); font-weight: 700; font-size: 0.92rem; }

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 10px;
    align-items: start;
}
.profile-card {border:1px solid var(--border); border-radius:var(--radius); padding:10px; margin-bottom:15px;}
@media (max-width:767px) {
	.profile-grid {
    grid-template-columns: 1fr;
	}
}

/* Steps (genuine sequence) */
.steps { counter-reset: step; padding-left: 15px; }
.step, ol.steps li { position: relative; list-style-type:none;padding-left: 45px !important; margin-bottom:20px !important; }
.step::before, ol.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 400;
}

/* ---------- Jump nav ---------- */
.jumpnav{padding:28px 0 0;}
.jumpnav .h2{display:block;font-size:1.05rem; font-weight:700; color:var(--text-dim); margin:0 0 16px;}
.chip-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(min(180px,100%),1fr)); gap:10px; list-style:none; margin:0; padding:0;}
.chip{
  display:flex; align-items:center; gap:10px;
  border:2px solid var(--sun); border-radius:3px;
  padding:11px 12px; text-decoration:none; color:var(--text);
  font-size:.92rem; background:var(--soft-yellow); line-height:140%; min-height:70px;
  transition:border-color .15s, transform .15s;
}
.chip:hover, .chip:focus-visible{border-color:var(--orange); background:var(--soft-yellow);color:var(--gold-deep); transform:translateX(2px);}
.chip .ico{width:22px; height:22px; flex:none; color:var(--cream);}

/* ---------- Fast facts ---------- */
/*.facts{padding:20px 0 64px;}*/
.facts-panel{background:var(--green-deep); border:1px solid var(--green-mid); border-radius:15px; padding:40px; color:var(--parchment)}
.facts-panel h2{color:var(--cream);font-family:var(--font-display); font-weight:600; font-size:1.7rem; margin:0 0 8px;}
.facts-panel > p{color:var(--parchment-mid); margin:0 0 28px; max-width:60ch;}
.fact-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:22px;}
.fact-list li{padding-left:20px; border-left:2px solid var(--sun); font-size:.96rem; color:var(--cream);}
.fact-list li:nth-child(even){border-left-color:var(--teal);}

@media (max-width:600px){.facts-panel{padding:28px 20px;}}

.facts{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin:1rem 0}
.fact{background:var(--white);border:2px dashed var(--sun);border-radius:var(--radius);padding:1rem;text-align:center; line-height:130%}
.fact b{display:block;font-weight:800;font-size:1.5rem;color:var(--orange-dark); margin-bottom:10px}


/** BUTTONS **/
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-display);
  font-weight:700; font-size:16px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn-primary, a.btn-primary {
  background: var(--teal); color:#fff;
  box-shadow: 0 5px 0 0 var(--shadow);
  text-decoration:none !important;
}
.btn-primary:hover{ box-shadow: 0 3px 0 0 var(--shadow); }
.btn-teal {
  background: var(--teal); color:#fff;
  box-shadow: 0 8px 0 0 var(--teal-d);
  text-decoration:none !important;
}
.btn-teal:hover{ box-shadow: 0 6px 0 0 var(--teal-d); }
.btn-small{ padding: 9px 18px; font-size:14px; }


/**************** CONTENT GRID **********/

.content-grid {
		display: grid;
		grid-template-columns:minmax(0,1fr) 300px;
		gap: 25px;
		padding: 50px 0;
		align-items: start;
	}
.content-left, .sidebar { min-width:0; }
@media (max-width:991px) {
	.content-grid { grid-template-columns:minmax(0,1fr) 260px; gap:20px; }
}
@media (max-width:767px) {
	 .content-grid {
		 grid-template-columns:minmax(0,1fr);
		 padding: 30px 0;
		}
}
.content-left ol li, .content-left ul li {padding-left:8px;margin-bottom: 10px;}
.content-left a {text-decoration:underline}
/* -------------------- Section framing -------------------- */
section{ padding: 30px 0 0;}
section:last-child {border:none;}
.section.tint {background: var(--page-accent-tint);padding:40px 20px; margin-top:40px;border-radius:20px;}
.section-head{margin-bottom: 5px; }
.section-head .kicker {
    color: var(--teal);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
	}
.section-head h2{ font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head p{ color: var(--ink-soft); font-size:17px; }
.on-dark .section-head p{ color:#C9D2EE; }
.on-dark{ background: var(--ink); color:#fff; }
.on-dark h2{ color:#fff; }
.on-dim{ background: var(--paper-dim); }

/* Callout / fun facts */
.callout {
  background: var(--cream); border-left: 6px solid var(--orange); border-radius: var(--radius-card);
  padding: 20px;margin:25px 0;
  box-shadow:var(--shadow);
}
.callout-02 {
  background: var(--cream); border-left: 6px solid var(--teal); border-radius: var(--radius-card);
  padding: 20px;margin-bottom:15px;
}
.callout strong, .callout-02 strong {font-weight:800;}
.callout ul, .callout-02 ul { margin: 0; padding-left: 1.2em; }
.callout li, .callout-02 li { margin-bottom: 8px; padding-left:0 !important}
.callout p:first-child, .callout-02 p:first-child { margin-top: 0; }
.callout li:last-child, .callout p:last-child, .callout-02 li:last-child, .callout-02 p:last-child { margin-bottom: 0; }
@media (max-width:480px){
  .callout, .callout-02 { padding:16px; }
}

/*---- TABLE    ---*/

table{border-collapse:collapse;width:100%;background:var(--white);border-radius:12px;overflow:hidden}
th{background:var(--teal);color:#fff}
th, td {padding:.7rem .9rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top; line-height:130%;}
caption{caption-side:bottom;text-align:left;color:var(--muted);font-size:.9rem;padding:.5rem}
@media (max-width:500px) {
	table {font-size:0.95rem}
}

.table-responsive{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:1rem 0 1.5rem;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--white);
  max-width:100%;
}
.table-responsive:focus-visible{ outline:3px solid var(--sunshine); outline-offset:2px; }
.table-general{
  font-size:.95rem;
  margin:0;
  border-radius:0;
  overflow:visible;
}
.table-general.wide{
  min-width:680px;
}
.table-general tbody th{
  background:var(--soft-mint);
  color:var(--ink);
  font-family:var(--font-display);
  font-weight:700;
  white-space:nowrap;
}
.table-general tbody tr:nth-child(even) td{ background:#f7fbfb; }
.table-general thead th:first-child,
.table-general tbody th{
  /*position:sticky;*/
  text-align:left;
  left:0;
  z-index:1;
}
.table-general thead th:first-child{ z-index:2; }
@media (max-width:500px){
  .table-general.wide{ min-width:620px; }
  .table-general th, .table-general td{ padding:.55rem .65rem; }
}

/* ---------- FAQ ---------- */
.faq{padding:45px 0 24px;}
.home .faq{padding:0 0 24px;}
.faq details{
  border-bottom:1px solid var(--line); padding:18px 0;
}
.faq summary{
  cursor:pointer; font-weight:800; font-size:1.03rem;
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+"; color:var(--teal); flex:none; font-size:1.3rem; line-height:1;}
.faq details[open] summary::after{content:"–";}
.faq p{ margin:14px 0 0 10px; max-width:70ch;}
@media (max-width:480px){
  .faq{padding:30px 0 16px;}
  .faq h2{font-size:1.6rem;}
  .faq details{padding:14px 0;}
  .faq p{margin-left:0;}
}

.more, .more-02 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr));
    gap: .4rem 1rem;
	list-style: none;
    padding: 0;
    margin: 0;
}
.more li, .more-02 li{ padding-left:0; margin-bottom:0; }
.more li a, .more-02 li a {
	display: flex;
	align-items: center;
	justify-content: center;
    padding: 3px 12px;
    text-align: center;
    font-weight: 600;
	height:100%;
	line-height:130%;
	text-decoration:none;
	transition: all 0.5s ease 0s;
}
.more li a {
    background: var(--earthy-brown);
    border: 2px solid var(--earthy-brown);
    border-radius: var(--radius);
    color: var(--white);
}
.more li a:hover {background: rgba(255, 255, 255, .40); color:var(--earthy-brown);border: 2px solid var(--earthy-brown-light);transition: all 0.5s ease 0s;}
.more-02 li a {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
    color: var(--ink);
}
.more-02 li a:hover {background:none; color:var(--primary-deep);transition: all 0.5s ease 0s;}
.pager {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* ═══════════════════════════════════════════════
       ASIDE RIGHT CONTAINER
    ═══════════════════════════════════════════════ */
	.sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 22px; }
	/* FIX: sticky only makes sense beside the content; when stacked it should flow normally */
	@media (max-width:767px) {
		.sidebar { position: static; }
	}
	.panel-card {
		background: var(--white);
		border:1px solid var(--line);
		border-radius: var(--radius-card);
		padding: 20px;
		box-shadow: 0 8px 20px -16px rgba(46,26,82,0.4);
	}
	.panel-card h3, .panel-card .h3, .panel-card .section-head{
		font-family: var(--font-display);
		color: var(--teal-dark);
		display: block;
		font-size: 1.3rem;
		margin: 0 0 14px;
		font-weight: 600;
		padding-bottom: 2px;
		border-bottom:2px solid var(--line);
	}
	.panel-link { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border);transition: all 0.5s ease 0s; }
	.panel-link:last-child { border-bottom: none; }
	.panel-link img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
	.panel-link span { font-weight: 700; font-size: 0.9rem; line-height: 1.3;transition: all 0.5s ease 0s;  }
	.panel-link:hover span {padding-left:5px;transition: all 0.5s ease 0s; }
	.panel-card .discover-list a { display: block; padding: 7px 0; font-weight: 600; font-size: 0.92rem; border-bottom: 1px dashed var(--border);transition: all 0.5s ease 0s; }
	.panel-card .discover-list a:last-child { border-bottom: none; }
	.panel-card .discover-list a:hover { color: var(--ink); padding-left:10px; transition: all 0.5s ease 0s; }
	.panel-card br {display:none}
	
	.newsletter {
	background: linear-gradient(135deg, #066a61, #1f9c91);
	color: #fff; border: none;
	}
	.newsletter .h3 { color: #fff; }
	.newsletter p { font-size: 0.86rem; opacity: 0.92; margin: 0 0 14px; }
	.newsletter input[type=text], .newsletter input[type=email] {
	width: 100%; padding: 11px 14px; border-radius: 12px; border: none;
	font-family: inherit; font-size: 0.92rem; margin-bottom: 10px;
	}
	.newsletter input[type=submit] {
	width: 100%; padding: 11px; border-radius: 12px; border: none;
	background: var(--secondary); color: var(--ink); font-weight: 800;
	cursor: pointer; transition: transform 0.2s ease;
	}
	.newsletter input[type=submit]:hover { transform: translateY(-2px); }
	
	
 /* ═══════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════ */
	.foot-banner {
		background:var(--parchment);
		padding:25px 0;
		}
	.foot-banner .container {
		padding:15px;
		}
    .site-footer {
      background: var(--ink);
      color: rgba(255,255,255,0.65);
      padding: clamp(36px, 5vw, 60px) clamp(16px, 5vw, 60px) 28px;
    }
    
    .footer-bottom {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		justify-content: space-between;
		color: #8B96BE;
		padding-bottom: 20px;
    	margin-bottom: 20px;
    }
	@media (max-width:767px) {
		.footer-bottom {
			display:block;
			text-align: center;
		}
		.foot-left, .foot-right {margin-bottom:10px;}
	}
	.footer-bottom a { color: rgba(255,255,255,0.5); text-transform:uppercase; font-size:0.8rem; text-decoration:none; padding-left:6px; padding-right:6px; transition: all 0.6s ease 0s; display:inline-block; }
    .footer-bottom a:hover { color: var(--sky); text-decoration:underline;transition: all 0.6s ease 0s; }
	/*** SECTION FOOTER **/
	.site-footer .bann-wrap {background:rgba(255,255,255,0.9); padding:10px; margin:15px 0; border-radius:15px; overflow:hidden}
	.site-footer .wrap {max-width:unset;}
	.foot-sections {padding:0 16px}
	.foot-sections .h3, .foot-sections .foot-head { display:block;font-family: var(--font-display); color: var(--gold-soft); font-size: 1.8rem; margin: 0 0 16px; font-weight:600 }
    .foot-sections ul {
	  list-style: none; padding: 0; margin: 0;
	  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 18px;
    }
    .foot-sections a { text-decoration:none; font-size:0.9rem; color:var(--parchment);transition: all 0.5s ease 0s; }
    .foot-sections a:hover { color:var(--pink); text-decoration:underline;transition: all 0.5s ease 0s; }
    
	@media (max-width:767px) {
		.footer-col ul {padding: 0; margin: 0;display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 18px;}
		.foot-sections {padding:0} 
		.foot-sections ul {grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
		.foot-sections .h3, .foot-sections .foot-head { font-size:1.5rem; }
	}


/* -------------------- Focus visibility -------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible{
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
}

/* -------------------- Responsive -------------------- */
/* FIX: the old rule `section{ padding: 44px 0; }` here added 44px of space
   above AND below every section on phones (88px gaps). Spacing is now
   consistent with the desktop rule, just slightly tighter. */
@media (max-width: 640px){
  section{ padding: 22px 0 0; }
  .memory-grid{ grid-template-columns: repeat(3,1fr); }
  .callout{ flex-direction:column; align-items:flex-start; }
}

/* -------------------- Responsive grids -------------------- */
.box-grid-2, .box-grid-3 {
	display:grid;
	gap:15px;
}
.box-grid-2 {
	grid-template-columns: repeat(2, minmax(0,1fr))
}
.box-grid-3 {
	grid-template-columns: repeat(3, minmax(0,1fr))
}
ul.box-grid-2, ul.box-grid-3 {
	padding-left:0 
}
ul.box-grid-2 li, ul.box-grid-3 li {
	list-style:none;
	list-style-type:none;
	padding-left:0
}
@media (max-width:991px) {
	.box-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:767px) {
	.box-grid-2, .box-grid-3 {
		grid-template-columns:minmax(0,1fr)
	}
}
@media (max-width:480px) {
	.wall-link-grid { grid-template-columns:minmax(0,1fr); }
}
.box-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 15px;
}


/*********** HOME NAV *****/
.card a{display:flex;flex-direction:column;gap:6px;height:100%;padding:15px;border-radius:var(--radius);background:var(--white);border:1px solid var(--line);text-decoration:none;color:var(--ink);box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.card a:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(60,40,10,.14)}
.card img {aspect-ratio: 4 / 3; margin-left:auto; margin-right:auto}
.card .ico{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;font-size:1.7rem}
.card h3{font-size:1.2rem;font-weight:700;margin:6px 0 0;}
.card p{margin:0;font-size:.95rem;color: var(--ink-soft);flex:1; line-height: 140%}

/* ---------- Back to top ---------- */
#myBtn {
  display: none;
  position: fixed;
  bottom: 55px;
  right: 55px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--orange);
  border: 2px solid var(--orange);
  color: white;
  cursor: pointer;
  padding:12px 15px;
  width:46px; height:46px; border-radius:50%;
  transition: all 0.5s ease 0s;
}

#myBtn:hover {
  color:var(--teal-dark);
  background-color:#fff;
  border:2px solid var(--teal-dark);
  transition: all 0.5s ease 0s;
}
@media (max-width:991px) {#myBtn {right: 25px;}}
@media (max-width:480px) {#myBtn {right: 16px; bottom: 24px;}}
/*--------------  MISCELLANEOUS ---------------*/
.mt-0 {margin-top:0}
.mt-15 {margin-top:15px}
.mb-0 {margin-bottom:0}
.mb-15 {margin-bottom:15px}
.text-center {text-align:center}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

.center-block {display:block; margin-left:auto; margin-right:auto}
/********  google translater   *****/
.google-translator {
	display:table;
	position:fixed;
	font-size:14px;
	color:#000;
	bottom:0;
	top:auto;
	left:50%;
	right:auto;
	transform:translateX(-50%);
	-webkit-transform:translateX(-50%);
	-moz-transform:translateX(-50%);
	-ms-transform:translateX(-50%);
	-o-transform:translateX(-50%);
	background:rgba(255, 255, 255, .9);
	z-index:3;
	padding:15px;
	-webkit-box-shadow:0 0 7px 5px rgba(0, 0, 0, .15);
	-moz-box-shadow:0 0 7px 5px rgba(0, 0, 0, .15);
	box-shadow:0 0 7px 5px rgba(0, 0, 0, .15)
}
#close {
	float:right;
	padding:0 5px;
	z-index:3;
	color:#9e9e9e;
	margin:-14px;
	cursor:pointer
}
