/**
 * RHA Elementor Theme - Custom Styles
 * Additional CSS for header, footer, navigation, and components
 */

/* ===========================================
   HEADER STYLES
   =========================================== */

.rha-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.rha-header-transparent {
    background: transparent;
}

.rha-header-transparent.scrolled {
    background: var(--rha-card);
    box-shadow: var(--rha-shadow-medium);
}

.rha-header-solid {
    background: var(--rha-card);
    box-shadow: var(--rha-shadow-soft);
}

/* Top Bar */
.rha-topbar {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.rha-header-transparent .rha-topbar {
    background: transparent;
    color: rgba(250, 247, 242, 0.9);
    border-bottom: 1px solid rgba(250, 247, 242, 0.1);
}

.rha-header-transparent.scrolled .rha-topbar,
.rha-header-solid .rha-topbar {
    background: var(--rha-primary);
    color: var(--rha-primary-foreground);
}

.rha-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rha-topbar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rha-topbar-contact a {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.rha-topbar-contact a:hover {
    color: var(--rha-gold);
}

.rha-topbar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rha-topbar-social a {
    color: inherit;
    transition: color 0.3s;
}

.rha-topbar-social a:hover {
    color: var(--rha-gold);
}

@media (max-width: 767px) {
    .rha-topbar {
        display: none;
    }
}

/* Main Navbar */
.rha-navbar {
    padding: 0;
    transition: all 0.3s ease;
}

.rha-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.rha-logo {
    display: flex;
    align-items: center;
}

.rha-header-transparent .rha-logo {
    padding: 0.5rem;
    background: rgba(250, 247, 242, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--rha-radius);
    border: 1px solid rgba(250, 247, 242, 0.15);
}

.rha-header-transparent.scrolled .rha-logo,
.rha-header-solid .rha-logo {
    padding: 0;
    background: transparent;
    border: none;
}

.rha-logo img,
.rha-logo .custom-logo {
    height: 56px;
    width: auto;
    max-width: 200px;
}

.rha-logo-text {
    font-family: var(--rha-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.rha-header-transparent:not(.scrolled) .rha-logo-text {
    color: var(--rha-cream);
}

/* Navigation Menu */
.rha-nav-menu {
    display: flex;
    align-items: center;
}

.rha-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rha-menu li {
    position: relative;
}

.rha-menu li a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--rha-radius);
    transition: all 0.3s;
}

.rha-header-transparent:not(.scrolled) .rha-menu li a {
    color: rgba(250, 247, 242, 0.9);
}

.rha-header-transparent:not(.scrolled) .rha-menu li a:hover,
.rha-header-transparent:not(.scrolled) .rha-menu li.current-menu-item > a {
    color: var(--rha-cream);
    background: rgba(250, 247, 242, 0.1);
}

.rha-header-transparent.scrolled .rha-menu li a,
.rha-header-solid .rha-menu li a {
    color: var(--rha-foreground);
}

.rha-header-transparent.scrolled .rha-menu li a:hover,
.rha-header-transparent.scrolled .rha-menu li.current-menu-item > a,
.rha-header-solid .rha-menu li a:hover,
.rha-header-solid .rha-menu li.current-menu-item > a {
    color: var(--rha-primary);
    background: var(--rha-muted);
}

/* Dropdown Menus */
.rha-menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem 0;
    background: var(--rha-card);
    border-radius: var(--rha-radius);
    box-shadow: var(--rha-shadow-elevated);
    border: 1px solid var(--rha-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 100;
}

.rha-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rha-menu li .sub-menu li a {
    padding: 0.75rem 1rem;
    color: var(--rha-foreground);
    border-radius: 0;
}

.rha-menu li .sub-menu li a:hover {
    background: var(--rha-muted);
    color: var(--rha-primary);
}

/* Nav CTA */
.rha-nav-cta {
    margin-left: 1rem;
}

@media (max-width: 1023px) {
    .rha-nav-menu,
    .rha-nav-cta {
        display: none;
    }
}

/* Mobile Toggle */
.rha-mobile-toggle {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .rha-mobile-toggle {
        display: block;
    }
}

.rha-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.rha-hamburger span {
    display: block;
    height: 2px;
    background: var(--rha-foreground);
    border-radius: 2px;
    transition: all 0.3s;
}

.rha-header-transparent:not(.scrolled) .rha-hamburger span {
    background: var(--rha-cream);
}

.rha-mobile-toggle.active .rha-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.rha-mobile-toggle.active .rha-hamburger span:nth-child(2) {
    opacity: 0;
}

.rha-mobile-toggle.active .rha-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.rha-mobile-menu {
    display: none;
    background: var(--rha-card);
    border-top: 1px solid var(--rha-border);
    padding: 1rem 0;
}

.rha-mobile-menu.active {
    display: block;
}

.rha-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rha-mobile-nav li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--rha-foreground);
    border-radius: var(--rha-radius);
}

