/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
    font-family: 'Calligraffiti';
    src: url('../../fonts/Calligraffiti-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   GLOBAL UTILITY RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   REUSABLE STRUCTURAL TEXT ELEMENTS (Full Width Blocks)
   ========================================================================== */
.yearbook-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

p,
.full-width-text {
    width: 100%;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.full-width-heading {
    width: 100%;
    font-family: 'Arimo', Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    color: #3B3B3B;
    text-decoration: none;
    text-align: left;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0;
    text-transform: none;
}

.full-width-subheading {
    width: 100%;
    font-family: 'Arimo', Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    text-align: left;
    line-height: 24px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
    text-transform: none;
}

.full-width-report-by {
    width: 100%;
    font-family: 'Arimo Italic', Arial, sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    text-align: left;
    line-height: 24px;
    margin-top: 15px;
    margin-bottom: 30px;
    padding: 0;
    text-transform: none;
}

.full-width-list {
    width: 100%;
    margin-top: 0;
    margin-bottom: 25px;
    padding-left: 25px;
}

.full-width-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.full-width-list li:last-child {
    margin-bottom: 0;
}

ul.full-width-list.bulleted,
ul.full-width-list.bulleted li {
    list-style-type: disc;
}

ul.full-width-list.unbulleted,
ul.full-width-list.unbulleted li {
    list-style-type: none !important;
    list-style: none !important;
    padding-left: 0;
}

ul.full-width-list.unbulleted li::before {
    content: none !important;
}

ol.full-width-list,
ol.full-width-list li {
    list-style-type: decimal;
}

.permanent-highlight {
    background-color: #ffffcc !important;
    border-left: 6px solid #ffff00;
    padding: 15px 18px !important;
    border-radius: 4px;
    display: block;
    box-sizing: border-box;
}

.media-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    clear: both;
}

.media-block.img-right {
    flex-direction: row;
}

.media-block.three-column .media-figure {
    flex: 0 0 25% !important;
    max-width: 250px !important;
    min-width: 120px !important;
}

.media-figure {
    flex: 0 0 35%;
    max-width: 400px;
    min-width: 150px;
}

.media-figure img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.media-body {
    flex: 1;
}

.media-body p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.6;
}

.media-body p:last-child {
    margin-bottom: 0;
}

.signature {
    margin-top: 40px;    /* Creates extra breathing room above the signature */
    margin-bottom: 25px; /* Keeps standard bottom spacing below it */
}

/* ==========================================================================
   REUSABLE FONT MODIFIER CLASSES
   ========================================================================== */
.font-calligraffiti,
.font-calligraffiti p,
.font-calligraffiti li,
.font-calligraffiti .full-width-heading,
.font-calligraffiti .full-width-subheading,
.font-calligraffiti .full-width-report-by,
.font-calligraffiti .media-body p,
.full-width-heading.font-calligraffiti,
.full-width-subheading.font-calligraffiti,
.full-width-report-by.font-calligraffiti,
.media-body p.font-calligraffiti {
    font-family: 'Calligraffiti', cursive !important;
}

/* ==========================================================================
   RESPONSIVE DEVICES OPTIMIZATIONS (iPhone & iPad Mobile Breakpoints)
   ========================================================================== */
@media (max-width: 768px) {
    .yearbook-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    div.media-block {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .media-block .media-figure,
    .media-block.three-column .media-figure {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .media-block .media-figure img {
        width: 100% !important;
        max-width: 450px !important;
    }
}
