/*
Theme Name: kPow for Good
Theme URI: https://kpowforgood.com
Description: A modern WordPress theme for KPOW for Good — connecting social-impact professionals with organizations. Designed to work with Elementor page builder.
Author: kPow for Good
Author URI: https://kpowforgood.com
Version: 1.0.0
Text Domain: kpow
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, elementor, full-width-template
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
    --color-primary: #137fec;
    --color-primary-dark: #0b5cb5;
    --color-accent-teal: #14b8a6;
    --color-bg-light: #f6f7f8;
    --color-bg-dark: #101922;
    --color-surface-light: #ffffff;
    --color-surface-dark: #1a2632;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-border-light: #e2e8f0;
    --font-primary: 'Inter', sans-serif;
    --border-radius: 0.5rem;
    --border-radius-xl: 0.75rem;
    --max-width: 88rem;
}

/* ============================
   RESET & BASE
   ============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* ============================
   LAYOUT
   ============================ */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

.container {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 2rem;
    }
}

/* ============================
   HEADER
   ============================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 4.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--color-text-main);
}

.site-logo .logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
}

.site-logo .logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-text-main);
}

@media (max-width: 767px) {
    .site-logo .logo-text {
        display: none;
    }
}

.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 1px 2px rgba(19, 127, 236, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(19, 127, 236, 0.08);
    color: var(--color-primary);
}

.btn-ghost {
    background: rgba(19, 127, 236, 0.08);
    color: var(--color-primary);
    border-color: transparent;
}

.btn-ghost:hover {
    background: rgba(19, 127, 236, 0.15);
    color: var(--color-primary);
}

.btn-white {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.btn-white:hover {
    background: #f1f5f9;
    color: var(--color-primary-dark);
}

.btn-white-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    position: relative;
    background: var(--color-bg-dark);
    overflow: hidden;
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(16, 25, 34, 0.9), rgba(16, 25, 34, 0.4));
    z-index: 1;
}

.hero-bg .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 40rem;
}

.hero-content h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================
   SECTION STYLES
   ============================ */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--color-bg-light);
}

.section-white {
    background: var(--color-surface-light);
}

.section-border {
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.section-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-row h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.section-header-row p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ============================
   CARDS
   ============================ */
.card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ============================
   TRUSTED LOGOS STRIP
   ============================ */
.trusted-strip {
    background: var(--color-surface-light);
    border-bottom: 1px solid var(--color-border-light);
    padding: 2.5rem 0;
}

.trusted-strip .label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0.55;
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.logos-grid:hover {
    opacity: 1;
    filter: grayscale(0);
}

.logos-grid img {
    height: 2rem;
    object-fit: contain;
}

/* ============================
   SERVICES / DIRECTORY CARDS
   ============================ */
.expert-card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.expert-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.expert-card .avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--color-bg-light);
}

.expert-card .name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.expert-card .role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-blue {
    background: rgba(19, 127, 236, 0.1);
    color: var(--color-primary);
}

.badge-teal {
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-accent-teal);
}

.badge-gray {
    background: var(--color-bg-light);
    color: var(--color-text-muted);
}

/* ============================
   EVENT CARDS
   ============================ */
.event-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.event-card .event-image-wrap {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.event-card .event-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image-wrap img {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius);
    padding: 0.25rem 0.625rem;
    text-align: center;
    z-index: 2;
}

.event-date-badge .month {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.event-date-badge .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.event-card .event-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card .event-type {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.event-card .event-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.event-card:hover .event-title {
    color: var(--color-primary);
}

.event-card .event-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.event-card .event-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-card .event-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonial-card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stars {
    display: flex;
    gap: 0.125rem;
    color: #facc15;
    margin-bottom: 1rem;
}

.stars .material-symbols-outlined {
    font-size: 1.125rem;
    font-variation-settings: 'FILL' 1;
}

.testimonial-card .quote {
    font-size: 0.9375rem;
    color: var(--color-text-main);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author .avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--color-bg-light);
}

.testimonial-author .name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.testimonial-author .org {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    background: var(--color-primary);
    padding: 4rem 0;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-detail .icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius);
    background: rgba(19, 127, 236, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-detail .value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-main);
}

/* ============================
   FORM STYLES
   ============================ */
.kpow-form {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.form-group.full {
    grid-column: 1/-1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--color-text-main);
    background: var(--color-bg-light);
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--border-radius);
    padding: 0.625rem 0.875rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(19, 127, 236, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 8rem;
}

/* ============================
   DIRECTORY FILTERS
   ============================ */
.filter-bar {
    background: var(--color-surface-light);
    border-bottom: 1px solid var(--color-border-light);
    padding: 1.25rem 0;
    position: sticky;
    top: 4.5rem;
    z-index: 40;
}

.filter-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.filter-search {
    position: relative;
    flex: 1;
    min-width: 14rem;
}

.filter-search input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    background: var(--color-bg-light);
    outline: none;
    transition: border-color 0.2s;
}

.filter-search input:focus {
    border-color: var(--color-primary);
}

.filter-search .search-icon {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.filter-tabs {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1.5px solid var(--color-border-light);
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ============================
   GRID LAYOUTS
   ============================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================
   ABOUT VALUE PROPS GRID
   ============================ */
.value-prop-card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.value-prop-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.value-prop-card .icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.icon-box-blue {
    background: #eff6ff;
    color: var(--color-primary);
}

.icon-box-teal {
    background: #f0fafa;
    color: var(--color-accent-teal);
}

.icon-box-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.icon-box-orange {
    background: #fff7ed;
    color: #f97316;
}

.value-prop-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.375rem;
}

.value-prop-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: var(--color-surface-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand .logo-wrap svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.footer-brand .logo-wrap span {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 22rem;
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.25rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-col h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================
   HERO BANNER (Inner Pages)
   ============================ */
.page-hero {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1e3655 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 36rem;
    margin-inline: auto;
}

/* ============================
   PAGE BUILDER COMPAT
   ============================ */
.elementor-section,
.elementor-container {
    position: relative;
}

/* Full-width Elementor override */
body.kpow-elementor .site-main>.elementor {
    max-width: none;
}

/* Hide default content when Elementor content is present */
.elementor-page .hentry .entry-content:not(.elementor):empty {
    display: none;
}

/* ============================
   WP CORE CLASSES
   ============================ */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}

.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

/* ============================
   MATERIAL SYMBOLS HELPER
   ============================ */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* ============================
   UTILITY
   ============================ */
.text-muted {
    color: var(--color-text-muted);
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent-teal);
}

.text-white {
    color: #fff;
}

.font-bold {
    font-weight: 700;
}

.text-sm {
    font-size: 0.875rem;
}

.mb-0 {
    margin-bottom: 0;
}