/* Beauty AMZ - Rose Luxe Theme */
/* Self-hosted fonts with font-display:swap */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/playfair-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/playfair-700.woff2') format('woff2'); }
:root {
  --rose: #C9184A;
  --rose-dark: #A01540;
  --blush: #FFB3C6;
  --blush-light: #FFE4EC;
  --charcoal: #2B2D42;
  --ink: #3A3D5A;
  --light: #FFF5F7;
  --white: #FFFFFF;
  --gold: #D4A853;
  --gray: #6B7280;
  --border: #F3D9E2;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(201, 24, 74, 0.08);
  --shadow-lg: 0 12px 40px rgba(201, 24, 74, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--charcoal); line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.35rem; margin: 1.5rem 0 0.75rem; }
p { margin-bottom: 1.1rem; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Layout */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
/* Content blocks placed directly under <main>, outside .container, get the same side spacing. Heroes and trust bands stay full width. */
main > section:not(.hero):not(.trust), main > p, main > h2, main > h3, main > div.disclosure, main > div.faq-item, main > div.product-grid, main > div.related-grid { max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.section { padding: 60px 0; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--rose); }
.logo span { color: var(--charcoal); font-weight: 400; }
.logo img { width: 44px; height: 44px; border-radius: 10px; vertical-align: middle; margin-right: 10px; }
.footer-logo { width: 64px; height: 64px; border-radius: 14px; display: block; margin: 0 auto 12px; }
.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--charcoal); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--rose); text-decoration: none; }
@media (max-width: 768px) { .main-nav { display: none; } }

/* Hero */
.hero { background: linear-gradient(135deg, var(--light) 0%, var(--blush-light) 60%, var(--white) 100%); padding: 80px 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 0.75rem; }
.hero h1 em { color: var(--rose); font-style: normal; }
.hero p.lead { font-size: 1.2rem; color: var(--ink); max-width: 640px; margin: 0 auto 2rem; }
.search-box { max-width: 560px; margin: 0 auto; position: relative; }
.search-box input { width: 100%; padding: 16px 24px; border: 2px solid var(--border); border-radius: 50px; font-size: 1rem; outline: none; transition: border-color 0.2s; }
.search-box input:focus { border-color: var(--rose); }
.search-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: 8px; text-align: left; max-height: 320px; overflow-y: auto; display: none; z-index: 50; }
.search-results a { display: block; padding: 12px 20px; color: var(--charcoal); border-bottom: 1px solid #f5f5f5; }
.search-results a:hover { background: var(--light); text-decoration: none; }
@media (max-width: 768px) { .hero h1 { font-size: 2rem; } .hero { padding: 50px 0; } }

/* Category cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 2rem; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.cat-card h3 a { color: var(--charcoal); }
.cat-card h3 a:hover { color: var(--rose); text-decoration: none; }
.cat-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1rem; }
.cat-card .meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--gray); }
.cat-card .pill { background: var(--blush-light); color: var(--rose); padding: 4px 12px; border-radius: 20px; font-weight: 600; font-size: 0.8rem; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: all 0.2s; text-align: center; }
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-dark); color: var(--white); text-decoration: none; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--rose); color: var(--rose); }
.btn-outline:hover { background: var(--rose); color: var(--white); text-decoration: none; }
.btn-amazon { background: #FF9900; color: #131921; }
.btn-amazon:hover { background: #E88B00; color: #131921; text-decoration: none; transform: translateY(-2px); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 2rem 0; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-badge { background: var(--rose); color: var(--white); font-size: 0.8rem; font-weight: 700; padding: 6px 16px; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; }
.product-badge.runner-up { background: var(--gold); }
.product-badge.budget { background: var(--charcoal); }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.product-rating { color: var(--gold); font-weight: 700; margin-bottom: 0.75rem; }
.product-features { list-style: none; margin: 0 0 1rem; }
.product-features li { padding: 6px 0 6px 28px; position: relative; font-size: 0.95rem; }
.product-features li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9184A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1rem 0; font-size: 0.9rem; }
.pros-cons .pros h4, .pros-cons .cons h4 { font-size: 0.9rem; font-family: 'Inter', sans-serif; margin-bottom: 0.4rem; }
.pros-cons .pros h4 { color: #15803D; }
.pros-cons .cons h4 { color: var(--rose-dark); }
.pros-cons ul { list-style: none; }
.pros-cons li { padding: 3px 0; color: var(--gray); }
.product-price { font-size: 1.4rem; font-weight: 700; color: var(--charcoal); margin: 0.5rem 0 1rem; }
.product-cta { margin-top: auto; }
.product-cta .btn { width: 100%; }

/* Quick answer box */
.quick-answer { background: var(--light); border: 2px solid var(--blush); border-radius: var(--radius); padding: 28px; margin: 2rem 0; }
.quick-answer h2 { margin-top: 0; font-size: 1.4rem; }
.quick-answer ol { margin-left: 1.5rem; }
.quick-answer li { margin-bottom: 0.75rem; }

/* Comparison table */
.compare-table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 600px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare th { background: var(--rose); color: var(--white); font-weight: 600; }
table.compare th:first-child { border-radius: 14px 0 0 0; }
table.compare th:last-child { border-radius: 0 14px 0 0; }
table.compare tr:nth-child(even) td { background: var(--light); }
table.compare td.winner { font-weight: 700; color: var(--rose); }
@media (max-width: 768px) { table.compare { position: sticky; } }

/* Verdict box */
.verdict { background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%); color: var(--white); border-radius: var(--radius); padding: 36px; margin: 2.5rem 0; text-align: center; }
.verdict h2 { color: var(--white); margin-top: 0; }
.verdict p { color: rgba(255,255,255,0.9); }
.verdict .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.verdict .btn-amazon { background: var(--white); color: var(--rose); }
.verdict .btn-amazon:hover { background: var(--blush-light); }

