/* Paste this into Appearance > Customize > Additional CSS
   (or your theme's Custom CSS panel). Applies site-wide to the
   Her Way In content blocks on every page. */

:root {
    --hwi-primary-dark: #1a1a1a;
    --hwi-primary-wine: #800020;
    --hwi-primary-cream: #fafaf8;
    --hwi-accent-sage: #9db4a1;
    --hwi-text-light: #6b6b6b;
    --hwi-border-light: #e8e5e2;
    --hwi-bg-light: #f5f3f0;
}

.hwi-section-title {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--hwi-primary-dark);
    letter-spacing: -0.5px;
}

.hwi-text-link {
    color: var(--hwi-primary-wine);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--hwi-primary-wine);
    padding-bottom: 2px;
}
.hwi-text-link:hover { opacity: 0.75; }

.hwi-btn-primary {
    background: var(--hwi-primary-wine);
    color: white;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.hwi-btn-primary:hover { background: #5f0016; transform: translateY(-2px); }

.hwi-btn-secondary {
    background: white; color: var(--hwi-primary-wine); padding: 0.85rem 2rem; border: none; border-radius: 3px;
    font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.hwi-btn-secondary:hover { background: var(--hwi-bg-light); transform: translateY(-2px); }

/* Home page */
.hwi-hero {
    max-width: 1200px; margin: 0 auto; padding: 3rem 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hwi-hero-content h1 {
    font-family: Georgia, serif; font-size: 2.8rem; font-weight: 400; line-height: 1.2;
    margin-bottom: 1.5rem; color: var(--hwi-primary-dark); letter-spacing: -1px;
}
.hwi-hero-content p { font-size: 1.05rem; line-height: 1.8; color: var(--hwi-text-light); margin-bottom: 2rem; max-width: 500px; }
.hwi-hero-image {
    background: linear-gradient(135deg, var(--hwi-accent-sage) 0%, var(--hwi-primary-wine) 100%);
    border-radius: 12px; height: 320px;
}

.hwi-about {
    max-width: 1200px; margin: 0 auto; padding: 3rem 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hwi-about h2 { font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; margin-bottom: 1.5rem; color: var(--hwi-primary-dark); }
.hwi-about p { font-size: 1rem; line-height: 1.8; color: var(--hwi-text-light); margin-bottom: 1.5rem; }
.hwi-about-image { background: var(--hwi-bg-light); height: 320px; border-radius: 12px; }

.hwi-approach-summary { max-width: 1200px; margin: 0 auto; padding: 3rem 1rem; text-align: center; }
.hwi-approach-summary p { max-width: 800px; margin: 0 auto 3rem; font-size: 1.05rem; line-height: 1.8; color: var(--hwi-text-light); }
.hwi-approach-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.hwi-approach-pillar { text-align: center; }
.hwi-approach-pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.hwi-approach-pillar h3 { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; margin-bottom: 0.75rem; color: var(--hwi-primary-dark); }
.hwi-approach-pillar p { font-size: 0.9rem; color: var(--hwi-text-light); line-height: 1.6; }

/* Alias so "Read our full story" links (which use hwi-link-underline in
   some of the page HTML) get the same underlined-link look as your
   existing .hwi-text-link */
.hwi-link-underline {
    color: var(--hwi-primary-wine);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--hwi-primary-wine);
    padding-bottom: 2px;
}
.hwi-link-underline:hover { opacity: 0.75; }

/* Plain arrow-style link (e.g. "Apply →") — no underline, just color,
   distinct from .hwi-text-link so the two don't fight each other */
.hwi-arrow-link {
    color: var(--hwi-primary-wine);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.hwi-arrow-link:hover { color: #5f0016; }

/* PAGE HERO — centered title/intro used at the top of interior pages
   (Programs, Our Story, Team, etc.) */
.hwi-page-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1rem;
    text-align: center;
}
.hwi-page-hero h1 {
    font-family: Georgia, serif;
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--hwi-primary-dark);
}
.hwi-page-hero p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--hwi-text-light);
}

/* Utility: kills the top padding on a section that follows right after
   another section, so they don't have double spacing between them */
.hwi-cta-wrap,
.hwi-no-top-pad {
    padding-top: 0 !important;
}

/* CTA BLOCK — used at the bottom of every page */
.hwi-cta-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 3rem;
}
.hwi-cta-block {
    background: linear-gradient(135deg, var(--hwi-primary-wine) 0%, #5f0016 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hwi-cta-block h2 {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}
.hwi-cta-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* PROGRAMS LIST (the simpler, row-based Programs page) */
.hwi-programs-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.hwi-program-row {
    background: white;
    border: 1px solid var(--hwi-border-light);
    border-left: 4px solid var(--hwi-primary-wine);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 1.5rem;
    align-items: center;
}
.hwi-program-row:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.hwi-program-tag {
    background: var(--hwi-bg-light);
    color: var(--hwi-primary-wine);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    text-align: center;
    white-space: nowrap;
}
.hwi-program-row h3 {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: var(--hwi-primary-dark);
}
.hwi-program-row p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--hwi-text-light);
}

/* FAQ */
.hwi-faq-item {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--hwi-border-light);
}
.hwi-faq-item:first-of-type {
    border-top: 1px solid var(--hwi-border-light);
}
.hwi-faq-item h3 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--hwi-primary-dark);
}
.hwi-faq-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--hwi-text-light);
}

