/*
  Dearden2007 CSS split generated from the original style.css.
  shared.css contains only global header/navigation/footer/base rules.
  Each page stylesheet contains rules matched to that page's HTML.
*/

/* Page: custody-disputes */

.journey-btn{

    display: inline-block;

    margin-top: 40px;

    padding: 25px 60px;

    font-size: 28px;

    font-weight: bold;

    text-decoration: none;

    text-transform: uppercase;

    color: white;

    border-radius: 50px;

    background: linear-gradient(
        45deg,
        #0b1c4a,
        #1e4cff
    );

    border: 3px solid #1e4cff;

    box-shadow:
        0 0 20px rgba(30,76,255,.5);

    transition: all .3s ease;
}

.journey-btn:hover{

    background: linear-gradient(
        45deg,
        #750000,
        #d61c1c
    );

    border-color: #d61c1c;

    transform: scale(1.05);

    box-shadow:
        0 0 30px rgba(214,28,28,.7);
}

.impact-modal{

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.85);

    z-index: 9999;

    justify-content: center;

    align-items: center;
}

.impact-modal-content{

    background: #111;

    width: 90%;

    max-width: 1200px;

    max-height: 85vh;

    overflow-y: auto;

    padding: 40px;

    border-radius: 25px;

    border: 2px solid #1e4cff;

    box-shadow:
    0 0 30px rgba(30,76,255,.5);
}

.impact-close{

    float: right;

    font-size: 42px;

    cursor: pointer;

    color: white;
}

.resource-hero{

    text-align: center;

    padding: 25px 30px;

    background:
        radial-gradient(
            circle at left,
            rgba(30,76,255,.20),
            transparent 40%
        ),

        radial-gradient(
            circle at right,
            rgba(214,28,28,.20),
            transparent 40%
        );

    border-radius: 25px;

    margin: 20px;

    position: relative;

    overflow: hidden;
}

.resource-hero h1{

    font-size: 60px;

    color: #d61c1c;
}

.resource-section{

    max-width: 1200px;

    margin: 25px auto;

    padding: 30px;
}

.resource-section h2{

    background: #111;

    border: 1px solid #333;

    color: white;

    text-shadow: none;

    box-shadow: none;
}

.resource-grid{

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap: 25px;
}

.mission-section{

    max-width: 1300px;

    margin: 50px auto;

    padding: 25px 35px;

    background:
        linear-gradient(
            135deg,
            rgba(30,76,255,.08),
            rgba(214,28,28,.08)
        );

    border-radius: 25px;

    overflow: hidden;

    text-align: center;
}

.quote-banner{

    max-width: 850px;

    margin: 50px auto;

    padding: 20px 30px;

    text-align: center;

    font-size: 32px;

    line-height: 1.7;

    font-style: italic;

    border-left: 6px solid #1e4cff;

    border-right: 6px solid #d61c1c;
}

.mission-image{
    float: none;
    width: 100%;
    margin: 30px auto 0 auto;
    text-align: center;
}

.mission-image img{
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    border: 3px solid #1e4cff;
    box-sizing: border-box;
    box-shadow:
        0 0 20px rgba(30,76,255,.4),
        0 0 20px rgba(214,28,28,.3);
}

.challenge-btn{

    width: auto;

    text-align: center;

    margin-top: 10px;

    padding: 8px 18px;

    font-size: 14px;

    font-weight: bold;

    border-radius: 12px;

    background: linear-gradient(
        45deg,
        #0b1c4a,
        #1e4cff
    );

    border: 2px solid #1e4cff;

    color: white;

    text-decoration: none;

    transition: .3s ease;

    box-sizing: border-box;
}

.challenge-btn:hover{

    background: linear-gradient(
        45deg,
        #750000,
        #d61c1c
    );

    border-color: #d61c1c;
}

.challenge-btn:hover{

    background: linear-gradient(
        45deg,
        #750000,
        #d61c1c
    );

    border-color: #d61c1c;

    transform: translateY(-3px);
}

.resource-card{

    background: #0f0f0f;

    border: 1px solid #2b2b2b;

    border-radius: 12px;

    text-align: left;

    padding: 30px;
}

.resource-card:hover{

    transform: none;

    border-color: #444;

    box-shadow: none;

}

.resource-card h2{

    color: white;

    font-size: 26px;

    border-bottom: 1px solid #333;

    padding-bottom: 15px;

    margin-bottom: 20px;

}

.resource-card p{

    font-size: 20px;

    line-height: 1.6;

}

.mission-section p{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
}

.mission-section h2{

    font-size: 42px;

    color: #d61c1c;

    margin-bottom: 20px;

    text-align: center;

}

.resource-grid{

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}

.resource-card{

    padding: 20px;

    min-height: 180px;

}