/* FAQ */
.faq { margin: 2rem 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; background: var(--white); border: none; padding: 18px 22px; text-align: left; font-size: 1.05rem; font-weight: 600; color: var(--charcoal); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; }
.faq-q:hover { color: var(--rose); }
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--rose); }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { padding: 0 22px 18px; max-height: 500px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.9rem; color: var(--gray); margin: 1.5rem 0; }
.breadcrumbs a { color: var(--rose); }

/* TOC */
.toc { background: var(--light); border-radius: var(--radius); padding: 24px 28px; margin: 2rem 0; }
.toc h2 { margin-top: 0; font-size: 1.2rem; }
.toc ul { list-style: none; }
.toc li { padding: 5px 0; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--rose); }

/* Trust section */
.trust { background: var(--light); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 2rem; }
.trust-item { text-align: center; padding: 24px; }
.trust-item .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.trust-item h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.trust-item p { color: var(--gray); font-size: 0.95rem; }

/* Disclosure */
.disclosure { background: #FFF9F0; border: 1px solid #F0D9B5; border-radius: var(--radius); padding: 18px 22px; font-size: 0.9rem; color: var(--gray); margin: 2rem 0; }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.75); padding: 50px 0 30px; margin-top: 60px; width: 100%; }
.site-footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 2rem; }
/* Landscape footer: horizontal link rows */
.footer-landscape { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2rem; text-align: center; }
.footer-brand h4 { margin-bottom: 0.25rem; }
.footer-brand p { margin: 0 auto; font-size: 0.95rem; max-width: 600px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; }
.footer-nav-label { color: var(--white); font-weight: 700; margin-right: 2px; }
.footer-nav a { white-space: nowrap; }
@media (max-width: 640px) { .footer-nav { gap: 6px 12px; font-size: 0.9rem; } }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--blush); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; font-size: 0.85rem; text-align: center; }

/* Author box */
.author-box { display: flex; gap: 18px; background: var(--light); border-radius: var(--radius); padding: 24px; margin: 2.5rem 0; align-items: center; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--rose); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.author-box p { margin: 0; font-size: 0.95rem; color: var(--gray); }

/* Related links */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 2rem 0; }
.related-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.related-card h3 { font-size: 1.1rem; margin: 0 0 0.5rem; font-family: 'Inter', sans-serif; }
.related-card p { font-size: 0.9rem; color: var(--gray); margin: 0; }
/* Category listing cards with post featured images */
.related-card:has(img) { padding: 0; overflow: hidden; }
.related-card img { width: 100%; height: auto; display: block; }
.related-card:has(img) h3 { padding: 16px 20px 0; }
.related-card:has(img) p { padding: 0 20px 20px; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }
  .section { padding: 40px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .verdict { padding: 28px 20px; }
  .verdict .btn-row { flex-direction: column; }
  .quick-answer { padding: 20px; }
  .product-body { padding: 20px; }
  .author-box { flex-direction: column; text-align: center; }
  .breadcrumbs { font-size: 0.8rem; white-space: nowrap; overflow-x: auto; }
  .hero p.lead { font-size: 1.05rem; }
  .toc { padding: 18px 20px; }
  .disclosure { padding: 14px 16px; }
}

/* Product images */
.product-img { overflow: hidden; border-radius: 14px 14px 0 0; }
.product-img img { width: 100%; height: auto; display: block; aspect-ratio: 3/2; object-fit: cover; }

/* Best for targeting */
.best-for { background: var(--blush-light); border-left: 3px solid var(--rose); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 0.92rem; margin: 0 0 1rem; }

