/* Atlanta Chapter 5 - Full Width Test Page */
/* Applies only to Test page Oct 2026 */

body#PAGEID_18181 .zoneContentOuter {
    width: 100% !important;
    max-width: none !important;
}

body#PAGEID_18181 .zoneContent.container_12 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body#PAGEID_18181 .zoneContentInner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body#PAGEID_18181 #id_Content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body#PAGEID_18181 .mpma-hero,
body#PAGEID_18181 .mpma-full-hero {
    width: 100% !important;
    max-width: none !important;
    left: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ATLANTA CHAPTER 5 - SECOND VIDEO FULL WIDTH */
/* Applies only to Test page Oct 2026 */

body#PAGEID_18181 .mpma-atlanta {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: 0 !important;
}

/* Remove spacing around the second video gadget */
body#PAGEID_18181 .WaGadgetCustomHTML:has(.mpma-atlanta) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body#PAGEID_18181 .WaGadgetCustomHTML:has(.mpma-atlanta) .gadgetStyleBody {
    margin: 0 !important;
    padding: 0 !important;
}

/* ATLANTA CHAPTER 5 - DEMO NAVIGATION */
/* Full-width menu background - Page 18181 only */

body#PAGEID_18181 .WaGadgetMenuHorizontal.menuStyle001 {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* ATLANTA CHAPTER 5 - DEMO HEADER FULL WIDTH */
/* Applies only to page 18181 */

body#PAGEID_18181 #id_nqKLmtl {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* ATLANTA CHAPTER 5 - LOGIN AREA BACKGROUND */
/* Test page 18181 only */

body#PAGEID_18181 .zoneHeaderOuter {
    background-color: #FFFFFF !important;
}

/* ATLANTA CHAPTER 5 - HERITAGE NAVY MENU */
/* Test page 18181 only */

body#PAGEID_18181 .zoneHeader2Outer,
body#PAGEID_18181 .WaGadgetMenuHorizontal.menuStyle001 {
    background-color: #182B40 !important;
}

/* ATLANTA CHAPTER 5 - HERITAGE NAVY TITLE */
/* Test page 18181 only */

body#PAGEID_18181 #id_nqKLmtl {
    background-color: #182B40 !important;
}

/* ATLANTA CHAPTER 5 - HEADER 2 BACKGROUND FIX */
/* Test page 18181 only */

body#PAGEID_18181 #id_Header2 {
    background-color: #182B40 !important;
}

/* ATLANTA CHAPTER 5 - PAGE BACKGROUND */
/* Test page 18181 only */

body#PAGEID_18181 {
    background-color: #F5F2EA !important;
    background-image: none !important;
}

/* ATLANTA CHAPTER 5 - 3D SWIVEL SHIELD */
/* Test page 18181 only */

body#PAGEID_18181 img[src*="New%202020%20NMPMA%20Official%20Logo.png"] {
    animation: mpmaShieldSwivel 6s ease-in-out infinite;
    transform-origin: center center;
    backface-visibility: hidden;
}

@keyframes mpmaShieldSwivel {
    0%, 100% {
        transform: perspective(600px) rotateY(0deg);
    }

    25% {
        transform: perspective(600px) rotateY(-25deg);
    }

    50% {
        transform: perspective(600px) rotateY(0deg);
    }

    75% {
        transform: perspective(600px) rotateY(25deg);
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    body#PAGEID_18181 img[src*="New%202020%20NMPMA%20Official%20Logo.png"] {
        animation: none;
    }
}

/* ==========================================
   ATLANTA CHAPTER 5
   HISTORICAL INTRODUCTION
   Demo Page ID: 18181
   ========================================== */

/* Main section */
body#PAGEID_18181 .mpma-history {
    width: 100%;
    background-color: #ffffff;
    padding: 75px 30px;
    box-sizing: border-box;
}

/* Two-column layout */
body#PAGEID_18181 .mpma-history-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    align-items: center;
}

/* Photograph container */
body#PAGEID_18181 .mpma-history-image {
    width: 100%;
    min-width: 0;
}

/* Photograph styling */
body#PAGEID_18181 .mpma-history-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Text column */
body#PAGEID_18181 .mpma-history-text {
    min-width: 0;
}

/* Historical headline */
body#PAGEID_18181 .mpma-history-text h2 {
    font-family: Helvetica, Arial, sans-serif;
    color: #182B40;
}

/* Historical paragraphs */
body#PAGEID_18181 .mpma-history-text p {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0 0 18px 0;
}

