/* ==================================================
   MIDAN HOME THEME MAP
   Loaded after style-teal.css and hamzaaktaa.css
================================================== */

/* Base */
html,
body {
    background: var(--theme-background);
    color: var(--theme-text);
    font-family: var(--theme-font-family);
}

h1,
h2,
h3,
h4,
h5,
h6,
li a,
p,
.lgx-btn {
    font-family: var(--theme-font-family) !important;
}

/* Header */
.lgx-header,
.lgx-header .lgx-header-position,
.lgx-header .lgx-header-position.menu-onscroll,
.lgx-header .lgx-navbar,
.lgx-header .navbar-collapse {
    background: var(--theme-secondary) !important;
}

.lgx-navbar .lgx-nav > li > a {
    color: var(--theme-on-secondary) !important;
}

.lgx-navbar .lgx-nav > li > a:hover,
.lgx-navbar .lgx-nav > li > a:focus,
.lgx-navbar .lgx-nav > li > a.active {
    color: var(--theme-header-hover) !important;
    background: transparent !important;
}

.lgx-navbar .navbar-toggle .icon-bar {
    background: var(--theme-header-hover) !important;
}

/* Shared surfaces */
.abyah-parties-section,
.abyah-news-section,
.abyah-party-page {
    background: var(--theme-surface-soft);
}

.abyah-party-card,
.abyah-party-card-header,
.abyah-race-card,
.abyah-race-summary,
.abyah-detail-item,
.abyah-news-card,
.abyah-party-hero-card,
.abyah-party-summary-item,
.abyah-party-race-card,
.abyah-party-race-header,
.abyah-party-race-details span,
.abyah-party-result-card,
.abyah-party-participant-card,
.abyah-party-empty,
.abyah-races-stat,
.abyah-races-party-card,
.abyah-races-seasons,
.abyah-races-empty {
    background: var(--theme-surface);
    border-color: var(--theme-border);
}

.abyah-party-races,
.abyah-race-details,
.abyah-party-race-content,
.abyah-race-summary:hover,
.abyah-race-summary:focus,
.abyah-party-race-header:hover,
.abyah-party-race-header:focus {
    background: var(--theme-surface-soft);
}

/* Headings */
.abyah-section-heading h2,
.abyah-party-title,
.abyah-race-title,
.abyah-detail-value,
.abyah-news-title a,
.abyah-about-content h1,
.abyah-about-content h2,
.abyah-about-content h3,
.abyah-about-content h4,
.abyah-about-content h5,
.abyah-about-content h6,
.abyah-races-stat strong,
.abyah-races-heading h2,
.abyah-races-party-body h3,
.abyah-races-seasons h3,
.abyah-party-hero-main h1,
.abyah-party-summary-item strong,
.abyah-party-race-heading h2,
.abyah-party-results-section > h3,
.abyah-party-participants-section > h3,
.abyah-party-result-card h4,
.abyah-party-participant-card h4 {
    color: var(--theme-heading);
}

/* Muted text */
.abyah-section-heading p,
.abyah-party-date,
.abyah-race-meta,
.abyah-detail-label,
.abyah-empty-races,
.abyah-empty-details,
.abyah-news-excerpt,
.abyah-about-intro,
.abyah-races-stat span,
.abyah-races-heading p,
.abyah-races-party-meta,
.abyah-party-hero-meta,
.abyah-party-summary-item span,
.abyah-party-race-meta,
.abyah-party-result-card p,
.abyah-party-participant-card p,
.abyah-party-empty {
    color: var(--theme-muted);
}

/* Primary brand */
.abyah-party-icon,
.abyah-party-date .fa,
.abyah-race-number,
.abyah-race-time .fa,
.abyah-news-date .fa,
.abyah-news-link,
.abyah-news-title a:hover,
.abyah-news-title a:focus,
.abyah-about-content blockquote,
.abyah-races-stat i,
.abyah-races-seasons li a:hover,
.abyah-races-empty i,
.abyah-party-hero-icon,
.abyah-party-hero-meta .fa,
.abyah-party-summary-item .fa,
.abyah-party-race-number,
.abyah-party-race-meta .fa,
.abyah-party-results-section > h3 .fa,
.abyah-party-participants-section > h3 .fa,
.abyah-party-participant-top span {
    color: var(--theme-primary);
}

.abyah-party-icon,
.abyah-race-number,
.abyah-party-hero-icon,
.abyah-party-race-number,
.abyah-party-participant-top span {
    background: var(--theme-primary-soft);
}

.abyah-about-content blockquote {
    border-inline-start-color: var(--theme-primary);
    background: var(--theme-surface-soft);
}

/* Buttons and active states */
.abyah-party-toggle,
.abyah-races-party-top,
.abyah-party-result-position {
    background: var(--theme-secondary);
    color: var(--theme-on-secondary);
}

.abyah-party-toggle:hover,
.abyah-party-toggle:focus,
.abyah-races-seasons li.active a,
.abyah-footer-social a:hover,
.abyah-footer-social a:focus {
    background: var(--theme-primary);
    color: var(--theme-on-primary);
}

.abyah-races-seasons li a:hover {
    background: var(--theme-primary-soft);
}

/* Footer */
.abyah-footer {
    background: var(--theme-secondary);
    color: var(--theme-on-secondary-muted);
}

.abyah-footer-title,
.abyah-footer-heading,
.abyah-footer-social a {
    color: var(--theme-on-secondary);
}

.abyah-footer-description,
.abyah-footer-links a,
.abyah-footer-contact,
.abyah-footer-bottom p {
    color: var(--theme-on-secondary-muted);
}

.abyah-footer-links a:hover,
.abyah-footer-links a:focus,
.abyah-footer-contact:hover,
.abyah-footer-contact:focus,
.abyah-footer-contact .fa {
    color: var(--theme-header-hover);
}

.abyah-footer-bottom {
    border-top-color: var(--theme-on-secondary-border);
}

/* Keep operational status colors semantic and unchanged. */