.rha-mobile-nav li a:hover {
    background: var(--rha-muted);
}

.rha-mobile-nav li .sub-menu {
    list-style: none;
    padding-left: 1rem;
}

.rha-mobile-nav li .sub-menu li a {
    font-size: 0.875rem;
    color: var(--rha-muted-foreground);
}

/* ===========================================
   FOOTER STYLES
   =========================================== */

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

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

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

.rha-footer-col {
    color: var(--rha-cream);
}

.rha-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rha-footer-menu li {
    margin-bottom: 0.75rem;
}

.rha-footer-menu li a {
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.rha-footer-menu li a:hover {
    color: var(--rha-gold);
}

.rha-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rha-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rha-footer-contact li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.rha-footer-bottom-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rha-footer-bottom-menu li a {
    color: rgba(250, 247, 242, 0.5);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.rha-footer-bottom-menu li a:hover {
    color: var(--rha-gold);
}

/* ===========================================
   ELEMENTOR OVERRIDES
   =========================================== */

/* Section backgrounds */
.elementor-section[data-settings*="background_background"] {
    background-size: cover;
    background-position: center;
}

/* Make columns equal height */
.elementor-row {
    align-items: stretch;
}

/* Image styling in Elementor */
.elementor-widget-image img {
    border-radius: var(--rha-radius-xl);
}

/* Icon box styling */
.elementor-widget-icon-box .elementor-icon {
    background: rgba(96, 70, 47, 0.1) !important;
    border-radius: var(--rha-radius-xl) !important;
}

/* Heading styling */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--rha-font-serif);
}

/* Button styling */
.elementor-widget-button .elementor-button {
    font-family: var(--rha-font-sans);
    font-weight: 600;
    border-radius: var(--rha-radius);
    transition: all 0.3s ease;
}

/* Text editor styling */
.elementor-widget-text-editor {
    color: var(--rha-muted-foreground);
    line-height: 1.7;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 767px) {
    .rha-header-spacer {
        height: 80px !important;
    }

    .rha-footer-grid {
        text-align: center;
    }

    .rha-footer-social {
        justify-content: center;
    }
}

/* ===========================================
   SCROLL REVEAL ANIMATIONS (for JavaScript)
   =========================================== */

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll-reveal="left"] {
    transform: translateX(-30px);
}

[data-scroll-reveal="left"].revealed {
    transform: translateX(0);
}

[data-scroll-reveal="right"] {
    transform: translateX(30px);
}

[data-scroll-reveal="right"].revealed {
    transform: translateX(0);
}

/* ===========================================
   WORDPRESS SPECIFIC
   =========================================== */

/* Navigation pagination */
.navigation.pagination {
    margin-top: 3rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--rha-card);
    border: 1px solid var(--rha-border);
    border-radius: var(--rha-radius);
    color: var(--rha-foreground);
    font-weight: 500;
    transition: all 0.3s;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--rha-primary);
    border-color: var(--rha-primary);
    color: var(--rha-primary-foreground);
}

/* Comments styling */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--rha-border);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--rha-card);
    border-radius: var(--rha-radius);
    border: 1px solid var(--rha-border);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--rha-font-sans);
    font-size: 1rem;
    background: var(--rha-card);
    border: 1px solid var(--rha-border);
    border-radius: var(--rha-radius);
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--rha-primary);
    box-shadow: 0 0 0 3px rgba(96, 70, 47, 0.1);
}

input[type="submit"],
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--rha-font-sans);
    font-weight: 600;
    font-size: 1rem;
    background: var(--rha-gradient-gold);
    color: var(--rha-charcoal);
    border: none;
    border-radius: var(--rha-radius);
    cursor: pointer;
    transition: all 0.3s;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--rha-shadow-gold);
}

/* ===========================================
   BLOG CARD STYLES
   =========================================== */

.rha-blog-card {
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    overflow: hidden;
    border: 1px solid var(--rha-border);
    transition: all 0.3s ease;
}

.rha-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rha-shadow-elevated);
}

.rha-blog-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.rha-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.rha-blog-card:hover .rha-blog-card-image img {
    transform: scale(1.05);
}

.rha-blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rha-gold);
    color: var(--rha-charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rha-blog-card-content {
    padding: 1.5rem;
}

.rha-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--rha-muted-foreground);
}

