/*
Theme Name: All About Health Native
Theme URI: https://allabouthealthandnutrition.com/
Author: Salaam Expert
Description: Native WordPress editorial theme for All About Health & Nutrition.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: all-about-health-native
*/

.admin-bar .aahn-site-header { top: 32px; }
[data-aahn-mobile][hidden] { display: none !important; }
.aahn-edit-link { position: fixed; right: 18px; bottom: 18px; z-index: 9999; }
.aahn-edit-link a { display: inline-flex; border-radius: 999px; background: #265b4c; color: #fff; padding: 11px 18px; font: 700 13px/1 "Plus Jakarta Sans", sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.2); }

.aahn-faq { overflow: hidden; border: 1px solid #bce0d0; border-radius: 12px; background: #fff; margin-top: 12px; }
.aahn-faq summary { cursor: pointer; padding: 16px 20px; color: #0c231e; font-family: "Playfair Display", Georgia, serif; font-size: 17px; font-weight: 700; }
.aahn-faq p { padding: 0 20px 18px; color: #4f4f4f; line-height: 1.75; }

/* Preserve the brand while giving index pages and long-form entries the same
 * deliberate framing used across the revived WordPress portfolio. */
.aahn-blog-index main > section:first-child {
    width: min(1216px, calc(100% - 48px));
    margin: 36px auto 0;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 91% 13%, rgba(214, 174, 120, .2), transparent 31%),
        linear-gradient(135deg, #0c231e 0%, #21493e 100%);
}
.aahn-blog-index main > section:first-child > div { padding: clamp(54px, 7vw, 86px) clamp(28px, 6vw, 76px); }
.aahn-blog-index main > section:nth-child(2) { width: min(1216px, calc(100% - 48px)); padding-right: 0; padding-left: 0; }
.aahn-blog-index main > section:nth-child(2) > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.aahn-blog-index main > section:nth-child(2) article {
    overflow: hidden;
    border: 1px solid #d6e2d6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(12, 35, 30, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.aahn-blog-index main > section:nth-child(2) article:hover { transform: translateY(-5px); border-color: #91c9b3; box-shadow: 0 18px 42px rgba(12, 35, 30, .13); }

.aahn-blog-entry main > div > section:first-of-type,
.aahn-recipe-entry main > div > section:first-of-type {
    width: min(1216px, calc(100% - 48px));
    margin: 36px auto 0;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    box-shadow: 0 20px 54px rgba(12, 35, 30, .16);
}
.aahn-blog-entry main > div > section:first-of-type > div,
.aahn-recipe-entry main > div > section:first-of-type > div { padding-top: clamp(46px, 6vw, 72px); padding-bottom: clamp(46px, 6vw, 72px); }

@media (max-width: 782px) { .admin-bar .aahn-site-header { top: 46px; } }
@media (max-width: 767px) {
    .aahn-blog-index main > section:first-child,
    .aahn-blog-entry main > div > section:first-of-type,
    .aahn-recipe-entry main > div > section:first-of-type { width: calc(100% - 28px); margin-top: 18px; border-radius: 18px; }
    .aahn-blog-index main > section:nth-child(2) { width: calc(100% - 32px); }
    .aahn-blog-index main > section:nth-child(2) > .grid { grid-template-columns: 1fr; gap: 22px; }
}
