.content-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px 60px;
    box-sizing: border-box;
}

/* Top template applies body { padding-top: 185px } on ≤992px to clear its
   fixed mobile header, but the header is ~135px tall. Scoped via #sales-landing
   (top-only wrapper) so we don't disturb egged/couponia/corporate_new body padding. */
@media (max-width: 992px) {
    body:has(#sales-landing .content-page) {
        padding-top: 135px;
    }
}

/* Neutralize couponia/egged container max-width + .gap spacers that
   double up our content-page top padding. Mirrors cart.css's pattern. */
.container:has(> .content-page) {
    max-width: none;
}

.container > .gap:has(+ .content-page),
.gap:has(+ .container > .content-page) {
    display: none;
}

@media (max-width: 768px) {
    .container:has(> .content-page) {
        padding-left: 0;
        padding-right: 0;
    }
}

.content-page > .breadcrumbs {
    width: 100%;
    text-align: right;
    justify-content: flex-start;
    margin-bottom: 12px;
    padding: 0;
}

.main-content-container {
    display: flex;
    width: 100%;
    padding: 40px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 40px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 8px 28px rgba(11, 4, 39, 0.12);
    z-index: 2;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .content-page {
        padding: 8px 16px 40px;
    }

    .main-content-container {
        padding: 28px 24px;
    }
}

/* Content Page Styles */
.content-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    color: #0B0427;
    text-align: right;
    width: 100%;
}

.content-body {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
    opacity: 0.6;
    text-align: right;
    width: 100%;
}

.content-body p {
    margin-bottom: 0;
}

.content-hero {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.content-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
}

.content-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .content-title {
        font-size: 26px;
    }

    .content-body {
        font-size: 16px;
    }
}