.rha-blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rha-blog-card-title {
    font-family: var(--rha-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rha-blog-card-title a {
    color: var(--rha-foreground);
    text-decoration: none;
}

.rha-blog-card-title a:hover {
    color: var(--rha-primary);
}

.rha-blog-card-excerpt {
    color: var(--rha-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.rha-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rha-primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.rha-blog-card-link:hover {
    color: var(--rha-gold);
}

.rha-blog-card-link i {
    transition: transform 0.3s;
}

.rha-blog-card-link:hover i {
    transform: translateX(4px);
}

/* ===========================================
   EVENT CARD STYLES
   =========================================== */

.rha-event-card {
    display: flex;
    flex-direction: column;
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    overflow: hidden;
    border: 1px solid var(--rha-border);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .rha-event-card {
        flex-direction: row;
    }
}

.rha-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rha-shadow-elevated);
}

.rha-event-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

@media (min-width: 768px) {
    .rha-event-card-image {
        width: 280px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
}

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

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

.rha-event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rha-gradient-gold);
    color: var(--rha-charcoal);
    padding: 1rem;
    border-radius: var(--rha-radius);
    text-align: center;
    box-shadow: var(--rha-shadow-gold);
}

.rha-event-date-day {
    font-family: var(--rha-font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.rha-event-date-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rha-event-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.rha-event-card-title {
    font-family: var(--rha-font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.rha-event-card-title a {
    color: var(--rha-foreground);
    text-decoration: none;
}

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

.rha-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--rha-muted-foreground);
}

.rha-event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rha-event-meta-item i {
    color: var(--rha-gold);
}

.rha-event-card-excerpt {
    color: var(--rha-muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.rha-event-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===========================================
   MEMBER CARD STYLES
   =========================================== */

.rha-member-card {
    display: flex;
    flex-direction: column;
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    overflow: hidden;
    border: 1px solid var(--rha-border);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .rha-member-card {
        flex-direction: row;
    }
}

.rha-member-card:hover {
    box-shadow: var(--rha-shadow-elevated);
}

.rha-member-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

@media (min-width: 768px) {
    .rha-member-card-image {
        width: 280px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
}

@media (min-width: 1024px) {
    .rha-member-card-image {
        width: 320px;
    }
}

.rha-member-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.rha-member-card:hover .rha-member-card-image img {
    transform: scale(1.05);
}

.rha-member-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rha-primary);
    color: var(--rha-cream);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rha-member-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.rha-member-card-title {
    font-family: var(--rha-font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rha-member-card-title a {
    color: var(--rha-foreground);
    text-decoration: none;
}

.rha-member-card-title a:hover {
    color: var(--rha-primary);
}

.rha-member-card-excerpt {
    color: var(--rha-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.rha-member-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rha-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.rha-member-badge-category {
    border-color: rgba(96, 70, 47, 0.3);
    color: var(--rha-primary);
    background: rgba(96, 70, 47, 0.05);
}

.rha-member-badge-location {
    border-color: var(--rha-border);
    color: var(--rha-muted-foreground);
}

.rha-member-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rha-primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.rha-member-card-link:hover {
    color: var(--rha-gold);
}

/* ===========================================
   TESTIMONIAL STYLES
   =========================================== */

.rha-testimonial-card {
    background: var(--rha-card);
    border-radius: var(--rha-radius-2xl);
    padding: 2rem;
    box-shadow: var(--rha-shadow-medium);
    border: 1px solid var(--rha-border);
}

.rha-testimonial-quote {
    font-family: var(--rha-font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--rha-foreground);
    margin-bottom: 1.5rem;
}

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

.rha-testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.rha-testimonial-info h4 {
    font-family: var(--rha-font-sans);
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.rha-testimonial-info p {
    color: var(--rha-muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

.rha-testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rha-testimonial-rating i {
    color: var(--rha-gold);
}

/* ===========================================
   PAGE HERO STYLES
   =========================================== */

.rha-page-hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--rha-charcoal);
    overflow: hidden;
}

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

.rha-page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rha-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(56, 31, 19, 0.92) 0%,
        rgba(56, 31, 19, 0.85) 50%,
        rgba(56, 31, 19, 0.7) 100%
    );
}

.rha-page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.rha-page-hero-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rha-gold);
    margin-bottom: 1rem;
}

.rha-page-hero-title {
    color: var(--rha-cream);
    margin-bottom: 1rem;
}

.rha-page-hero-description {
    color: rgba(250, 247, 242, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.rha-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
}

.rha-breadcrumbs a {
    color: rgba(250, 247, 242, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.rha-breadcrumbs a:hover {
    color: var(--rha-gold);
}

.rha-breadcrumbs span {
    color: rgba(250, 247, 242, 0.5);
}

.rha-breadcrumbs .current {
    color: var(--rha-cream);
}

/* ===========================================
   STATS SECTION STYLES
   =========================================== */

.rha-stats-section {
    margin-top: -6rem;
    position: relative;
    z-index: 30;
}

.rha-stats-card {
    background: var(--rha-card);
    border-radius: var(--rha-radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--rha-shadow-elevated);
}

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

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

.rha-stat-item {
    text-align: center;
}

.rha-stat-number {
    font-family: var(--rha-font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rha-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rha-stat-label {
    color: var(--rha-muted-foreground);
    font-size: 0.875rem;
}

/* ===========================================
   HERO SLIDER STYLES
   =========================================== */

.rha-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.rha-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.rha-hero-slide.active {
    opacity: 1;
}

.rha-hero-slide-bg {
    position: absolute;
    inset: 0;
}

.rha-hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rha-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(56, 31, 19, 0.95) 0%,
        rgba(56, 31, 19, 0.7) 50%,
        transparent 100%
    );
}

.rha-hero-slide-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 6rem;
}

.rha-hero-slide-inner {
    max-width: 650px;
}

.rha-hero-slide-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rha-gold);
    margin-bottom: 1.5rem;
}

.rha-hero-slide-title {
    font-family: var(--rha-font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--rha-cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.rha-hero-slide-description {
    color: rgba(250, 247, 242, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.rha-hero-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.rha-hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(250, 247, 242, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.rha-hero-nav-dot.active {
    background: var(--rha-gold);
    width: 36px;
    border-radius: 6px;
}

/* ===========================================
   PARTNERS SECTION STYLES
   =========================================== */

.rha-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

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

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

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

.rha-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.rha-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.rha-partner-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* ===========================================
   COMMITTEE SECTION STYLES
   =========================================== */

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

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

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

.rha-committee-card {
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    overflow: hidden;
    border: 1px solid var(--rha-border);
    text-align: center;
    transition: all 0.3s;
}

.rha-committee-card:hover {
    box-shadow: var(--rha-shadow-elevated);
    transform: translateY(-4px);
}

.rha-committee-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.rha-committee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.rha-committee-card:hover .rha-committee-image img {
    transform: scale(1.05);
}

.rha-committee-content {
    padding: 1.5rem;
}

.rha-committee-name {
    font-family: var(--rha-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rha-committee-position {
    color: var(--rha-gold);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.rha-committee-org {
    color: var(--rha-muted-foreground);
    font-size: 0.875rem;
}

.rha-committee-social {
    margin-top: 1rem;
}

.rha-committee-social a {
    color: var(--rha-muted-foreground);
    transition: color 0.3s;
}

.rha-committee-social a:hover {
    color: var(--rha-primary);
}

/* ===========================================
   FAQ SECTION STYLES
   =========================================== */

.rha-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.rha-faq-item {
    background: var(--rha-card);
    border-radius: var(--rha-radius);
    margin-bottom: 1rem;
    border: 1px solid var(--rha-border);
    overflow: hidden;
}

.rha-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-family: var(--rha-font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--rha-foreground);
    text-align: left;
    cursor: pointer;
    transition: background 0.3s;
}

.rha-faq-question:hover {
    background: var(--rha-muted);
}

.rha-faq-question i {
    color: var(--rha-gold);
    transition: transform 0.3s;
}

.rha-faq-item.active .rha-faq-question i {
    transform: rotate(180deg);
}

.rha-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rha-faq-item.active .rha-faq-answer {
    max-height: 300px;
}

.rha-faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--rha-muted-foreground);
    line-height: 1.7;
}

/* ===========================================
   CONTACT FORM STYLES
   =========================================== */

.rha-contact-form {
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    padding: 2rem;
    box-shadow: var(--rha-shadow-medium);
}

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

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

.rha-form-group {
    margin-bottom: 1rem;
}

.rha-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--rha-foreground);
}

.rha-form-group label .required {
    color: #dc2626;
}

/* ===========================================
   CTA SECTION STYLES
   =========================================== */

.rha-cta-section {
    position: relative;
    background: var(--rha-primary);
    overflow: hidden;
}

.rha-cta-bg {
    position: absolute;
    inset: 0;
}

.rha-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rha-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(96, 70, 47, 0.95) 0%,
        rgba(96, 70, 47, 0.85) 50%,
        rgba(96, 70, 47, 0.75) 100%
    );
}

.rha-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .rha-cta-content {
        padding: 6rem 0;
    }
}

.rha-cta-title {
    color: var(--rha-cream);
    margin-bottom: 1rem;
}

.rha-cta-description {
    color: rgba(250, 247, 242, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.rha-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================================
   MEMBERSHIP FEE TABLE STYLES
   =========================================== */

.rha-fee-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    overflow: hidden;
    box-shadow: var(--rha-shadow-medium);
}

.rha-fee-table thead {
    background: var(--rha-primary);
}

.rha-fee-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    color: var(--rha-cream);
    font-weight: 600;
}

.rha-fee-table tbody tr {
    border-bottom: 1px solid var(--rha-border);
}

.rha-fee-table tbody tr:last-child {
    border-bottom: none;
}

.rha-fee-table tbody tr:hover {
    background: var(--rha-muted);
}

.rha-fee-table td {
    padding: 1rem 1.5rem;
    color: var(--rha-foreground);
}

.rha-fee-table .category-cell {
    font-weight: 600;
}

.rha-fee-table .price-cell {
    color: var(--rha-gold);
    font-weight: 600;
}

/* ===========================================
   BENEFITS GRID STYLES
   =========================================== */

.rha-benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

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

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

.rha-benefit-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    border: 1px solid var(--rha-border);
    transition: all 0.3s;
}

.rha-benefit-card:hover {
    box-shadow: var(--rha-shadow-medium);
    transform: translateY(-2px);
}

.rha-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 70, 47, 0.1);
    border-radius: var(--rha-radius);
    color: var(--rha-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rha-benefit-content h4 {
    font-family: var(--rha-font-sans);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.rha-benefit-content p {
    color: var(--rha-muted-foreground);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* ===========================================
   FILTER/SEARCH STYLES
   =========================================== */

.rha-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rha-filter-group {
    flex: 1;
    min-width: 200px;
}

.rha-search-input {
    position: relative;
}

.rha-search-input input {
    padding-left: 2.5rem;
}

.rha-search-input i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rha-muted-foreground);
}

.rha-filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--rha-font-sans);
    font-size: 1rem;
    background: var(--rha-card);
    border: 1px solid var(--rha-border);
    border-radius: var(--rha-radius);
    color: var(--rha-foreground);
    cursor: pointer;
}

.rha-filter-select:focus {
    outline: none;
    border-color: var(--rha-primary);
    box-shadow: 0 0 0 3px rgba(96, 70, 47, 0.1);
}

/* ===========================================
   VISION/MISSION CARDS
   =========================================== */

.rha-vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .rha-vision-mission-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.rha-vision-card,
.rha-mission-card {
    padding: 2rem;
    border-radius: var(--rha-radius-xl);
    text-align: center;
}

.rha-vision-card {
    background: var(--rha-gradient-gold);
    color: var(--rha-charcoal);
}

.rha-mission-card {
    background: var(--rha-gradient-brown);
    color: var(--rha-cream);
}

.rha-vision-card-icon,
.rha-mission-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.rha-vision-card-icon {
    background: rgba(56, 31, 19, 0.1);
    color: var(--rha-charcoal);
}

.rha-mission-card-icon {
    background: rgba(250, 247, 242, 0.1);
    color: var(--rha-cream);
}

.rha-vision-card h3,
.rha-mission-card h3 {
    margin-bottom: 1rem;
}

.rha-vision-card h3 {
    color: var(--rha-charcoal);
}

.rha-mission-card h3 {
    color: var(--rha-cream);
}

/* ===========================================
   TIMELINE STYLES
   =========================================== */

.rha-timeline {
    position: relative;
    padding: 2rem 0;
}

.rha-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--rha-border);
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .rha-timeline::before {
        left: 20px;
    }
}

.rha-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .rha-timeline-item {
        padding-left: 50px;
    }
}

