/* 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;
    background-color: #767263 !important;
}

/* ATLANTA CHAPTER 5 - NAVIGATION BACKGROUND FIX */
/* Test page 18181 only */

body#PAGEID_18181 .zoneHeader2Outer {
    background-color: #767263 !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;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

/* 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;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 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;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #182B40;
    margin: 0 0 24px 0;
}

/* Historical paragraphs */
body#PAGEID_18181 .mpma-history-text p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 18px 0;
}

/* Discover Their Story button */
body#PAGEID_18181 .mpma-history-button {
    display: inline-block;
    background-color: #182B40;
    color: #ffffff !important;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 14px 28px;
    border-radius: 4px;
    margin-top: 12px;
    transition: background-color 0.25s ease;
}

/* Button hover */
body#PAGEID_18181 .mpma-history-button:hover {
    background-color: #304C69;
    color: #ffffff !important;
}

/* Tablet layout */
@media (max-width: 900px) {
    body#PAGEID_18181 .mpma-history {
        padding: 55px 25px;
    }

    body#PAGEID_18181 .mpma-history-inner {
        gap: 30px;
    }

    body#PAGEID_18181 .mpma-history-text h2 {
        font-size: 27px;
    }
}

/* Mobile layout */
@media (max-width: 768px) {
    body#PAGEID_18181 .mpma-history {
        padding: 45px 20px;
    }

    body#PAGEID_18181 .mpma-history-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body#PAGEID_18181 .mpma-history-text h2 {
        font-size: 26px;
    }

    body#PAGEID_18181 .mpma-history-text p {
        font-size: 16px;
    }

    body#PAGEID_18181 .mpma-history-button {
        padding: 13px 24px;
    }
}

/* ==========================================
   ATLANTA CHAPTER 5
   HISTORICAL SECTION - LAYOUT OVERRIDES
   ========================================== */

/* Full-width section */
.mpma-history {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    left: 50%;
    margin-left: -50vw !important;
    box-sizing: border-box;
    background: #ffffff !important;
    padding: 75px 30px !important;
}

/* Centered two-column content */
.mpma-history .mpma-history-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center;
    gap: 55px;
}

/* 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;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .mpma-history {
        padding: 45px 20px !important;
    }

    .mpma-history .mpma-history-inner {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .mpma-history .mpma-history-text h2 {
        font-size: 28px !important;
    }
}

/* ==========================================
   CHAPTER 5 - HISTORICAL SECTION FIX
   Correct alignment and prevent clipping
   ========================================== */

.mpma-history {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 65px 30px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Keep content centered */
.mpma-history .mpma-history-inner {
    width: 100% !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
    display: grid !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;
    height: auto !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;
}

/* Responsive 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: 27px !important;
    }
}

/* ==========================================
   ATLANTA CHAPTER 5
   FULL-WIDTH HISTORICAL BACKGROUND
   ========================================== */

.mpma-history {
    position: relative !important;
    background-color: #ffffff !important;
    isolation: isolate;
}

/* Extend the white background to both screen edges */
.mpma-history::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #ffffff;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================
   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;
}



