/* Home page styles - KnotNow */
:root {
    --corner-radius: 28px;
    --tile-card-gutter: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4705882353;
    font-weight: 400;
    letter-spacing: -0.022em;
    background-color: #1a1a1a;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    padding: 20px;
}

/* Banner Video Section - Full width */
.hero-banner {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    background-color: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.hero-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile: full-width video, contain so all content visible, scrollable */
@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        min-height: 50vh;
        max-height: none;
        aspect-ratio: 16 / 9;
        overflow: visible;
    }
    .hero-banner video {
        position: relative;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
}

/* Tablet: full-width, contain so slide content visible */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-banner {
        height: auto;
        min-height: 50vh;
        max-height: none;
        aspect-ratio: 16 / 9;
        overflow: visible;
    }
    .hero-banner video {
        position: relative;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
}

.hero-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Search Section */
.search-section {
    padding: 80px 20px;
    background-color: #1a1a1a;
    text-align: center;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: #ffffff;
}

.search-box {
    position: relative;
    margin-top: 40px;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background-color: #2a2a2a;
    color: #ffffff;
    transition: all 0.2s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    outline: none;
    border-color: #d43b95;
    background-color: #333;
}

.search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* Quick Links Section */
.quick-links {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.quick-links-container {
    max-width: 1400px;
    margin: 0 auto;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quick-link-section {
    background-color: #2a2a2a;
    border-radius: var(--corner-radius);
    padding: 40px 30px;
    transition: transform 0.3s cubic-bezier(0, 0, 0.5, 1);
}

.quick-link-section:hover {
    transform: translateY(-5px);
}

.quick-link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.quick-link-item {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: color 0.2s;
}

.quick-link-item:hover {
    color: #d43b95;
}

/* Sessions Promo Box - Strava-style split layout */
.sessions-promo {
    margin: 80px 0;
    border-radius: var(--corner-radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    background-color: #2a2a2a;
    outline: solid 1px rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
}
.sessions-promo-text {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 59, 149, 0.25) 0%, rgba(212, 59, 149, 0.08) 100%);
}
.sessions-promo-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #ffffff;
}
.sessions-promo-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}
.sessions-promo-desc .sessions-promo-link {
    color: #d43b95;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #d43b95;
}
.sessions-promo-cta {
    display: inline-block;
    padding: 12px 24px;
    background: #d43b95;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s;
}
.sessions-promo-cta:hover {
    background: #e04fa8;
}
.sessions-promo-image {
    position: relative;
    overflow: hidden;
}
.sessions-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.sessions-promo-section {
    margin: 0 0 60px;
}
.sessions-why-teaser {
    margin: 0 0 60px;
}
.sessions-why-teaser-link {
    display: block;
    padding: 1.5rem 1.75rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s;
}
.sessions-why-teaser-link:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(212,59,149,0.6);
}
.sessions-why-teaser-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.35rem;
}
.sessions-why-teaser-text {
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}
.sessions-why-teaser-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #d43b95;
}
@media (max-width: 768px) {
    .sessions-promo {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .sessions-promo-text {
        padding: 32px 24px;
    }
    .sessions-promo-image {
        min-height: 240px;
    }
}

/* Feature Boxes Section */
.features-section {
    padding: 160px 20px;
    background-color: #1a1a1a;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--tile-card-gutter);
    margin-top: 60px;
}

.feature-card {
    background-color: #2a2a2a;
    border-radius: var(--corner-radius);
    padding: 50px 40px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0, 0, 0.5, 1);
    outline: solid 1px rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
    border-radius: var(--corner-radius);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    color: #d43b95;
}
.feature-blog-latest {
    margin-top: 8px;
}
.feature-blog-latest .feature-blog-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.feature-blog-latest .feature-blog-title a {
    color: #fff;
    text-decoration: none;
}
.feature-blog-latest .feature-blog-title a:hover {
    color: #d43b95;
}
.feature-blog-latest .feature-blog-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
    margin-bottom: 8px;
}
.feature-blog-latest .feature-blog-meta a {
    color: #d43b95;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.feature-blog-latest .feature-blog-meta a:hover {
    text-decoration: underline;
}
.feature-blog-latest .feature-blog-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Navigation Section */
.footer-nav {
    padding: 160px 20px;
    background-color: #1a1a1a;
}

.footer-nav.footer-search-only {
    padding: 60px 20px 80px;
}

.footer-search-only .footer-nav-container {
    max-width: 800px;
}

/* Footer Search Section */
.footer-search-section {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-search-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-search-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.footer-search-intro {
    margin-top: 48px;
    text-align: center;
}

.footer-search-strapline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-search-strapline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.footer-search-strapline-row img {
    height: 1em;
    width: auto;
    flex-shrink: 0;
}

.footer-search-intro-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-search-intro-text:last-of-type {
    margin-bottom: 0;
}

.footer-search-box {
    position: relative;
}

.footer-search-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background-color: #2a2a2a;
    color: #ffffff;
    transition: all 0.2s;
}

.footer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-search-input:focus {
    outline: none;
    border-color: #d43b95;
    background-color: #333;
}

.footer-search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.footer-nav-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
}

.footer-nav-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-nav-link:hover {
    color: #d43b95;
}

.footer-nav-link.secondary {
    font-weight: 400;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Map pin picker layout: /_v2/assets/css/cap-pin-picker-layout.css */

/* Responsive */
@media (max-width: 768px) {
    .search-title {
        font-size: 2rem;
    }

    .footer-search-strapline-row {
        font-size: 2rem;
    }

    .quick-link-item {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