.rha-timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--rha-gold);
    border-radius: 50%;
    border: 3px solid var(--rha-card);
    box-shadow: var(--rha-shadow-soft);
    z-index: 1;
}

@media (max-width: 767px) {
    .rha-timeline-dot {
        left: 20px;
    }
}

.rha-timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: var(--rha-card);
    border-radius: var(--rha-radius-xl);
    border: 1px solid var(--rha-border);
}

@media (max-width: 767px) {
    .rha-timeline-content {
        width: 100%;
    }
}

.rha-timeline-item:nth-child(odd) .rha-timeline-content {
    margin-right: auto;
}

.rha-timeline-item:nth-child(even) .rha-timeline-content {
    margin-left: auto;
}

.rha-timeline-year {
    display: inline-block;
    background: var(--rha-gold);
    color: var(--rha-charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.rha-timeline-title {
    font-family: var(--rha-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rha-timeline-description {
    color: var(--rha-muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* ===========================================
   ELEMENTOR THEME BUILDER HEADER STYLES
   Transparent Header with Scroll-to-Solid Effect
   =========================================== */

/* Transparent Topbar - Initial State */
.rha-topbar-transparent {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent Main Header - Initial State */
.rha-main-header-transparent {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent Mobile Header - Initial State */
.rha-mobile-header-transparent {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Navigation Menu Items - Transparent State */
.rha-nav-menu-transparent .elementor-nav-menu > li > a {
    color: #faf7f2 !important;
    transition: color 0.3s ease;
}

.rha-nav-menu-transparent .elementor-nav-menu > li > a:hover {
    color: #d99527 !important;
}

/* --- SCROLLED STATE --- */

/* Topbar becomes solid primary brown */
.rha-topbar-transparent.rha-topbar-scrolled,
body.header-scrolled .rha-topbar-transparent {
    background-color: #60462f !important;
}

/* Main Header becomes solid white with shadow */
.rha-main-header-transparent.rha-main-header-scrolled,
body.header-scrolled .rha-main-header-transparent {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Header becomes solid white with shadow */
.rha-mobile-header-transparent.rha-mobile-header-scrolled,
body.header-scrolled .rha-mobile-header-transparent {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Navigation Menu Items - Scrolled State (dark text) */
.rha-nav-menu-transparent.rha-nav-menu-scrolled .elementor-nav-menu > li > a,
body.header-scrolled .rha-nav-menu-transparent .elementor-nav-menu > li > a {
    color: #381f13 !important;
}

.rha-nav-menu-transparent.rha-nav-menu-scrolled .elementor-nav-menu > li > a:hover,
body.header-scrolled .rha-nav-menu-transparent .elementor-nav-menu > li > a:hover {
    color: #60462f !important;
}

/* Mobile Menu Toggle - Scrolled State */
body.header-scrolled .rha-mobile-header-transparent .elementor-menu-toggle {
    color: #381f13 !important;
}

/* === SOLID HEADER STYLES (Inner Pages) === */

/* Solid Topbar */
.rha-topbar-solid {
    /* Already has solid background from template */
}

/* Solid Main Header */
.rha-main-header-solid {
    /* Already has solid background from template */
}

/* Navigation Menu Items - Solid State */
.rha-nav-menu-solid .elementor-nav-menu > li > a {
    color: #381f13 !important;
    transition: color 0.3s ease;
}

.rha-nav-menu-solid .elementor-nav-menu > li > a:hover {
    color: #60462f !important;
}

/* Mobile Menu Toggle - Solid State */
.rha-mobile-header-solid .elementor-menu-toggle {
    color: #381f13 !important;
}

/* === HEADER CTA BUTTON === */
.rha-header-cta .elementor-button {
    background: linear-gradient(135deg, #d99527 0%, #e5b84f 100%) !important;
    color: #381f13 !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.rha-header-cta .elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 149, 39, 0.35) !important;
}

/* === LOGO ADJUSTMENTS === */
.rha-logo img,
.rha-logo .custom-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

/* === HEADER SPACER FOR SOLID HEADERS === */
body:not(.rha-transparent-header) .rha-header-spacer,
body:not(.rha-transparent-header) #content {
    padding-top: 120px; /* topbar + main header height */
}

/* Homepage with transparent header doesn't need spacer */
body.rha-transparent-header .rha-header-spacer {
    display: none;
}

/* === DROPDOWN MENU STYLES === */
.rha-topbar-transparent .elementor-nav-menu--dropdown,
.rha-topbar-solid .elementor-nav-menu--dropdown,
.rha-main-header-transparent .elementor-nav-menu--dropdown,
.rha-main-header-solid .elementor-nav-menu--dropdown {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.rha-main-header-transparent .elementor-nav-menu--dropdown a,
.rha-main-header-solid .elementor-nav-menu--dropdown a {
    color: #381f13 !important;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.rha-main-header-transparent .elementor-nav-menu--dropdown a:hover,
.rha-main-header-solid .elementor-nav-menu--dropdown a:hover {
    color: #d99527 !important;
    background-color: rgba(96, 70, 47, 0.05) !important;
}

/* === MOBILE MENU OVERLAY === */
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    margin-top: 8px !important;
}

.elementor-nav-menu--dropdown a.elementor-item {
    padding: 12px 20px !important;
    color: #381f13 !important;
    font-weight: 500 !important;
}

.elementor-nav-menu--dropdown a.elementor-item:hover {
    color: #d99527 !important;
    background: rgba(96, 70, 47, 0.05) !important;
}

/* ===========================================
   HOMEPAGE SPECIFIC STYLES
   =========================================== */

/* Scroll Indicator */
.rha-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: rha-bounce 2s ease-in-out infinite;
}

.rha-scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(250, 247, 242, 0.4);
    border-radius: 20px;
    position: relative;
}

.rha-scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(250, 247, 242, 0.6);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: rha-scroll-wheel 2s ease-in-out infinite;
}

.rha-scroll-indicator span {
    color: rgba(250, 247, 242, 0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

@keyframes rha-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

@keyframes rha-scroll-wheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 16px; }
}

/* Since Badge */
.rha-since-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--rha-primary, #60462f);
    color: var(--rha-cream, #faf7f2);
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.3));
    text-align: center;
}

.rha-since-badge .rha-since-number {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.rha-since-badge .rha-since-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* Member Badge (floating) */
.rha-member-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--rha-card, #ffffff);
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.2));
    text-align: center;
    border: 1px solid var(--rha-border, #e5e7eb);
}

.rha-member-badge .rha-badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 70, 47, 0.1);
    color: var(--rha-primary, #60462f);
    border-radius: 12px;
    font-size: 20px;
    margin-bottom: 12px;
}

.rha-member-badge .rha-badge-number {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--rha-foreground, #381f13);
    line-height: 1;
    margin-bottom: 4px;
}

.rha-member-badge .rha-badge-text {
    font-size: 14px;
    color: var(--rha-muted-foreground, #6B7280);
}

/* Hero Section */
.rha-hero-section {
    position: relative;
}

.rha-hero-section .elementor-background-overlay {
    background: linear-gradient(90deg,
        rgba(56, 31, 19, 0.95) 0%,
        rgba(56, 31, 19, 0.7) 50%,
        transparent 100%
    ) !important;
}

/* Ken Burns Effect for Hero Background */
.rha-hero-section .elementor-background-slideshow__slide__image {
    animation: rha-ken-burns 8s linear infinite alternate;
}

@keyframes rha-ken-burns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* ===========================================
   ENTRANCE ANIMATIONS
   =========================================== */

/* Elementor Animation Enhancements */
.elementor-invisible {
    visibility: hidden;
}

.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.animated.slow {
    animation-duration: 1s;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInRight {
    animation-name: fadeInRight;
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scaleIn {
    animation-name: scaleIn;
}

/* Staggered Animations for Children */
.rha-stagger-animation > *:nth-child(1) { animation-delay: 0s; }
.rha-stagger-animation > *:nth-child(2) { animation-delay: 0.1s; }
.rha-stagger-animation > *:nth-child(3) { animation-delay: 0.2s; }
.rha-stagger-animation > *:nth-child(4) { animation-delay: 0.3s; }
.rha-stagger-animation > *:nth-child(5) { animation-delay: 0.4s; }
.rha-stagger-animation > *:nth-child(6) { animation-delay: 0.5s; }

/* ===========================================
   ABOUT PAGE STYLES
   =========================================== */

/* Composition Grid */
.rha-composition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

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

.rha-composition-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
}

.rha-composition-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.rha-composition-card:hover img {
    transform: scale(1.1);
}

.rha-composition-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(56, 31, 19, 0.95) 0%,
        rgba(56, 31, 19, 0.6) 50%,
        transparent 100%
    );
}

.rha-composition-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
    text-align: center;
}

.rha-composition-card-label span {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 16px;
    font-weight: 700;
    color: #faf7f2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Core Values Grid */
.rha-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.rha-value-card {
    background: var(--rha-card, #ffffff);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--rha-border, #e5e7eb);
    transition: all 0.3s ease;
}

.rha-value-card:hover {
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.18));
    transform: translateY(-4px);
}

.rha-value-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 70, 47, 0.1);
    color: var(--rha-primary, #60462f);
    border-radius: 50%;
    font-size: 24px;
}

.rha-value-card h3 {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rha-value-card p {
    color: var(--rha-muted-foreground, #6B7280);
    line-height: 1.6;
    margin: 0;
}

/* About Images Grid - Two-image layout with badge */
.rha-about-images-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
    height: 500px;
}

.rha-about-img-primary {
    grid-column: 1 / 8;
    grid-row: 1 / 7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.2));
}

.rha-about-img-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rha-about-img-secondary {
    grid-column: 7 / 13;
    grid-row: 2 / 6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.2));
}