/* Browse All Categories (homepage showcase) */
.browse-cats .parent-heading { margin-top: 2.75rem; font-size: 1.5rem; }
.browse-cats .parent-heading:first-of-type { margin-top: 1.5rem; }
.cat-card-img { padding: 0; overflow: hidden; }
.cat-card-img > a:first-child img { display: block; width: 100%; height: auto; }
.cat-card-img h3 { margin: 0; padding: 20px 28px 0; font-size: 1.2rem; }
.cat-card-img h3 a { color: var(--charcoal); }
.cat-card-img h3 a:hover { color: var(--rose); text-decoration: none; }
.cat-card-img .cat-count { margin: 0; padding: 4px 28px 24px; color: var(--gray); font-size: 0.9rem; }

/* Header nav: parent groups with hover dropdowns (desktop) */
.main-nav { align-items: center; }
.nav-item { position: relative; }
.nav-parent { color: var(--charcoal); font-weight: 500; font-size: 0.95rem; cursor: default; padding: 8px 0; display: inline-block; }
.nav-parent::after { content: " ▾"; font-size: 0.75rem; color: var(--rose); }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 200; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 9px 14px; color: var(--charcoal); font-weight: 500; font-size: 0.92rem; border-radius: 8px; white-space: nowrap; }
.nav-dropdown a:hover { background: var(--light); color: var(--rose); text-decoration: none; }
/* Browse Categories: all 41 categories grouped, scrollable */
.nav-dropdown-browse { min-width: 300px; max-height: 70vh; overflow-y: auto; }
.nav-dropdown-heading { display: block; padding: 10px 14px 4px; font-weight: 700; color: var(--rose); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-dropdown-heading:not(:first-child) { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; }

/* Mobile nav: checkbox toggle with grouped list (pure CSS, no JS) */
.nav-toggle-input { display: none; }
.nav-toggle-label { display: none; cursor: pointer; color: var(--charcoal); font-weight: 600; font-size: 0.95rem; border: 1px solid var(--border); border-radius: 50px; padding: 8px 18px; }
.mobile-nav { display: none; }
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle-label { display: inline-block; }
  .nav-toggle-input:checked ~ .mobile-nav { display: block; }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 200; max-height: 70vh; overflow-y: auto; }
  .mobile-nav-group { border-top: 1px solid var(--border); }
  .mobile-nav-group > span { display: block; padding: 12px 20px 4px; font-weight: 700; color: var(--rose); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
  .mobile-nav-group a { display: block; padding: 8px 20px 8px 32px; color: var(--charcoal); font-size: 0.95rem; }
  .mobile-nav-group a:hover { background: var(--light); text-decoration: none; }
  .site-header .container { position: relative; flex-wrap: wrap; }
}

/* Back to top button */
#back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--rose); color: var(--white); border: none; font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 1; visibility: visible; z-index: 300; line-height: 1; transition: background 0.25s; text-decoration: none; display: flex; align-items: center; justify-content: center; }
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--rose-dark); }

/* HTML sitemap page */
.sitemap-info { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 2rem; }
.sitemap-chip { display: inline-block; padding: 8px 18px; border: 1px solid var(--border); border-radius: 50px; color: var(--charcoal); font-weight: 500; font-size: 0.92rem; background: var(--white); }
.sitemap-chip:hover { background: var(--rose); border-color: var(--rose); color: var(--white); text-decoration: none; }
.sitemap-cats { display: grid; gap: 12px; margin-top: 1.5rem; }
.sitemap-cat { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.sitemap-cat summary { padding: 16px 22px; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; align-items: center; gap: 10px; }
.sitemap-cat summary::-webkit-details-marker { display: none; }
.sitemap-cat summary::before { content: "+"; color: var(--rose); font-size: 1.3rem; font-weight: 700; }
.sitemap-cat[open] summary::before { content: "\2212"; }
.sitemap-cat summary a { color: var(--charcoal); }
.sitemap-cat summary a:hover { color: var(--rose); text-decoration: none; }
.sitemap-count { margin-left: auto; background: var(--blush-light); color: var(--rose); font-size: 0.8rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.sitemap-posts { list-style: none; margin: 0; padding: 4px 22px 18px 44px; columns: 2; column-gap: 32px; }
.sitemap-posts li { padding: 4px 0; break-inside: avoid; font-size: 0.92rem; }
.sitemap-posts a { color: var(--ink); }
.sitemap-posts a:hover { color: var(--rose); }
@media (max-width: 768px) { .sitemap-posts { columns: 1; } }

/* Footer bottom links */
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: var(--blush); }

/* Related Guides section: center like main content container */
.ilp-related { max-width: 1140px; margin: 0 auto; padding: 40px 20px; }
@media (max-width: 768px) { .ilp-related { padding: 28px 16px; } }

/* Homepage UI animations (same color scheme) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-fade-up { animation: fadeUp 0.7s ease-out both; }
.anim-fade-in { animation: fadeIn 0.9s ease-out both; }
.anim-d1 { animation-delay: 0.15s; }
.anim-d2 { animation-delay: 0.3s; }
.anim-d3 { animation-delay: 0.45s; }

/* Scroll-triggered reveals: content is visible by default; JS enables the
   hidden-then-reveal effect only when it can observe (progressive enhancement) */
.reveal { opacity: 1; }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.js-reveal .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-in, .reveal, .js-reveal .reveal { animation: none; opacity: 1; transform: none; transition: none; }
}

