
/* =========================================================
      single details page
    ========================================================= */
.single-page-wrapper .left-side-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    font-family: "Shurjo", var(--font-body), sans-serif;
    margin-bottom: 16px;
    color: var(--navy);
}

.magazine-image-viewport {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: clamp(320px, 46vw, 560px);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef3f7 0%, #dde6ee 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 28px 60px rgba(13, 27, 62, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.magazine-image-viewport::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    z-index: 3;
    pointer-events: none;
}

.magazine-image-viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(
        to top,
        rgba(7, 13, 34, 0.68),
        rgba(7, 13, 34, 0.02)
    );
    z-index: 1;
    /* margin: 96px auto 52px; */
    background: linear-gradient(180deg, #eef3f7 0%, #dde6ee 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 28px 60px rgba(13, 27, 62, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.magazine-image-viewport::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    z-index: 3;
    pointer-events: none;
}

.magazine-image-viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(
        to top,
        rgba(7, 13, 34, 0.68),
        rgba(7, 13, 34, 0.02)
    );
    z-index: 1;
}

.magazine-image-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(1.04) contrast(1.03);
    transition:
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        filter 0.8s ease;
    transform: scale(1.02);
    filter: saturate(1.04) contrast(1.03);
    transition:
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        filter 0.8s ease;
}

.magazine-image-viewport:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.05);
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.05);
}

.viewport-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.02) 48%,
        rgba(8, 14, 32, 0.15) 100%
    );
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.02) 48%,
        rgba(8, 14, 32, 0.15) 100%
    );
    z-index: 1;
}

.viewport-badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    background: rgba(255, 255, 255, 0.78);
    bottom: 22px;
    left: 22px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    letter-spacing: 0.3px;
    color: #0d1b3e;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 4;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #c9962a;
    border-radius: 50%;
    display: inline-block;
}

/* Notice title styling */
.notice-title {
    font-family: var(--font-display, "Playfair Display", serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy, #0d1b3e);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(201, 150, 42, 0.3);
}

/* Notice page spacing – push below fixed header */
.notice-page-spacing {
    padding-top: 80px;
}

/* Main content area */
.single-page-main-area {
    background-color: white;
    padding: 10px 0 40px;
    margin-top: 10px;
    padding: 10px 0 40px;
    margin-top: 10px;
}

.single-page-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.left-side-content {
    flex: 2;
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 150, 42, 0.15);
}

.left-side-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy, #0d1b3e);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.news-description {
    line-height: 1.9;
}
.left-side-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy, #0d1b3e);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.news-description {
    line-height: 1.9;
    color: #3d3d5c;
    font-size: 16px;
    text-align: justify;
}

.news-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0;
}

.news-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0;
}

.right-side-branch-list {
    flex: 1;
    background: var(--cream, #faf6ef);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(201, 150, 42, 0.2);
    position: sticky;
    top: 100px;
}

.right-side-branch-list h4 {
    font-family: var(--font-display, "Playfair Display", serif);
    color: var(--navy, #0d1b3e);
    border-left: 4px solid var(--gold, #c9962a);
    padding-left: 15px;
    margin-bottom: 20px;
}

.right-side-branch-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin: 0;
}

.right-side-branch-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(13, 27, 62, 0.1);
    padding-bottom: 10px;
}

.right-side-branch-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy, #0d1b3e);
    font-weight: 500;
    transition: 0.3s;
}

.right-side-branch-list li a i {
    font-size: 18px;
    color: var(--gold, #c9962a);
}

.right-side-branch-list li a:hover {
    color: var(--gold, #c9962a);
    transform: translateX(5px);
}

.see-more-news-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    background: var(--navy, #0d1b3e);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.see-more-news-btn:hover {
    background: var(--gold, #c9962a);
    color: var(--navy, #0d1b3e);
}

.see-more-news-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    background: var(--navy, #0d1b3e);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.see-more-news-btn:hover {
    background: var(--gold, #c9962a);
    color: var(--navy, #0d1b3e);
}

    /* Responsive adjustments */
@media (max-width: 992px) {
    .single-page-wrapper {
        flex-direction: column;
    }
    .right-side-branch-list {
        position: static;
    }
    .magazine-image-viewport {
        height: 250px;
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .perfections-wrapper {
        grid-template-columns: 1fr;
    }
    .magazine-image-viewport {
        height: 200px;
        margin-top: 60px;
    }
    .notice-page-spacing {
        padding-top: 70px;
    }
    .notice-title {
        font-size: 22px;
    }
}
