/**
 * SHRS Page Templates - Global Shared Styles
 * These styles apply to ALL page templates (homepage, about, etc.)
 */

/* ========================================
   GLOBAL TYPOGRAPHY & HEADINGS
   ======================================== */

/* All H1 headings */
h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: #003594;
}

/* All H2 headings */
h2, .h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1.25rem 0;
    color: #003594;
}

/* All H3 headings */
h3, .h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    color: #003594;
}

/* All H4 headings */
h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    color: #003594;
}

/* All H5 headings */
h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    color: #003594;
}

/* All H6 headings */
h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    color: #003594;
}

/* Responsive heading sizes */
@media (max-width: 768px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.375rem; }
    h4, .h4 { font-size: 1.125rem; }
}

@media (max-width: 576px) {
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
}

/* ========================================
   GLOBAL HERO HEADER COMPONENT
   ======================================== */

.shrs-hero-header {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #003594;
}

.shrs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.shrs-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 20px;
    position: relative;
    z-index: 2;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Breadcrumb */
.shrs-breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.shrs-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.shrs-breadcrumb a:hover {
    color: #ffffff;
}

/* Hero Title Box - Two Variants */

/* Variant 1: Gold background (default - like programs) */
.shrs-hero-title-box {
    position: absolute;
    bottom: 0;
    background: #ffb81c;
    padding: 0.75rem 1.5rem;
    margin-bottom: 20px;
}

.shrs-hero-title-box h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: #003594;
}

/* Variant 2: Blue background (for about page, etc) */
.shrs-hero-title-box.blue {
    background: #003594;
}

.shrs-hero-title-box.blue h1 {
    color: #ffffff;
}

/* At-a-Glance Info Box (optional) */
.shrs-hero-info-box {
    position: absolute !important;
    right: 2rem !important;
    bottom: 2rem !important;
    background: rgba(0, 53, 148, 0.9) !important;
    border: 4px solid #ffb81c !important;
    padding: 1.5rem !important;
    max-width: 320px !important;
    z-index: 3 !important;
}

.shrs-hero-info-box h3 {
    color: #ffb81c;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
}

.shrs-hero-info-box p {
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 0.95rem;
}

/* Hide info box on mobile */
@media (max-width: 1024px) {
    .shrs-hero-info-box {
        display: none !important;
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .shrs-hero-header {
        min-height: 400px;
    }
    
    .shrs-hero-content {
        min-height: 400px;
        padding-top: 1.5rem;
    }
    
    .shrs-hero-title-box h1 {
        font-size: 1.5rem;
    }
}

/* ========================================
   GLOBAL CONTAINER
   ======================================== */

/* Global Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ========================================
   GLOBAL BUTTONS
   ======================================== */

/* Global Buttons */
.btn-1,
.btn-primary {
    display: inline-block;
    padding: 8px 16px;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.25px;
    word-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    background-color: #ffb81c !important;
    color: #003594 !important;
    border: none;
    cursor: pointer;
}

.btn-1:hover,
.btn-primary:hover {
    background-color: #e7a617 !important;
    text-decoration: none;
}

.btn-2,
.btn-secondary {
    display: inline-block;
    padding: 8px 16px;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.25px;
    word-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    background-color: #003594 !important;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
}

.btn-2:hover,
.btn-secondary:hover {
    background-color: #002570 !important;
    text-decoration: none;
}

/* ========================================
   GLOBAL SECTION STYLES
   ======================================== */

/* Global Section Styles */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003594;
}

.section-caption,
.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   GLOBAL CONTENT BOXES
   ======================================== */

/* Global Content Boxes */
.content-box {
    background-color: #003594;
    color: #ffffff;
    padding: 40px 60px;
    border-radius: 0;
}

.content-box-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.content-box-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
    color: #ffffff;
}

/* ========================================
   GLOBAL TWO-COLUMN LAYOUT
   ======================================== */

/* Global Two-Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.two-column-layout.image-left {
    grid-template-columns: 300px 1fr;
}

.two-column-layout.image-right {
    grid-template-columns: 1fr 300px;
}

/* ========================================
   GLOBAL IMAGE STYLES
   ======================================== */

/* Global Image Styles */
.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* ========================================
   GLOBAL LINK STYLES
   ======================================== */

/* Global Link Styles */
.content-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #003594;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.content-link:hover {
    background-color: #002570;
    text-decoration: none;
}

.content-link.gold {
    background-color: #ffb81c;
    color: #003594;
}

.content-link.gold:hover {
    background-color: #e7a617;
}

/* ========================================
   GLOBAL RESPONSIVE BREAKPOINTS
   ======================================== */

/* Global Responsive Breakpoints */
@media (max-width: 992px) {
    .two-column-layout,
    .two-column-layout.image-left,
    .two-column-layout.image-right {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-caption,
    .section-subtitle {
        font-size: 16px;
    }
    
    .content-box {
        padding: 30px 40px;
    }
    
    .content-box-title {
        font-size: 1.5rem;
    }
    
    .content-box-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }
    
    .content-box {
        padding: 25px 30px;
    }
    
    .content-box-title {
        font-size: 1.25rem;
    }
}