/* Hero side-by-side layout */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; text-align: left; }
.hero-text .lead { margin: 0 0 2rem; }
.hero-text .search-box { margin: 0; }
.hero-img img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 60px rgba(201,24,74,0.18); }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-text .search-box { margin: 0 auto; } .hero-text .lead { margin: 0 auto 2rem; } }

/* Card hover lift */
.cat-card, .related-card, .trust-item { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.cat-card:hover, .related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(201,24,74,0.12); }
.cat-card-img-top { display: block; overflow: hidden; border-radius: 12px 12px 0 0; margin: -20px -20px 16px; }
.cat-card-img-top img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.cat-card:hover .cat-card-img-top img { transform: scale(1.04); }

/* ===== Homepage upgrades: premium cards + new sections ===== */
.section-sub { color: var(--gray); font-size: 1.02rem; margin: -0.5rem 0 1.75rem; max-width: 640px; }

/* --- More Categories: premium card design --- */
.more-cats .cat-card { padding: 0; overflow: hidden; border: none; box-shadow: 0 2px 14px rgba(43,45,66,0.07); display: flex; flex-direction: column; }
.more-cats .cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(201,24,74,0.15); }
.more-cats .cat-card-img-top { margin: 0; border-radius: 0; position: relative; }
.more-cats .cat-card-img-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,45,66,0.28), transparent 45%); pointer-events: none; }
.more-cats .cat-card-img-top img { transition: transform 0.4s ease; }
.more-cats .cat-card:hover .cat-card-img-top img { transform: scale(1.05); }
.more-cats .cat-card-body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.more-cats .cat-card-body .pill { align-self: flex-start; margin-bottom: 10px; }
.more-cats .cat-card h3 { font-size: 1.3rem; margin: 0 0 0.4rem; line-height: 1.3; }
.more-cats .cat-card p { flex: 1; margin-bottom: 1.1rem; }
.more-cats .meta { border-top: 1px solid var(--border); padding-top: 14px; align-items: center; }
.more-cats .guide-tag { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--rose); }
.explore-link { font-weight: 700; color: var(--charcoal); font-size: 0.92rem; white-space: nowrap; }
.explore-link .arrow { display: inline-block; transition: transform 0.25s ease; color: var(--rose); }
.explore-link:hover { color: var(--rose); text-decoration: none; }
.explore-link:hover .arrow { transform: translateX(5px); }

/* --- Stats bar --- */
.stats-bar { background: linear-gradient(135deg, #2B2D42 0%, #4a1d2e 100%); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blush); }

/* --- Trending chips --- */
.trend-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.trend-chip { display: inline-block; padding: 12px 22px; border: 1.5px solid var(--border); border-radius: 999px; font-weight: 600; color: var(--charcoal); background: var(--white); transition: all 0.25s ease; font-size: 0.95rem; }
.trend-chip:hover { background: var(--rose); border-color: var(--rose); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,24,74,0.25); }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat-num { font-size: 1.6rem; }
  .more-cats .cat-card-body { padding: 18px 20px 20px; }
  .trend-chip { padding: 10px 18px; font-size: 0.88rem; }
}

/* Team section (About page) - landscape cards: photo left, text right */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 2rem 0; }
.team-card { display: flex; align-items: flex-start; gap: 28px; text-align: left; background: var(--light); border-radius: var(--radius); padding: 28px; }
.team-card img { width: 180px; height: 180px; flex-shrink: 0; border-radius: 50%; object-fit: cover; margin: 0; box-shadow: var(--shadow); }
.team-body { flex: 1; min-width: 0; }
.team-card h3 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.team-role { color: var(--rose); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.75rem; }
.team-body p:last-child { font-size: 0.95rem; color: var(--gray); margin: 0; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; gap: 20px; } .team-card { flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; gap: 16px; } .team-card img { width: 120px; height: 120px; } }

/* Post author byline */
.post-author { display: flex; align-items: center; gap: 12px; margin: 1rem 0 1.5rem; }
.post-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.post-author-text { display: flex; flex-direction: column; }
.post-author-name { font-weight: 600; }
.post-author-name a { color: var(--rose); text-decoration: none; }
.post-author-role { font-size: 0.85rem; color: var(--gray); }
.post-author-date { font-size: 13px; color: var(--gray); }
.post-author-date time { white-space: nowrap; }
.post-date { font-size: 14px; color: var(--gray); margin: 8px 0 16px; }