.rha-about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rha-about-since-badge {
    position: absolute;
    bottom: -20px;
    right: 40%;
    transform: translateX(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--rha-primary, #60462f);
    color: var(--rha-cream, #faf7f2);
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.3));
    text-align: center;
    z-index: 10;
}

.rha-about-since-badge .since-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.rha-about-since-badge .since-year {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .rha-about-images-grid {
        height: 350px;
    }

    .rha-about-since-badge {
        padding: 16px 24px;
        right: 20%;
    }

    .rha-about-since-badge .since-year {
        font-size: 22px;
    }
}

/* Vision Card (for dark section) */
.rha-vision-card {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--rha-shadow-medium, 0 8px 24px -6px rgba(96, 70, 47, 0.1));
    border: 1px solid rgba(250, 247, 242, 0.2);
    height: 100%;
    text-align: center;
}

.rha-vision-card .rha-vision-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rha-primary, #60462f);
    color: var(--rha-cream, #faf7f2);
    border-radius: 50%;
    font-size: 24px;
}

.rha-vision-card h3 {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--rha-charcoal, #381f13);
    margin-bottom: 1rem;
}

.rha-vision-card p {
    color: var(--rha-muted-foreground, #6B7280);
    line-height: 1.7;
    margin: 0;
}

/* Section Label (uppercase gold text) */
.rha-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rha-primary, #60462f);
    margin-bottom: 1rem;
}