/* Discover Their Story button */
body#PAGEID_18181 .mpma-history-button {
    color: #ffffff !important;
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none !important;
    border-radius: 4px;
    margin-top: 12px;
    transition: background-color 0.25s ease;
}

/* ==========================================
   ATLANTA CHAPTER 5
   HISTORICAL SECTION - LAYOUT OVERRIDES
   ========================================== */

/* Full-width section */
.mpma-history {
    position: relative;
    box-sizing: border-box;
    background: #ffffff !important;
}

/* Centered two-column content */
.mpma-history .mpma-history-inner {
    margin: 0 auto !important;
    display: grid !important;
    align-items: center;
}

/* Historical photograph */
.mpma-history .mpma-history-image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Headline */
.mpma-history .mpma-history-text h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #182B40 !important;
    border-left: 5px solid #D4AF37;
    padding-left: 20px;
    margin: 0 0 25px 0 !important;
}

/* Paragraphs */
.mpma-history .mpma-history-text p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    margin-bottom: 18px !important;
}

/* Clickable history button */
.mpma-history a.mpma-history-button {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    background: #182B40 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-decoration: none !important;
    padding: 16px 26px !important;
    border-radius: 4px;
    margin-top: 12px;
    transition: background 0.25s ease;
}

/* Button hover */
.mpma-history a.mpma-history-button:hover {
    background: #304C69 !important;
    color: #ffffff !important;
}

/* ==========================================
   CHAPTER 5 - HISTORICAL SECTION FIX
   Correct alignment and prevent clipping
   ========================================== */

.mpma-history {
    width: 100vw !important;
    max-width: none !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    padding: 65px 40px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Keep content centered */
.mpma-history .mpma-history-inner {
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 45px !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* Prevent either column from overflowing */
.mpma-history .mpma-history-image,
.mpma-history .mpma-history-text {
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Display the complete photograph */
.mpma-history .mpma-history-image img {
    width: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* Keep text inside its column */
.mpma-history .mpma-history-text h2,
.mpma-history .mpma-history-text p {
    max-width: 100% !important;
    overflow-wrap: break-word;
}

/* ==========================================
   ATLANTA CHAPTER 5
   FULL-WIDTH HISTORICAL BACKGROUND
   ========================================== */

/* Extend the white background to both screen edges */

/* ==========================================
   ATLANTA CHAPTER 5
   EDGE-TO-EDGE HISTORICAL BACKGROUND
   ========================================== */

.mpma-history {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 100vmax #ffffff !important;
    clip-path: inset(0 -100vmax) !important;
}

/* TEST: Allow the historical gadget to extend beyond its container */

body#PAGEID_18181 .WaGadgetCustomHTML:has(.mpma-history) {
    overflow: visible !important;
}

body#PAGEID_18181 .WaGadgetCustomHTML:has(.mpma-history) .gadgetStyleBody {
    overflow: visible !important;
}

body#PAGEID_18181 .mpma-history {
    position: relative !important;
    isolation: auto !important;
    overflow: visible !important;
}

body#PAGEID_18181 .mpma-history::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #ffffff;
    z-index: -1;
}

/* HISTORICAL SECTION - HEADLINE WRAPPING */

.mpma-history .mpma-history-text h2 {
    font-size: 32px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
}

/* ==========================================
   ATLANTA CHAPTER 5
   HISTORICAL SECTION - RESPONSIVE LAYOUT
   ========================================== */

/* Tablet layout */
@media (max-width: 900px) {
    .mpma-history {
        padding: 55px 25px !important;
    }

    .mpma-history .mpma-history-inner {
        gap: 30px !important;
    }

    .mpma-history .mpma-history-text h2 {
        font-size: 28px !important;
    }
}

/* Mobile layout */
@media (max-width: 768px) {
    .mpma-history {
        padding: 40px 20px !important;
    }

    .mpma-history .mpma-history-inner {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
    }

    .mpma-history .mpma-history-text h2 {
        font-size: 26px !important;
    }

    .mpma-history .mpma-history-text p {
        font-size: 16px !important;
    }

    .mpma-history a.mpma-history-button {
        padding: 13px 24px !important;
    }
}


/* ==========================================
   ATLANTA CHAPTER 5
   OUR MISSION - COMMUNITY - IMPACT
   Demo Page ID: 18181
   ========================================== */

/* Allow full-width section background */

body#PAGEID_18181 .WaGadgetCustomHTML:has(.mpma-mission),
body#PAGEID_18181 .WaGadgetCustomHTML:has(.mpma-mission) .gadgetStyleBody {
    overflow: visible !important;
}

