/* =========================================================================
   Women2Women — Main stylesheet
   Scoped, low-specificity, class-based rules so Elementor widgets layered
   on top of the theme are never fought with !important wars.
   ========================================================================= */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--w2w-font-base);
    color: var(--w2w-text, var(--w2w-dark));
    background: var(--w2w-bg, #fff);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color var(--w2w-transition); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--w2w-dark); }

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1vw + 1rem, 1.4rem); }

p { margin: 0 0 1em; color: var(--w2w-text-muted); }

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
    position: fixed; top: -100px; left: 10px; z-index: 100000;
    background: #f83e7b; color: #fff; padding: 12px 20px;
    border-radius: var(--w2w-radius-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: 10px; }

:focus-visible { outline: 2px solid #f83e7b; outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.w2w-container { max-width: var(--w2w-container); margin: 0 auto; padding: 0 24px; }

.fade-in-section { opacity: 1; }

section { padding: 90px 0; position: relative; }

.section-heading { margin-bottom: 50px; }
.section-heading.center { text-align: center; }
.section-heading .eyebrow,
.eyebrow {
    display: inline-block; color: var(--w2w-pink); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 10px;
}
.heading-underline {
    display: block; width: 70px; height: 4px; border-radius: var(--w2w-radius-pill);
    background: #f83e7b; margin: 14px auto 0;
}
.section-heading:not(.center) .heading-underline { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 32px; border-radius: var(--w2w-radius-pill); font-weight: 600;
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em;
    transition: transform var(--w2w-transition), box-shadow var(--w2w-transition), background var(--w2w-transition), color var(--w2w-transition);
    white-space: nowrap;
}
.btn-primary, .btn-donate {
    background: #5d1387; color: #fff; box-shadow: var(--w2w-shadow-sm);
}
.btn-primary:hover, .btn-donate:hover { transform: translateY(-3px); box-shadow: var(--w2w-shadow-md); color: #fff; }
.btn-outline {
    background: transparent; color: #5d1387; border: 2px solid #5d1387;
}
.btn-outline:hover { background: #5d1387; color: #fff; transform: translateY(-3px); }
.btn-white { background: #5d1387; color: #fff; }
.btn-white:hover { background: #f83e7b; transform: translateY(-3px); box-shadow: var(--w2w-shadow-md); color: #fff; }
.btn-outline-white { background: #5d1387; color: #fff; border: 2px solid #5d1387; }
.btn-outline-white:hover { background: #f83e7b; border-color: #f83e7b; transform: translateY(-3px); color: #fff; }

.learn-more {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #f83e7b;
}
.learn-more span { transition: transform var(--w2w-transition); }
.learn-more:hover span { transform: translateX(4px); }
.learn-more:hover { color: var(--w2w-pink); }

/* ---------- Header ---------- */
.site-header {
    background: #fff; padding: 16px 0; position: relative; z-index: 999;
    box-shadow: 0 2px 12px rgba(32, 33, 61, 0.05);
}
.has-sticky-header .site-header {
    position: sticky; top: 0;
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding .custom-logo { max-height: 56px; width: auto; }
.site-title-link .site-title { font-size: 1.4rem; font-weight: 800; color: #f83e7b; }

.main-navigation .primary-menu { display: flex; align-items: center; gap: 34px; }
.main-navigation a {
    font-weight: 500; font-size: 0.98rem; color: var(--w2w-dark); position: relative; padding: 6px 0;
}
.main-navigation a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 3px;
    background: var(--w2w-pink); border-radius: var(--w2w-radius-pill); transition: width var(--w2w-transition);
}
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--w2w-pink); }
.main-navigation a:hover::after, .main-navigation .current-menu-item > a::after { width: 100%; }

.site-header-actions { display: flex; align-items: center; gap: 18px; }
.btn-donate { padding: 12px 26px; font-size: 0.85rem; }

.mobile-menu-toggle {
    display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; padding: 0;
}
.hamburger-line { display: block; width: 100%; height: 3px; background: var(--w2w-dark); border-radius: 2px; transition: transform var(--w2w-transition), opacity var(--w2w-transition); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.w2w-hero { padding: 70px 0 90px; background: #fff0f4; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-label {
    display: inline-block; background: #fff; color: #f83e7b; font-weight: 600; font-size: 0.85rem;
    padding: 8px 18px; border-radius: var(--w2w-radius-pill); box-shadow: var(--w2w-shadow-sm); margin-bottom: 20px;
}
.hero-heading { color: var(--w2w-dark); margin-bottom: 22px; }
.text-pink { color: var(--w2w-pink); }
.hero-text { font-size: 1.1rem; max-width: 500px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-blob {
    position: absolute; inset: 0; margin: auto; width: 92%; height: 92%;
    background: #f83e7b; opacity: 0.15;
    border-radius: 62% 38% 55% 45% / 55% 48% 52% 45%;
}
.hero-image-wrap {
    position: relative; width: 88%; aspect-ratio: 1 / 1; overflow: hidden;
    border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
    box-shadow: var(--w2w-shadow-md); border: 8px solid #fff;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-decor-circle {
    position: absolute; border-radius: 50%; background: var(--w2w-pink); opacity: 0.18;
}
.circle-1 { width: 60px; height: 60px; top: 10%; left: -4%; }
.circle-2 { width: 34px; height: 34px; bottom: 8%; right: 0; background: #f83e7b; }
.hero-decor-heart { position: absolute; color: var(--w2w-pink); opacity: 0.5; font-size: 1.6rem; }
.heart-1 { top: 4%; right: 12%; }
.heart-2 { bottom: 12%; left: 2%; font-size: 1.2rem; color: #f83e7b; }

/* ---------- Mission ---------- */
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.mission-card {
    background: var(--w2w-light-pink); border-radius: var(--w2w-radius-lg); padding: 40px 32px;
    box-shadow: var(--w2w-shadow-sm); transition: transform var(--w2w-transition), box-shadow var(--w2w-transition);
}
.mission-card:hover { transform: translateY(-8px); box-shadow: var(--w2w-shadow-md); }
.mission-icon {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #f83e7b; color: #fff; margin-bottom: 22px;
}
.mission-card h3 { margin-bottom: 10px; }
.mission-card p { margin-bottom: 18px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { border-radius: var(--w2w-radius-lg); box-shadow: var(--w2w-shadow-md); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.about-content p { margin-bottom: 16px; }
.about-content .btn { margin-top: 12px; }

/* ---------- Programs ---------- */
.w2w-programs { background: var(--w2w-light-pink); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card {
    background: #fff; border-radius: var(--w2w-radius-md); padding: 28px 22px; text-align: center;
    box-shadow: var(--w2w-shadow-sm); transition: transform var(--w2w-transition), box-shadow var(--w2w-transition);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--w2w-shadow-md); }
.program-icon {
    width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
    background: var(--w2w-light-pink); color: #f83e7b;
}
.program-icon .dashicons { font-size: 24px; width: 24px; height: 24px; }
.program-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.program-card p { font-size: 0.9rem; margin-bottom: 12px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-photo {
    border-radius: var(--w2w-radius-lg); overflow: hidden; aspect-ratio: 3/3.6; margin-bottom: 16px;
    box-shadow: var(--w2w-shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--w2w-transition); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-card h3 { margin-bottom: 2px; font-size: 1.05rem; }
.team-position { color: var(--w2w-pink); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
    width: 34px; height: 34px; border-radius: 50%; background: var(--w2w-light-pink); color: #f83e7b;
    display: flex; align-items: center; justify-content: center; transition: background var(--w2w-transition), color var(--w2w-transition);
}
.team-social a:hover { background: #f83e7b; color: #fff; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filter {
    padding: 10px 22px; border-radius: var(--w2w-radius-pill); background: var(--w2w-light-pink); color: var(--w2w-dark);
    font-weight: 600; font-size: 0.9rem; transition: background var(--w2w-transition), color var(--w2w-transition);
}
.gallery-filter.active, .gallery-filter:hover { background: #f83e7b; color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gallery-item {
    position: relative; display: block; border-radius: var(--w2w-radius-md); overflow: hidden; aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item.is-hidden { display: none; }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(248, 62, 123, 0.55); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--w2w-transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom-icon { color: #fff; font-size: 2rem; font-weight: 300; }

.w2w-lightbox {
    position: fixed; inset: 0; background: rgba(20, 10, 30, 0.92); display: none; align-items: center; justify-content: center;
    z-index: 10000; padding: 40px;
}
.w2w-lightbox.is-active { display: flex; }
.w2w-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--w2w-radius-md); }
.lightbox-close {
    position: absolute; top: 24px; right: 32px; color: #fff; font-size: 2.4rem; line-height: 1; background: none;
}

/* ---------- Events ---------- */
.event-card {
    display: grid; grid-template-columns: 1fr 1.1fr; background: var(--w2w-light-pink); border-radius: var(--w2w-radius-lg);
    overflow: hidden; box-shadow: var(--w2w-shadow-sm);
}
.event-image { height: 100%; min-height: 320px; }
.event-image img { width: 100%; height: 100%; object-fit: cover; }
.event-details { padding: 46px; display: flex; flex-direction: column; justify-content: center; }
.event-meta { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 20px; }
.event-meta li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #f83e7b; }
.event-details .btn { align-self: flex-start; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
    background: var(--w2w-light-pink); border-radius: var(--w2w-radius-lg); padding: 36px 30px;
    box-shadow: var(--w2w-shadow-sm); transition: transform var(--w2w-transition), box-shadow var(--w2w-transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--w2w-shadow-md); }
.quote-icon { font-size: 2.6rem; color: var(--w2w-pink); line-height: 1; display: block; margin-bottom: 6px; font-family: Georgia, serif; }
.w2w-stars { color: #f5b301; margin-bottom: 12px; letter-spacing: 2px; }
.w2w-stars .star { color: #e2d6e8; }
.w2w-stars .star.filled { color: #f5b301; }
.testimonial-text { font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; color: var(--w2w-dark); }
.testimonial-author span { font-size: 0.85rem; color: var(--w2w-text-muted); }

/* ---------- CTA ---------- */
.w2w-cta {
    background: #f83e7b; text-align: center; color: #fff; border-radius: var(--w2w-radius-lg);
    margin: 0 24px; overflow: hidden; position: relative;
}
.w2w-cta .cta-inner { max-width: 720px; margin: 0 auto; padding: 20px 0; }
.w2w-cta h2 { color: #fff; }
.w2w-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-heart { position: absolute; color: rgba(255,255,255,0.15); font-size: 4rem; }
.cta-heart-1 { top: 10%; left: 6%; }
.cta-heart-2 { bottom: 8%; right: 10%; font-size: 3rem; }
.cta-heart-3 { top: 50%; right: 4%; font-size: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--w2w-dark); color: rgba(255,255,255,0.75); }
.footer-cta { background: transparent; padding: 60px 0 10px; }
.footer-cta-inner { text-align: center; }
.footer-cta-inner h3 { color: #fff; margin-bottom: 24px; font-size: clamp(1.4rem, 2vw + 1rem, 2rem); }
.footer-cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; }
.footer-widget-title { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-logo-text { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.footer-about p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social .social-icon, .footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff;
    display: flex; align-items: center; justify-content: center; transition: background var(--w2w-transition);
}
.footer-social .social-icon:hover, .footer-social a:hover { background: #f83e7b; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-menu a:hover { color: var(--w2w-pink); }
.newsletter-form { display: flex; margin-top: 14px; border-radius: var(--w2w-radius-pill); overflow: hidden; background: rgba(255,255,255,0.08); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 12px 16px; color: #fff; font-size: 0.9rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { background: #5d1387; color: #fff; padding: 0 20px; font-weight: 600; font-size: 0.85rem; }
.newsletter-form.is-preview { opacity: 0.6; }
.newsletter-form.is-preview input,
.newsletter-form.is-preview button { cursor: not-allowed; }
.newsletter-admin-notice {
    margin-top: 10px; font-size: 0.78rem; line-height: 1.5; color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06); border: 1px dashed rgba(255,255,255,0.25);
    border-radius: var(--w2w-radius-sm); padding: 10px 12px;
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-bottom-menu-list { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-menu-list a { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-bottom-menu-list a:hover { color: var(--w2w-pink); }

/* ---------- Inner pages (blog / archives / single) ---------- */
.inner-content { padding: 60px 0 90px; }
.w2w-breadcrumbs { font-size: 0.85rem; color: var(--w2w-text-muted); margin-bottom: 30px; }
.w2w-breadcrumbs a { color: #f83e7b; }
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }
.content-layout.full-width { grid-template-columns: 1fr; }
.blog-card { margin-bottom: 46px; padding-bottom: 46px; border-bottom: 1px solid var(--w2w-border); }
.blog-card-thumb { display: block; border-radius: var(--w2w-radius-md); overflow: hidden; margin-bottom: 20px; aspect-ratio: 16/9; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-title a { color: var(--w2w-dark); }
.entry-title a:hover { color: var(--w2w-pink); }
.entry-meta { font-size: 0.85rem; color: var(--w2w-text-muted); margin-bottom: 14px; }
.entry-meta > * { margin-right: 12px; }
.widget { margin-bottom: 40px; background: var(--w2w-light-pink); padding: 26px; border-radius: var(--w2w-radius-md); }
.widget-title { margin-bottom: 16px; }
.w2w-404 { text-align: center; padding: 100px 0; }
.error-code { font-size: 6rem; font-weight: 800; color: #f83e7b; }
.notfound-actions { margin: 24px 0; }
.comments-area { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--w2w-border); }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 16px; border-radius: var(--w2w-radius-sm); border: 1px solid var(--w2w-border); margin-bottom: 14px; }
.comment-form .form-submit input { width: auto; background: #5d1387; color: #fff; border: none; padding: 12px 28px; border-radius: var(--w2w-radius-pill); font-weight: 600; }
