/*
 Theme Name:   Astra Child – Aaj Kya Pehnu
 Template:     astra
 Version:      2.0.0
 Description:  Custom child theme for aajkyapehnu.in – Coral & Sage palette
*/

/* ── PALETTE + OVERRIDE ASTRA GLOBALS ───────────────────────────────────────*/
:root {
  --coral:   #e8654a;
  --coral-d: #cf5339;
  --sage:    #5a8a6a;
  --sage-l:  #d4ead9;
  --dark:    #1e2d23;
  --light:   #f6f9f6;
  --text:    #2c3e30;
  --muted:   #6b7c71;
  --white:   #ffffff;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(232,101,74,.14);

  /* Override Astra's inline color variables */
  --ast-global-color-0: #e8654a !important;
  --ast-global-color-1: #cf5339 !important;
  --ast-global-color-2: #1e2d23 !important;
  --ast-global-color-3: #6b7c71 !important;
  --ast-global-color-4: #e8654a !important;
  --ast-global-color-5: #5a8a6a !important;
}

/* Override Astra link colors globally */
a { color: #e8654a !important; }
a:hover, a:focus { color: #cf5339 !important; }

/* ── RESET OVERFLOW ──────────────────────────────────────────────────────────*/
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ── FORCE HOMEPAGE FULL WIDTH ───────────────────────────────────────────────*/
/* Nuke every Astra container that could restrict width on the homepage */
body.akp-homepage .ast-container,
body.akp-homepage .ast-site-content-wrap,
body.akp-homepage #content.site-content,
body.akp-homepage .site-content,
body.akp-homepage .ast-content-layout-wrapper,
body.akp-homepage #primary,
body.akp-homepage .content-area,
body.akp-homepage main#main,
body.akp-homepage #main,
body.akp-homepage .ast-separate-container,
body.akp-homepage .ast-two-container,
body.akp-homepage article.hentry,
body.akp-homepage .hentry,
body.akp-homepage .entry-content,
body.akp-homepage .page-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Force entry-content to not be a flex/grid row */
body.akp-homepage .entry-content > * { width: 100% !important; float: none !important; }

/* Hide page title, breadcrumbs, featured image on homepage */
body.akp-homepage .entry-header,
body.akp-homepage .ast-breadcrumbs-wrapper,
body.akp-homepage .post-thumbnail,
body.akp-homepage .ast-author-box,
body.akp-homepage .ast-article-post,
body.akp-homepage .ast-page-title-bar { display: none !important; }

/* Remove any Astra padding from the page wrapper */
body.akp-homepage .ast-plain-container .site-content { padding: 0 !important; }

/* ── HEADER ──────────────────────────────────────────────────────────────────*/
.site-header, #masthead {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
  padding: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
}
.ast-primary-header-bar { min-height: 60px !important; padding: 0 24px !important; }
.ast-site-identity { padding: 8px 0 !important; }

/* Text logo */
.site-title a {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #e8654a !important;
  text-decoration: none !important;
}

/* Nav links */
.main-navigation a,
.ast-header-menu-items a,
#ast-hf-menu-1 a {
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: #1e2d23 !important;
  padding: 7px 13px !important;
  border-radius: 6px !important;
  transition: background .18s, color .18s !important;
}
.main-navigation a:hover,
.ast-header-menu-items a:hover,
#ast-hf-menu-1 a:hover {
  background: #e8654a !important;
  color: #ffffff !important;
}
.current-menu-item > a { color: #e8654a !important; }

/* ── SALE TICKER ─────────────────────────────────────────────────────────────*/
.akp-sale-banner {
  background: #1e2d23;
  color: #ffffff;
  text-align: center;
  padding: 11px 24px;
  font-size: .85rem;
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
}
.akp-sale-banner a { color: #ffd580 !important; font-weight: 700; text-decoration: none; }
.akp-sale-banner a:hover { text-decoration: underline; }

/* ── HERO ────────────────────────────────────────────────────────────────────*/
.akp-hero {
  background: linear-gradient(150deg, #fff9f7 0%, #f3fbf5 50%, #fff9f7 100%);
  padding: 80px 24px 72px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.akp-hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,74,.08) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.akp-hero-eyebrow {
  display: inline-block;
  background: #d4ead9;
  color: #5a8a6a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.akp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #1e2d23;
  margin: 0 0 18px;
  line-height: 1.12;
}
.akp-hero h1 span { color: #e8654a; }
.akp-hero p {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: #6b7c71;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.akp-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.akp-btn-primary {
  display: inline-block;
  background: #e8654a;
  color: #ffffff !important;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(232,101,74,.35);
  transition: transform .2s, box-shadow .2s;
}
.akp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,101,74,.45);
  color: #ffffff !important;
}
.akp-btn-outline {
  display: inline-block;
  background: transparent;
  color: #5a8a6a !important;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid #5a8a6a;
  transition: background .2s, color .2s;
}
.akp-btn-outline:hover { background: #5a8a6a; color: #ffffff !important; }

/* ── STATS ───────────────────────────────────────────────────────────────────*/
.akp-stats-bar {
  background: #5a8a6a;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}
.akp-stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
@media(max-width:600px){ .akp-stats-inner { grid-template-columns: repeat(2,1fr); } }
.akp-stat-num { font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1; }
.akp-stat-label { font-size: .72rem; color: rgba(255,255,255,.8); margin-top: 3px; }

/* ── SHARED SECTION ──────────────────────────────────────────────────────────*/
.akp-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.akp-section { padding: 64px 0; width: 100%; box-sizing: border-box; }
.akp-section-bg { background: #f6f9f6; }
.akp-section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #1e2d23;
  margin: 0 0 8px;
  text-align: center;
}
.akp-section-title span { color: #e8654a; }
.akp-section-sub {
  text-align: center;
  color: #6b7c71;
  margin: 0 0 40px;
  font-size: .95rem;
}

/* ── CATEGORY CARDS ──────────────────────────────────────────────────────────*/
.akp-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media(max-width:900px){ .akp-cats-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .akp-cats-grid { grid-template-columns: 1fr 1fr; gap:10px; } }

.akp-cat-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  text-decoration: none !important;
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.akp-cat-card:hover { transform: translateY(-4px); box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.akp-cat-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.akp-cat-label {
  padding: 12px 14px 14px;
  font-weight: 700;
  font-size: .9rem;
  color: #1e2d23;
  text-align: center;
}
.akp-cat-label span {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: #6b7c71;
  margin-top: 2px;
}

/* ── AI CTA BOX ──────────────────────────────────────────────────────────────*/
.akp-rec-cta {
  background: linear-gradient(135deg, #1e2d23 0%, #2c4a35 100%);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.akp-rec-cta-emoji { font-size: 2rem; margin-bottom: 14px; }
.akp-rec-cta h2 { color: #fff; font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; margin: 0 0 14px; }
.akp-rec-cta p { color: rgba(255,255,255,.72); margin: 0 0 30px; font-size: .98rem; line-height: 1.75; }

/* ── BLOG POSTS GRID ─────────────────────────────────────────────────────────*/
.akp-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media(max-width:900px){ .akp-posts-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px){ .akp-posts-grid { grid-template-columns: 1fr; } }

.akp-post-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.akp-post-card:hover { transform: translateY(-3px); box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.akp-post-thumb {
  height: 175px;
  background: linear-gradient(135deg, #fdf0ec, #edf5ef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  overflow: hidden;
}
.akp-post-thumb img { width:100%; height:100%; object-fit:cover; }
.akp-post-body { padding: 18px 20px 22px; }
.akp-post-cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e8654a;
  margin-bottom: 6px;
}
.akp-post-body h3 { font-size: .97rem; font-weight: 700; margin: 0 0 8px; line-height: 1.45; color: #1e2d23; }
.akp-post-body h3 a { color: inherit !important; text-decoration: none !important; }
.akp-post-body h3 a:hover { color: #e8654a !important; }
.akp-post-excerpt { font-size: .83rem; color: #6b7c71; line-height: 1.65; margin-bottom: 12px; }
.akp-read-more { font-size: .8rem; font-weight: 700; color: #5a8a6a !important; text-decoration: none !important; }
.akp-read-more::after { content: ' →'; }

/* ── PARTNER STORES (new design) ─────────────────────────────────────────────*/
.akp-stores-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media(max-width:900px){ .akp-stores-grid-new { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .akp-stores-grid-new { grid-template-columns: 1fr; } }

.akp-store-card-new {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .22s, box-shadow .22s;
  border: 2px solid transparent;
}
.akp-store-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
  border-color: #e8654a;
}

.akp-store-card-top {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.myntra-bg  { background: linear-gradient(135deg, #ff3f6c, #ff6b92); }
.amazon-bg  { background: linear-gradient(135deg, #232f3e, #37475a); }
.ajio-bg    { background: linear-gradient(135deg, #1b1b1b, #333); }
.nykaa-bg   { background: linear-gradient(135deg, #fc2779, #ff6eb3); }

.akp-store-logo-text {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
}
.myntra-text, .nykaa-text { color: rgba(255,255,255,.95); }
.amazon-text { color: #ff9900; font-size: 2.6rem; font-family: Georgia, serif; }
.ajio-text   { color: #fff; font-size: 1.5rem; letter-spacing: 2px; }

.akp-store-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.akp-store-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.akp-store-name-lg {
  font-size: 1rem;
  font-weight: 800;
  color: #1e2d23;
  margin-bottom: 6px;
}
.akp-store-desc {
  font-size: .8rem;
  color: #6b7c71;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.akp-store-perks {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}
.akp-store-perks span {
  font-size: .72rem;
  color: #5a8a6a;
  font-weight: 600;
}
.akp-store-cta {
  text-align: center;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  transition: opacity .2s;
}
.akp-store-card-new:hover .akp-store-cta { opacity: .85; }
.myntra-btn { background: #fff0f4; color: #ff3f6c; }
.amazon-btn { background: #fff8ee; color: #c45500; }
.ajio-btn   { background: #f5f5f5; color: #1b1b1b; }
.nykaa-btn  { background: #fff0f6; color: #fc2779; }

.akp-affiliate-note {
  text-align: center;
  font-size: .75rem;
  color: #6b7c71;
  margin-top: 28px;
}
.akp-affiliate-note a { color: #e8654a; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────*/
#akp-custom-footer {
  background: #1e2d23;
  color: rgba(255,255,255,.75);
  width: 100%;
  margin-top: 0;
}

/* Newsletter strip */
.akp-footer-newsletter-strip {
  background: linear-gradient(135deg, #e8654a 0%, #d14e34 100%);
  padding: 28px 0;
}
.akp-footer-nl-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.akp-footer-nl-text strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}
.akp-footer-nl-text span { font-size: .85rem; color: rgba(255,255,255,.82); }
.akp-footer-nl-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.akp-footer-nl-form input[type="email"] {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-size: .85rem;
  width: 220px;
  outline: none;
}
.akp-footer-nl-form input::placeholder { color: rgba(255,255,255,.6); }
.akp-footer-nl-form button {
  background: #fff;
  color: #e8654a;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.akp-footer-nl-form button:hover { background: #fff5f3; }
@media(max-width:700px){
  .akp-footer-nl-inner { flex-direction: column; align-items: flex-start; }
  .akp-footer-nl-form { width: 100%; }
  .akp-footer-nl-form input { flex: 1; width: auto; }
}

/* Main footer grid */
.akp-footer-main { background: #1e2d23; padding: 56px 0 16px; }
.akp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
  gap: 40px;
}
@media(max-width:900px){ .akp-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width:500px){ .akp-footer-grid { grid-template-columns: 1fr; } }

.akp-footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: #e8654a !important;
  text-decoration: none !important;
  display: inline-block;
  margin-bottom: 10px;
}
.akp-footer-brand p {
  font-size: .83rem;
  line-height: 1.75;
  color: rgba(255,255,255,.52);
  margin: 0 0 14px;
}
.akp-footer-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.akp-footer-trust span {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
  padding: 4px 10px;
  border-radius: 20px;
}
.akp-footer-social { display: flex; gap: 8px; }
.akp-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  color: rgba(255,255,255,.7) !important;
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.akp-footer-social a:hover { background: #e8654a; color: #fff !important; }

.akp-footer-col h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: 0 0 12px;
}
.akp-footer-col ul { list-style: none; margin: 0; padding: 0; }
.akp-footer-col li { margin-bottom: 8px; }
.akp-footer-col li a {
  color: rgba(255,255,255,.68) !important;
  text-decoration: none !important;
  font-size: .84rem;
  transition: color .18s;
}
.akp-footer-col li a:hover { color: #e8654a !important; }

.akp-footer-app-note {
  margin-top: 20px;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 12px 14px;
}
.akp-footer-app-note p {
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  margin: 0;
  line-height: 1.7;
}

/* Bottom bar */
.akp-footer-bottom-bar {
  background: rgba(0,0,0,.25);
  padding: 16px 0;
  margin-top: 36px;
}
.akp-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.akp-footer-bottom-inner p {
  font-size: .73rem;
  color: rgba(255,255,255,.32);
  margin: 0;
}
.akp-footer-disclaimer { font-style: italic; }

/* Hide Astra footer */
.ast-copyright-wrapper, .ast-footer-copyright, .ast-small-footer { display: none !important; }
.site-footer { padding: 0 !important; background: none !important; }
footer.site-footer > *:not(#akp-custom-footer) { display: none !important; }

/* ── SINGLE BLOG POST ────────────────────────────────────────────────────────*/

/* Post title + meta area */
.single-post .entry-title,
.single .entry-title {
  color: #1e2d23 !important;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
}

/* Category breadcrumb pill */
.single-post .ast-breadcrumbs a,
.single-post .ast-breadcrumbs span { color: #5a8a6a !important; }

/* Post meta (date, author) */
.single-post .posted-on a,
.single-post .byline a,
.single-post .ast-blog-single-meta a { color: #6b7c71 !important; }

/* Post content typography */
.single-post .entry-content,
.single .entry-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2c3e30;
}
.single-post .entry-content h2 {
  color: #1e2d23 !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin: 2.2rem 0 .8rem !important;
  padding-bottom: 8px;
  border-bottom: 2px solid #d4ead9;
}
.single-post .entry-content h3 {
  color: #1e2d23 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin: 1.6rem 0 .6rem !important;
}
.single-post .entry-content p { margin-bottom: 1.2rem; }
.single-post .entry-content a { color: #e8654a !important; text-decoration: underline; }
.single-post .entry-content ul,
.single-post .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2rem; }
.single-post .entry-content li { margin-bottom: .4rem; }
.single-post .entry-content strong { color: #1e2d23; }

/* Affiliate block — override any inline pink */
.single-post .entry-content div[style*="fff5f8"],
.single-post .entry-content div[style*="e91e8c"] {
  background: #f3fbf5 !important;
  border-left-color: #5a8a6a !important;
}

/* Post featured image */
.single-post .wp-post-image {
  border-radius: 12px;
  margin-bottom: 28px;
}

/* Post header area background */
.single-post .ast-page-title-bar,
.single .ast-page-title-bar {
  background: linear-gradient(135deg, #fff9f7 0%, #f3fbf5 100%) !important;
  padding: 40px 0 32px !important;
}
.single-post .ast-page-title-wrap .entry-title {
  max-width: 800px;
}

/* Category tag above title */
.single-post .ast-blog-single-meta .cat-links a,
.single-post .entry-meta .cat-links a {
  background: #d4ead9 !important;
  color: #5a8a6a !important;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Reading progress feel — max width on content */
.single-post #primary,
.single #primary {
  max-width: 780px;
  margin: 0 auto;
}

/* Back to blog link */
.single-post .ast-page-title-bar + .site-content,
.single .ast-content-top-bar { display: none; }

/* Related posts / post nav */
.post-navigation .nav-previous a,
.post-navigation .nav-next a { color: #e8654a !important; }
.post-navigation { border-top: 1px solid #d4ead9; padding-top: 24px; margin-top: 40px; }

/* ── MOBILE ──────────────────────────────────────────────────────────────────*/
@media(max-width:768px){
  .akp-hero { padding: 52px 20px 48px; }
  .akp-rec-cta { padding: 36px 24px; }
  .akp-section { padding: 44px 0; }
  .akp-footer-main { padding: 40px 0 16px; }
  .akp-footer-grid { padding: 0 20px; }
  .akp-stores-grid-new { gap: 14px; }
}

/* ── FORCE FOOTER VISIBILITY ────────────────────────────────────────────────*/
footer.site-footer .site-below-footer-wrap,
footer.site-footer .ast-builder-grid-row-container,
footer.site-footer .ast-footer-copyright,
footer.site-footer .ast-builder-footer-grid-columns,
footer.site-footer .site-footer-below-section-1,
footer.site-footer .ast-builder-layout-element,
.ast-small-footer,
.ast-copyright-wrapper { display: none !important; }

#akp-custom-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}
#akp-custom-footer .akp-footer-main {
  background: #1e2d23 !important;
  color: #fff !important;
}
#akp-custom-footer .akp-footer-bottom {
  background: #171f1b !important;
  color: rgba(255,255,255,.5) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG ARCHIVE / CATEGORY PAGES — fashion magazine grid layout
   ══════════════════════════════════════════════════════════════════════════ */

/* Hide default blog header clutter */
body.blog .ast-container > .entry-content,
body.archive .ast-container > .entry-content { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }

body.blog #primary,
body.archive #primary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
  float: none !important;
  width: 100% !important;
}

body.blog #primary > *,
body.archive #primary > * {
  grid-column: 1 / -1;
}

/* Blog grid container */
body.blog article.post,
body.archive article.post {
  grid-column: auto !important;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.07) !important;
  border: 1px solid #edf5ef !important;
  transition: transform .25s, box-shadow .25s !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

body.blog article.post:hover,
body.archive article.post:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.12) !important;
}

/* Featured image - make it the hero */
body.blog article.post .post-thumb,
body.blog article.post .ast-blog-single-element.ast-blog-featured-section,
body.blog article.post .ast-article-inner > a:first-child,
body.archive article.post .post-thumb,
body.archive article.post .ast-blog-featured-section {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f6f9f6;
}

body.blog article.post img,
body.archive article.post img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform .5s ease;
  border-radius: 0 !important;
}
body.blog article.post:hover img,
body.archive article.post:hover img {
  transform: scale(1.05);
}

/* Card body */
body.blog article.post .ast-article-inner,
body.archive article.post .ast-article-inner {
  padding: 20px 22px 22px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.blog article.post .entry-header,
body.archive article.post .entry-header {
  margin: 0 !important;
  padding: 0 !important;
}

body.blog article.post .entry-title,
body.archive article.post .entry-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
  color: #1e2d23 !important;
}

body.blog article.post .entry-title a,
body.archive article.post .entry-title a {
  color: #1e2d23 !important;
  text-decoration: none !important;
  transition: color .15s;
}
body.blog article.post .entry-title a:hover,
body.archive article.post .entry-title a:hover {
  color: #e8654a !important;
}

/* Meta (date, author, category) */
body.blog article.post .entry-meta,
body.blog article.post .post-meta,
body.archive article.post .entry-meta,
body.archive article.post .post-meta {
  font-size: .72rem !important;
  color: #6b7c71 !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 8px !important;
  order: -1;
}
body.blog article.post .entry-meta a,
body.archive article.post .entry-meta a {
  color: #5a8a6a !important;
  font-weight: 700;
}

/* Excerpt */
body.blog article.post .entry-content,
body.blog article.post .entry-summary,
body.archive article.post .entry-content,
body.archive article.post .entry-summary {
  font-size: .88rem !important;
  color: #6b7c71 !important;
  line-height: 1.5 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* Read more link */
body.blog article.post .read-more,
body.blog article.post .ast-continue-reading a,
body.archive article.post .read-more,
body.archive article.post .ast-continue-reading a {
  display: inline-block !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  color: #e8654a !important;
  text-decoration: none !important;
  margin-top: auto;
  align-self: flex-start;
}
body.blog article.post .read-more::after,
body.archive article.post .read-more::after { content: ' →'; }

/* Hide edit links on frontend */
body.blog article.post .edit-link,
body.archive article.post .edit-link { display: none !important; }

/* Archive page title */
body.blog .ast-archive-description,
body.archive .ast-archive-description {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0 0 20px !important;
  padding: 20px !important;
}
body.blog .ast-archive-description .page-title,
body.archive .ast-archive-description .page-title,
body.blog h1.page-title,
body.archive h1.page-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  font-weight: 800 !important;
  color: #1e2d23 !important;
  margin: 0 !important;
}

/* Pagination */
body.blog .ast-pagination,
body.archive .ast-pagination {
  grid-column: 1 / -1 !important;
  text-align: center !important;
  padding: 24px 0 !important;
}
body.blog .page-numbers,
body.archive .page-numbers {
  padding: 8px 14px !important;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid #e8ede9 !important;
  color: #1e2d23 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin: 0 3px !important;
}
body.blog .page-numbers.current,
body.archive .page-numbers.current {
  background: #e8654a !important;
  color: #fff !important;
  border-color: #e8654a !important;
}
body.blog .page-numbers:hover,
body.archive .page-numbers:hover {
  border-color: #e8654a !important;
  color: #e8654a !important;
}

/* Sidebar hide on blog archive if present */
body.blog #secondary,
body.archive #secondary { display: none !important; }
body.blog #primary { max-width: 1200px !important; }

@media (max-width: 600px) {
  body.blog #primary,
  body.archive #primary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — fashion magazine layout
   ══════════════════════════════════════════════════════════════════════════ */

body.single-post #primary { max-width: 820px !important; margin: 0 auto !important; padding: 20px !important; }
body.single-post .entry-header {
  max-width: 820px;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  text-align: center;
}
body.single-post .entry-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #1e2d23 !important;
  margin: 20px 0 14px !important;
}
body.single-post .entry-meta {
  font-size: .78rem !important;
  color: #6b7c71 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px !important;
}
body.single-post .entry-meta a { color: #5a8a6a !important; font-weight: 700; }

/* Featured image as hero */
body.single-post .post-thumbnail,
body.single-post .ast-post-format-image img,
body.single-post .wp-post-image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 32px !important;
  border-radius: 18px !important;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

body.single-post .entry-content {
  font-size: 1.04rem !important;
  line-height: 1.75 !important;
  color: #2c3e30 !important;
  max-width: 100% !important;
}
body.single-post .entry-content > p { margin-bottom: 18px !important; }
body.single-post .entry-content > p:first-of-type::first-letter {
  font-size: 3.4rem;
  font-weight: 800;
  float: left;
  line-height: 1;
  margin: 4px 10px 0 0;
  color: #e8654a;
}
body.single-post .entry-content h2 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #1e2d23 !important;
  margin: 36px 0 14px !important;
  padding-bottom: 8px;
  border-bottom: 3px solid #5a8a6a;
  display: inline-block;
}
body.single-post .entry-content h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #1e2d23 !important;
  margin: 28px 0 10px !important;
}
body.single-post .entry-content img {
  border-radius: 14px !important;
  margin: 16px 0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  max-width: 100% !important;
  height: auto;
}
body.single-post .entry-content ul { padding-left: 24px; }
body.single-post .entry-content li { margin-bottom: 8px; line-height: 1.6; }
body.single-post .entry-content a {
  color: #e8654a !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(232,101,74,.3);
  text-underline-offset: 3px;
}
body.single-post .entry-content a:hover {
  text-decoration-color: #e8654a;
}

/* Related posts */
body.single-post .ast-related-posts-wrapper {
  max-width: 1200px;
  margin: 40px auto !important;
  padding: 32px 20px !important;
  background: #f6f9f6;
  border-radius: 16px;
}
body.single-post .ast-related-posts-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #1e2d23 !important;
  margin: 0 0 20px !important;
}
body.single-post .ast-related-posts-inner-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 20px !important;
}
body.single-post .ast-related-posts-inner-wrap article {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
}

/* Comments — hide unless open */
body.single-post #comments { margin-top: 40px; padding: 24px; background: #f6f9f6; border-radius: 14px; }

