/*
Theme Name:   AfriGuide Minimal
Theme URI:    https://afriguide.com.ng
Description:  Minimal AfriGuide child theme for Astra. Clean, fast, publish-ready.
Author:       AfriGuide
Author URI:   https://afriguide.com.ng
Template:     astra
Version:      1.0.0
Text Domain:  afriguide-minimal
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ── GLOBAL ── */
body {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #2D2D2D !important;
    background: #ffffff !important;
}

/* ── LINKS ── */
a { color: #1A5C32 !important; }
a:hover { color: #C8860A !important; }

/* ── HEADINGS ── */
h1, h2, h3, h4, h5, h6 {
    color: #0F2419 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* ── HEADER ── */
.site-header,
#masthead,
.ast-site-header-wrap,
.main-header-bar {
    background: #0F2419 !important;
}

.site-title a,
.ast-site-name-tagline .site-title a {
    color: #F5F0E8 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.site-title a:hover { color: #C8860A !important; }

.site-description {
    color: rgba(245,240,232,0.5) !important;
    font-size: 12px !important;
}

/* ── NAVIGATION ── */
.main-navigation a,
.ast-nav-menu > li > a,
.main-header-menu > li > a {
    color: rgba(245,240,232,0.85) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.main-navigation a:hover,
.ast-nav-menu > li > a:hover,
.main-header-menu > li > a:hover,
.current-menu-item > a {
    color: #C8860A !important;
}

/* Mobile menu */
.ast-mobile-menu-trigger-wrap button,
.menu-toggle {
    color: #F5F0E8 !important;
    border-color: rgba(245,240,232,0.3) !important;
}

.ast-mobile-nav-wrap,
.ast-below-header-wrap {
    background: #0F2419 !important;
}

/* ── BUTTONS ── */
.wp-block-button__link,
.ast-button,
.button,
input[type="submit"] {
    background: #1A5C32 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    border: none !important;
}

.wp-block-button__link:hover,
.ast-button:hover,
.button:hover,
input[type="submit"]:hover {
    background: #C8860A !important;
    color: #ffffff !important;
}

/* ── CONTENT ── */
.entry-content {
    font-size: 16px !important;
    line-height: 1.75 !important;
    max-width: 740px !important;
}

.entry-title {
    color: #0F2419 !important;
    font-size: clamp(24px, 4vw, 36px) !important;
}

/* ── DISCLOSURE BANNER ── */
.ag-disclosure {
    background: #FDF3E0;
    border-bottom: 1px solid rgba(200,134,10,0.2);
    padding: 8px 20px;
    font-size: 13px;
    color: #6B6560;
    text-align: center;
}

.ag-disclosure a { color: #C8860A !important; font-weight: 500; }

/* ── POST META ── */
.ag-post-meta {
    font-size: 12px;
    color: #6B6560;
    padding: 8px 0 20px;
    border-bottom: 1px solid #E8E0D0;
    margin-bottom: 24px;
}

/* ── VERDICT BOX ── */
.ag-verdict {
    background: #E8F3EC;
    border-left: 4px solid #1A5C32;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 24px 0;
}

.ag-verdict strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1A5C32;
    margin-bottom: 6px;
}

/* ── WARNING BOX ── */
.ag-warning {
    background: #FDF3E0;
    border-left: 4px solid #C8860A;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 24px 0;
}

.ag-warning strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C8860A;
    margin-bottom: 6px;
}

/* ── COMPARISON TABLE ── */
.wp-block-table table,
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 24px 0;
}

.wp-block-table th,
th {
    background: #0F2419;
    color: #F5F0E8;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
}

.wp-block-table td,
td {
    padding: 10px 14px;
    border-bottom: 1px solid #E8E0D0;
    color: #2D2D2D;
}

.wp-block-table tr:nth-child(even) td,
tr:nth-child(even) td {
    background: #F9F7F4;
}

/* ── AFFILIATE CTA ── */
.ag-cta {
    background: #E8F3EC;
    border: 1.5px solid #1A5C32;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 28px 0;
}

.ag-cta a {
    display: inline-block;
    background: #0F2419;
    color: #F5F0E8 !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    margin-top: 8px;
}

.ag-cta a:hover { background: #1A5C32 !important; }

/* ── FOOTER ── */
.site-footer,
#colophon,
.ast-footer-wrap {
    background: #0F2419 !important;
    color: rgba(245,240,232,0.6) !important;
}

.site-footer a,
#colophon a {
    color: rgba(245,240,232,0.7) !important;
}

.site-footer a:hover,
#colophon a:hover {
    color: #C8860A !important;
}

.ast-footer-copyright {
    color: rgba(245,240,232,0.4) !important;
    font-size: 12px !important;
}

/* ── HIDE PAGE TITLE ON HOMEPAGE ── */
.home .entry-title,
.home .page-title,
.home .ast-page-header-wrap {
    display: none !important;
}

.home .entry-content,
.home .site-content,
.home #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ── HIDE PAGE TITLE ON TOOL PAGES ── */
.page-template-default .ast-page-header-wrap {
    display: none !important;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .entry-content { font-size: 15px !important; }
    .entry-title { font-size: 24px !important; }
}