/* Floating Stats Card */
.rha-stats-card-floating {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    background: var(--rha-card, #ffffff);
    border-radius: 20px;
    padding: 2rem 3rem;
    box-shadow: var(--rha-shadow-elevated, 0 12px 40px -12px rgba(96, 70, 47, 0.2));
    border: 1px solid var(--rha-border, #e5e7eb);
}

.rha-stats-card-floating .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rha-stats-card-floating .stat-number {
    font-family: var(--rha-font-serif, "Cormorant Garamond", serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--rha-primary, #60462f);
    line-height: 1;
}

.rha-stats-card-floating .stat-number sup {
    font-size: 20px;
    margin-left: 2px;
}

.rha-stats-card-floating .stat-label {
    font-size: 14px;
    color: var(--rha-muted-foreground, #6B7280);
    margin-top: 4px;
}

@media (max-width: 767px) {
    .rha-stats-card-floating {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .rha-stats-card-floating .stat-number {
        font-size: 28px;
    }
}

/* ===========================================
   MEMBERS PAGE STYLES
   =========================================== */

/* Members Search Bar */
.rha-members-search-bar {
    display: flex;
    gap: 1rem;
    max-width: 600px;
}

.rha-members-search-bar input {
    flex: 1;
    height: 56px;
    padding: 0 20px;
    font-size: 16px;
    background: var(--rha-cream, #faf7f2);
    border: none;
    border-radius: 8px;
}

.rha-members-search-bar button {
    width: 56px;
    height: 56px;
    background: var(--rha-gold, #d99527);
    color: var(--rha-charcoal, #381f13);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.rha-members-search-bar button:hover {
    background: var(--rha-gold-dark, #b8801f);
}

/* Members Results Bar */
.rha-results-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 16px 0;
    background: var(--rha-cream, #faf7f2);
    border-bottom: 1px solid var(--rha-border, #e5e7eb);
}

.rha-results-count {
    font-size: 14px;
    color: var(--rha-muted-foreground, #6B7280);
}

.rha-results-count strong {
    color: var(--rha-foreground, #381f13);
}

.rha-share-buttons {
    display: flex;
    gap: 8px;
}

.rha-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: transform 0.2s;
}

.rha-share-btn:hover {
    transform: scale(1.05);
}

.rha-share-btn.twitter { background: #1DA1F2; }
.rha-share-btn.linkedin { background: #0077B5; }
.rha-share-btn.facebook { background: #1877F2; }

/* Members List Layout */
.rha-member-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rha-member-cards-list .rha-member-card {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .rha-member-cards-list .rha-member-card {
        flex-direction: row;
    }
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
   =========================================== */

@media (max-width: 767px) {
    .rha-since-badge {
        padding: 16px 24px;
    }

    .rha-since-badge .rha-since-number {
        font-size: 22px;
    }

    .rha-member-badge {
        padding: 16px 24px;
    }

    .rha-member-badge .rha-badge-number {
        font-size: 28px;
    }

    .rha-scroll-indicator {
        bottom: 24px;
    }
}
