/* Two Roads Contest - Landing Page Template Styles */

/* ── Hero Section ── */
.trbc-landing-hero {
    background-image:url(../images/sky-bg.jpg);
    background-size:cover;
    padding: 80px 0 0 0;
    overflow: hidden;
}

.trbc-hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.trbc-hero-content-col {
    padding-left: 80px;
    padding-bottom:80px;
}

.trbc-hero-headline {
    font-family: 'Anton', sans-serif;
    color: #ffffff;
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0 0 20px;
}

.trbc-accent-bar {
    display: inline-block;
    background-color: #ffc72c;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.trbc-accent-bar p {
    font-family: 'Anton', sans-serif;
    color: #00263a;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.3;
}

.trbc-hero-body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 30px;
}

.trbc-hero-cta {
    display: inline-block;
    background-color: #ffc72c;
    color: #00263a;
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 40px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.trbc-hero-cta:hover {
    background-color: #e6b325;
    color: #00263a;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ── Contest Description Section (Rec 1: warm background) ── */
.trbc-landing-description {
    background-color: #faf8f5;
    padding: 60px 0 50px;
}

.trbc-description-content {
}

.trbc-description-image-col {
    text-align: center;
}

.trbc-description-image-col .lightgallery a {
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 4px;
    overflow: hidden;
}

.trbc-description-image-col .lightgallery a:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.trbc-description-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.trbc-description-content p {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.trbc-description-content ul {
    text-align: left;
    display: inline-block;
    margin: 10px auto 20px;
    padding-left: 0;
    list-style: none;
}

.trbc-description-content li {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
}

.trbc-description-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #ffc72c;
    border-radius: 50%;
}

.trbc-description-content strong {
    color: #00263a;
}

/* ── Tagline Banner (Rec 2: standalone yellow banner) ── */
.trbc-tagline-banner {
    background-color: #ffc72c;
    padding: 22px 0;
    text-align: center;
}

.trbc-tagline-banner p {
    font-family: 'Anton', sans-serif;
    color: #00263a;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
}

/* ── Form Section (Rec 1: section header) ── */
.trbc-landing-form {
    background-color: #ffffff;
    padding: 60px 0;
}

.trbc-form-headline {
    font-family: 'Anton', sans-serif;
    color: #00263a;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.trbc-form-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.trbc-form-intro p {
    font-size:1.2rem;
}

.trbc-landing-form .trbc-contest-wrap {
    max-width: 900px;
}

/* ── Rules Section ── */
.trbc-landing-rules {
    background-color: #c8102e;
    padding: 40px 0 0 0;
    border-top:5px solid #fff;
}

.trbc-rules-headline {
    font-family: 'Anton', sans-serif;
    color: #ffffff;
    font-size: 38px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 25px;
}

.trbc-rules-body {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
}

/* Rec 3: left-accent scannable rule groups */
.trbc-rules-body h3 {
    font-family: 'Anton', sans-serif;
    color: #ffc72c;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0 0 8px;
}

.trbc-rules-body h3:first-child {
    margin-top: 0;
}

/* Each h3 + its content grouped with a left accent border */
.trbc-rules-body h3 ~ ul,
.trbc-rules-body h3 ~ p {
    padding-left: 16px;
    border-left: 3px solid #ffc72c;
    margin-left: 0;
    margin-bottom: 20px;
}

.trbc-rules-body {
    padding-bottom: 40px;
}

.trbc-rules-body p {
    margin-bottom: 15px;
}

.trbc-rules-body ul,
.trbc-rules-body ol {
    margin-left: 0;
    padding-left: 36px !important;
    margin-bottom: 20px;
    border-left: 3px solid #ffc72c;
}

.trbc-rules-body h3 + ul,
.trbc-rules-body h3 + ol {
    margin-top:1rem;
}

.trbc-rules-body li {
    margin-bottom: 6px;
    list-style-position: outside !important;
}

/* Rec 3: sticky rules image */
.trbc-rules-image-sticky {
    position: sticky;
    top: 40px;
}

.trbc-rules-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.trbc-form-intro {
    max-width:900px;
    width:100%;
    margin:0 auto;
    padding:0 20px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .trbc-landing-hero {
        padding: 50px 0;
        text-align: center;
    }

    .trbc-hero-image-col {
        margin-bottom: 30px;
    }

    .trbc-hero-content-col {
        padding-left: 15px;
    }

    .trbc-hero-headline {
        font-size: 36px;
    }

    .trbc-hero-body {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .trbc-tagline-banner p {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .trbc-landing-description {
        padding: 40px 0 30px;
    }

    .trbc-description-image-col {
        margin-top: 30px;
    }

    .trbc-description-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .trbc-form-headline {
        font-size: 26px;
    }

    .trbc-landing-rules {
        padding: 40px 0;
        text-align: left;
    }

    .trbc-rules-headline {
        font-size: 28px;
    }

    .trbc-rules-content-col {
        margin-bottom: 20px;
    }

    .trbc-rules-body {
        text-align: left;
        padding-bottom: 20px;
    }

    .trbc-rules-body h3 {
        font-size: 19px;
    }

    .trbc-rules-body {
        font-size: 14px;
    }

    /* Disable sticky on tablet/mobile — stack naturally */
    .trbc-rules-image-sticky {
        position: static;
    }

    .trbc-rules-image {
        max-width: 280px;
    }
}

@media (max-width: 767px) {
    .trbc-landing-hero {
        padding: 40px 0;
    }

    .trbc-hero-headline {
        font-size: 30px;
    }

    .trbc-accent-bar p {
        font-size: 15px;
    }

    .trbc-hero-cta {
        padding: 12px 30px;
        font-size: 16px;
    }

    .trbc-tagline-banner {
        padding: 16px 15px;
    }

    .trbc-tagline-banner p {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .trbc-landing-description {
        padding: 30px 15px 20px;
    }

    .trbc-description-content p,
    .trbc-description-content li {
        font-size: 15px;
    }

    .trbc-landing-form {
        padding: 40px 0;
    }

    .trbc-form-headline {
        font-size: 22px;
    }

    .trbc-landing-rules {
        padding: 30px 0;
    }

    .trbc-rules-headline {
        font-size: 22px;
        margin-bottom: 16px;
        text-align: left;
    }

    .trbc-rules-body {
        font-size: 13px;
        line-height: 1.6;
        padding-bottom: 10px;
    }

    .trbc-rules-body h3 {
        font-size: 17px;
        padding-bottom: 4px;
    }

    .trbc-rules-body ul,
    .trbc-rules-body ol {
        margin-bottom: 14px;
        padding-left: 24px !important;
    }

    .trbc-rules-body h3 ~ ul,
    .trbc-rules-body h3 ~ p {
        margin-bottom: 14px;
        padding-left: 12px;
    }

    .trbc-rules-body li {
        margin-bottom: 3px;
    }

    .trbc-rules-body p {
        margin-bottom: 10px;
    }

    .trbc-rules-image-col {
        display: none;
    }

    .trbc-hero-content-col {
        padding-left: 15px;
        padding-right: 15px;
    }
}