/* Main mission section */

body#PAGEID_18181 .mpma-mission {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    padding: 75px 40px;
    background-color: #F5F2EA;
    box-sizing: border-box;
    box-shadow: 0 0 0 100vmax #F5F2EA;
    clip-path: inset(0 -100vmax);
}

/* Centered content area */

body#PAGEID_18181 .mpma-mission-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Section heading */

body#PAGEID_18181 .mpma-mission-heading {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Small introductory heading */

body#PAGEID_18181 .mpma-mission-eyebrow {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #182B40;
    margin-bottom: 15px;
}

/* Main heading */

body#PAGEID_18181 .mpma-mission-heading h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #182B40 !important;
    margin: 0 0 20px !important;
    white-space: normal !important;
    height: auto !important;
    overflow: visible !important;
}

/* Gold accent divider */

body#PAGEID_18181 .mpma-mission-divider {
    width: 65px;
    height: 4px;
    background-color: #D4AF37;
    margin: 0 auto 22px;
}

/* Introductory paragraph */

body#PAGEID_18181 .mpma-mission-heading p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    margin: 0;
}

/* Three-column card layout */

body#PAGEID_18181 .mpma-mission-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* Individual mission cards */

body#PAGEID_18181 .mpma-mission-card {
    min-width: 0;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

/* Card hover effect */

@media (hover: hover) {
    body#PAGEID_18181 .mpma-mission-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    }
}

/* Card photographs */

body#PAGEID_18181 .mpma-mission-card img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

/* Card text area */

body#PAGEID_18181 .mpma-mission-card-content {
    padding: 25px 22px 30px;
    border-top: 4px solid #D4AF37;
    text-align: center;
}

/* Card headings */

body#PAGEID_18181 .mpma-mission-card-content h3 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #182B40 !important;
    margin: 0 0 15px !important;
    white-space: normal !important;
    height: auto !important;
}

/* Card paragraphs */

body#PAGEID_18181 .mpma-mission-card-content p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #333333 !important;
    margin: 0 !important;
}

/* Tablet layout */

@media (max-width: 900px) {

    body#PAGEID_18181 .mpma-mission {
        padding: 55px 25px;
    }

    body#PAGEID_18181 .mpma-mission-heading h2 {
        font-size: 30px !important;
    }

    body#PAGEID_18181 .mpma-mission-grid {
        gap: 18px;
    }

    body#PAGEID_18181 .mpma-mission-card-content {
        padding: 20px 15px 25px;
    }

    body#PAGEID_18181 .mpma-mission-card-content h3 {
        font-size: 20px !important;
    }
}

/* Mobile layout */

@media (max-width: 768px) {

    body#PAGEID_18181 .mpma-mission {
        padding: 45px 20px;
    }

    body#PAGEID_18181 .mpma-mission-heading {
        margin-bottom: 30px;
    }

    body#PAGEID_18181 .mpma-mission-heading h2 {
        font-size: 27px !important;
    }

    body#PAGEID_18181 .mpma-mission-heading p {
        font-size: 16px !important;
    }

    body#PAGEID_18181 .mpma-mission-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    body#PAGEID_18181 .mpma-mission-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    body#PAGEID_18181 .mpma-mission-card-content {
        padding: 25px 20px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {

    body#PAGEID_18181 .mpma-mission-card {
        transition: none;
    }

    body#PAGEID_18181 .mpma-mission-card:hover {
        transform: none;
    }
}

/* ==========================================
   ATLANTA CHAPTER 5
   REMOVE DEFAULT THEME HEADING DIVIDERS
   Demo Page ID: 18181
   ========================================== */

body#PAGEID_18181 .mpma-history-text h2,
body#PAGEID_18181 .mpma-mission-heading h2 {
    border-bottom: none !important;
    background-image: none !important;
    padding-bottom: 0 !important;
}

body#PAGEID_18181 .mpma-history-text h2::after,
body#PAGEID_18181 .mpma-mission-heading h2::after {
    content: none !important;
    display: none !important;
}

/* ==========================================
   ATLANTA CHAPTER 5
   REMOVE INHERITED FOOTER BACKGROUND
   Demo Page ID: 18181
   ========================================== */

body#PAGEID_18181 .zoneFooterOuter .zoneFooterInner {
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove inherited Skyline decorative side shadows */

body#PAGEID_18181 .zoneFooterOuter .zoneFooterInner::before,
body#PAGEID_18181 .zoneFooterOuter .zoneFooterInner::after {
    background-image: none !important;
    display: none !important;
}