/* COMMUNITY / TESTIMONIALS */
.hwi-community {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}
.hwi-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.hwi-testimonial {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    border-left: 4px solid var(--hwi-primary-wine);
    border: 1px solid var(--hwi-border-light);
    border-left-width: 4px;
    border-left-color: var(--hwi-primary-wine);
}
.hwi-testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--hwi-primary-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.hwi-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.hwi-testimonial-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--hwi-bg-light);
    border: 2px dashed var(--hwi-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hwi-text-light);
    font-size: 1rem;
}
.hwi-testimonial-author {
    font-weight: 600;
    color: var(--hwi-primary-dark);
    font-size: 0.9rem;
}
.hwi-testimonial-role {
    font-size: 0.8rem;
    color: var(--hwi-text-light);
    margin-top: 0.2rem;
}

/* PROGRAM DETAIL BLOCKS (photo + copy, alternating sides) */
.hwi-program-white,
.hwi-program-tinted {
    padding: 3rem 1rem;
}
.hwi-program-white { background: white; }
.hwi-program-tinted { background: var(--hwi-bg-light); }

.hwi-program-detail {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hwi-program-detail.hwi-reverse .hwi-program-detail-photo { order: 2; }
.hwi-program-detail.hwi-reverse .hwi-program-detail-content { order: 1; }

.hwi-program-detail-photo { height: 280px; }

.hwi-program-detail-content h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.1rem;
    color: var(--hwi-primary-dark);
}
.hwi-program-detail-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hwi-text-light);
    margin-bottom: 1.5rem;
}
.hwi-program-detail-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}
.hwi-program-detail-content li {
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--hwi-text-light);
}
.hwi-program-detail-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hwi-primary-wine);
    font-weight: bold;
}

.hwi-program-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1.25rem;
    margin: 1.75rem 0;
}
.hwi-program-stat {
    background: white;
    border: 1px solid var(--hwi-border-light);
    border-radius: 12px;
    padding: 1.25rem 0.75rem;
    text-align: center;
}
.hwi-program-stat-number {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--hwi-primary-wine);
    margin-bottom: 0.3rem;
}
.hwi-program-stat-label {
    font-size: 0.78rem;
    color: var(--hwi-text-light);
    line-height: 1.4;
}

/* HOW TO JOIN */
.hwi-how-to-join {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}
.hwi-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}
.hwi-step { text-align: center; }
.hwi-step-number {
    background: var(--hwi-primary-wine);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    font-family: Georgia, serif;
}
.hwi-step h4 {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
    color: var(--hwi-primary-dark);
}
.hwi-step p {
    font-size: 0.88rem;
    color: var(--hwi-text-light);
    line-height: 1.6;
}

/* FOOTER — used across every page */
.hwi-footer {
    background: var(--hwi-primary-dark);
    color: white;
    padding: 3rem 1rem;
}
.hwi-footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.hwi-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.hwi-footer-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.hwi-footer-section ul { list-style: none; }
.hwi-footer-section ul li { margin-bottom: 0.6rem; }
.hwi-footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.hwi-footer-section a:hover { color: white; }
.hwi-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hwi-program-row,
    .hwi-program-detail,
    .hwi-program-detail.hwi-reverse {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .hwi-program-detail.hwi-reverse .hwi-program-detail-photo,
    .hwi-program-detail.hwi-reverse .hwi-program-detail-content {
        order: initial;
    }
    .hwi-page-hero h1 { font-size: 2rem; }
}