.resource-card h2{

    font-size: 28px;

    margin-bottom: 10px;

}

.resource-card p{

    font-size: 18px;

    line-height: 1.5;

}

.video-gallery-section{

    margin-top: 80px;
    text-align: center;
}

.video-gallery{

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(280px, 350px));

    justify-content: center;

    gap: 25px;
}

.video-thumb{

    position: relative;

    cursor: pointer;

    overflow: hidden;

    border-radius: 12px;
}

.video-thumb img{

    width: 100%;

    display: block;

    transition: .3s;
}

.video-thumb:hover img{

    transform: scale(1.05);
}

.play-icon{

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%,-50%);

    font-size: 50px;

    color: white;

    text-shadow: 0 0 15px black;
}

.video-modal{

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.95);

    z-index: 99999;
}

.video-modal-content{

    width: 90%;

    max-width: 1200px;

    margin: 3% auto;
}

.video-modal iframe{

    width: 100%;

    height: 70vh;

    border: none;
}

.close-video{

    position: absolute;

    top: 20px;
    right: 35px;

    color: white;

    font-size: 50px;

    cursor: pointer;
}

.story-submit,
.comment-section{

    max-width: 1200px;

    margin: 80px auto;

    padding: 40px;

    background: #111;

    border: 1px solid #333;

    border-radius: 20px;
}

.story-submit h2,
.comment-section h2{

    text-align: center;

    color: white;

    font-size: 42px;

    margin-bottom: 20px;
}

.story-submit p,
.comment-section p{

    text-align: center;

    font-size: 20px;

    line-height: 1.7;

    max-width: 900px;

    margin: 0 auto 30px auto;
}

.story-submit input,
.story-submit textarea,
.comment-section textarea{

    width: 100%;

    padding: 18px;

    margin-bottom: 20px;

    background: #0a0a0a;

    color: white;

    border: 1px solid #444;

    border-radius: 12px;

    box-sizing: border-box;
}

.comment-placeholder{

    margin-top: 30px;

    text-align: center;

    color: #aaa;
}

.video-gallery-section h2{

    font-size: 72px;

    color: #d61c1c;

    text-transform: uppercase;

    margin-bottom: 40px;

    text-shadow:
        0 0 15px rgba(214,28,28,.5);
}

@media (max-width: 900px){
    body{
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .resource-hero,
    .mission-section,
    .resource-section,
    .story-submit,
    .comment-section{
        width: calc(100% - 36px);
        max-width: none;
        margin-right: 18px;
        margin-left: 18px;
        box-sizing: border-box;
    }

    .resource-hero{
        padding: 30px 18px;
    }

    .resource-hero h1{
        margin: 0 0 16px;
        font-size: clamp(36px, 8vw, 54px);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .resource-hero p{
        font-size: 18px;
        line-height: 1.55;
    }

    .mission-section{
        padding: 22px;
    }

    .mission-image{
        margin: 0 auto 28px;
    }

    .mission-section h2{
        font-size: clamp(34px, 7vw, 46px);
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .mission-section p{
        font-size: 18px;
        line-height: 1.65;
    }

    .quote-banner{
        width: calc(100% - 36px);
        max-width: none;
        margin: 38px 18px;
        padding: 22px 20px;
        box-sizing: border-box;
        font-size: 21px;
        line-height: 1.55;
    }

    .resource-section{
        padding: 24px 0;
    }

    .resource-section > h2{
        font-size: clamp(32px, 7vw, 46px);
        line-height: 1.1;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .resource-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .resource-card{
        min-width: 0;
        padding: 18px;
        box-sizing: border-box;
    }

    .resource-card h2{
        font-size: 23px;
        overflow-wrap: anywhere;
    }

    .resource-card p{
        font-size: 17px;
        line-height: 1.5;
    }

    .video-gallery-section{
        width: 100%;
        max-width: 100%;
        margin-top: 54px;
        box-sizing: border-box;
    }

    .video-gallery-section h2{
        font-size: clamp(36px, 8vw, 54px);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .video-gallery{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 0 18px;
    }

    .video-thumb{
        min-width: 0;
    }

    .story-submit,
    .comment-section{
        padding: 28px 22px;
    }

    .story-submit h2,
    .comment-section h2{
        font-size: clamp(32px, 7vw, 44px);
    }

    .impact-modal-content{
        width: calc(100% - 36px);
        padding: 24px 18px;
        box-sizing: border-box;
    }

    #researchLink{
        box-sizing: border-box;
    }

    .journey-btn,
    .challenge-btn{
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 560px){
    .resource-grid,
    .video-gallery{
        grid-template-columns: minmax(0, 1fr);
    }

    .mission-section{
        padding: 18px;
    }

    .journey-btn{
        width: 100%;
        padding: 16px 18px;
        font-size: 18px;
    }
}
