@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

.national-leader-page {
    width: 100%;
    background: #ffffff;
    font-family: "Montserrat", sans-serif;
    color: #172033;
}

.national-leader-page,
.national-leader-page * {
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

.national-leader-page *::before,
.national-leader-page *::after {
    box-sizing: border-box;
}

.national-leader-page .container {
    width: min(100% - 32px, 1320px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================
   BREADCRUMB
========================= */

.national-leader-breadcrumb-section {
    padding: 18px 0 13px !important;
    background: #ffffff;
}

.national-leader-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 7px !important;
    color: #7f8994 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.national-leader-breadcrumb a {
    color: #7f8994 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.national-leader-breadcrumb a:hover {
    color: #173f67 !important;
    text-decoration: none !important;
}

.national-leader-breadcrumb span {
    color: #9ca6af !important;
    font-size: 10px !important;
}

.national-leader-breadcrumb strong {
    color: #173f67 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.national-leader-full-line {
    width: 100%;
    height: 1px;
    background: #dfe5eb;
}

/* =========================
   SECTION
========================= */

.national-leader-section {
    padding: 34px 0 42px;
    background:
        radial-gradient(circle at 96% 10%, rgba(23, 63, 103, 0.06), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.national-leader-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 26px;
    align-items: flex-start;
}

/* =========================
   SIDEBAR / MENU
========================= */

.national-leader-sidebar {
    position: sticky;
    top: 110px;
}

.national-leader-menu {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.national-leader-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 13px 15px;
    border-radius: 14px;
    color: #66758a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease,
        box-shadow 0.2s ease;
}

.national-leader-menu a:not(:last-child) {
    margin-bottom: 4px;
}

.national-leader-menu a:hover {
    color: #173f67;
    background: #f1f5f9;
    padding-left: 18px;
    text-decoration: none;
}

.national-leader-menu a.active {
    color: #ffffff;
    background: #173f67;
    box-shadow: 0 10px 22px rgba(23, 63, 103, 0.18);
}

.national-leader-menu-dropdown-toggle {
    position: relative;
    width: 100%;
    min-height: 48px;
    padding: 13px 38px 13px 15px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #66758a;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease,
        box-shadow 0.2s ease;
}

.national-leader-menu-dropdown-toggle:hover {
    color: #173f67;
    background: #f1f5f9;
    padding-left: 18px;
}

.national-leader-menu-dropdown-toggle.active {
    color: #ffffff;
    background: #173f67;
    box-shadow: 0 10px 22px rgba(23, 63, 103, 0.18);
}

.national-leader-menu-dropdown-toggle::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.national-leader-menu-dropdown-toggle.is-open::after {
    transform: translateY(-35%) rotate(225deg);
}

.national-leader-submenu {
    display: flex;
    flex-direction: column;
    margin: 2px 0 6px;
    padding: 5px 0 5px 12px;
    border-left: 1px dashed #d5dde7;
    animation: nationalLeaderDropdownFade 0.18s ease;
}

.national-leader-submenu[hidden] {
    display: none;
}

@keyframes nationalLeaderDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.national-leader-submenu > a {
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
}

.national-leader-submenu > a:hover {
    color: #173f67;
    background: #f1f5f9;
    padding-left: 15px;
}

.national-leader-submenu > a.active {
    color: #173f67;
    background: #eef5fb;
    box-shadow: none;
}

.national-leader-submenu-child {
    display: flex;
    flex-direction: column;
    margin: 0 0 6px 10px;
    padding-left: 12px;
    border-left: 1px dashed #d5dde7;
}

.national-leader-submenu-child a {
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 10px;
    color: #7a8493;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
}

.national-leader-submenu-child a:hover {
    color: #173f67;
    background: #f1f5f9;
    padding-left: 14px;
}

.national-leader-submenu-child a.active {
    color: #ffffff;
    background: #173f67;
    box-shadow: 0 8px 18px rgba(23, 63, 103, 0.16);
}

/* =========================
   CONTENT CARD
========================= */

.national-leader-content {
    min-width: 0;
}

.national-leader-card {
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.national-leader-heading {
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #dfe5eb;
}

.national-leader-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.45px;
}

/* =========================
   HOME PAGE
========================= */

.national-leader-home-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    align-items: flex-start;
}

.national-leader-image-wrap {
    margin: 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #eef2f6;
    border: 1px solid #dfe5eb;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.national-leader-image {
    display: block;
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
}

.national-leader-link-box {
    margin-top: 24px;
    padding: 17px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.national-leader-link-box a {
    color: #173f67;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.national-leader-link-box a:hover {
    color: #0f2f4f;
}

/* =========================
   COMMON TEXT
========================= */

.national-leader-text {
    color: #1f2937;
}

.national-leader-text p,
.national-leader-world-item p {
    margin: 0 0 18px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.78;
    text-align: left;
}

.national-leader-text p:last-child,
.national-leader-world-item p:last-child {
    margin-bottom: 0;
}

/* =========================
   GALLERY CAROUSEL
========================= */

.national-leader-gallery {
    width: 100%;
}

.national-leader-gallery-frame {
    width: 100%;
    padding: 12px 12px 8px;
    background: #dedede;
    border: 1px solid #d2d2d2;
    box-sizing: border-box;
}

.national-leader-gallery-main {
    position: relative;
    width: 100%;
    height: 590px;
    background: #cfcfcf;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.national-leader-gallery-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.national-leader-gallery-main-image.is-portrait {
    object-fit: contain;
    object-position: center;
    background: #cfcfcf;
}

.national-leader-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.68);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(100%);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.national-leader-gallery-caption.is-empty {
    display: none;
}

.national-leader-gallery-main:hover .national-leader-gallery-caption:not(.is-empty) {
    opacity: 1;
    transform: translateY(0);
}

.national-leader-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 7;
    width: 42px;
    height: 58px;
    border: none;
    background: rgba(0, 0, 0, 0.38);
    color: #ffffff;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}

.national-leader-gallery-main:hover .national-leader-gallery-nav {
    opacity: 1;
}

.national-leader-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.58);
}

.national-leader-gallery-nav-prev {
    left: 0;
}

.national-leader-gallery-nav-next {
    right: 0;
}

.national-leader-gallery-thumbs-row {
    width: 100%;
    padding-top: 9px;
    background: #dedede;
    overflow: hidden;
}

.national-leader-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    overflow: hidden;
    padding: 0 0 2px;
    background: #dedede;
    scrollbar-width: none;
}

.national-leader-gallery-thumbs::-webkit-scrollbar {
    height: 0;
}

.national-leader-gallery-thumb {
    width: 100%;
    height: 42px;
    padding: 0;
    border: 2px solid #111111;
    background: #d6d6d6;
    cursor: pointer;
    overflow: hidden;
    opacity: 1;
    box-sizing: border-box;
    transition:
        border-color 0.18s ease,
        transform 0.18s ease;
}

.national-leader-gallery-thumb:hover {
    transform: translateY(-1px);
}

.national-leader-gallery-thumb.active {
    border-color: #b80f1d;
}

.national-leader-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #d6d6d6;
}

/* =========================
   GALLERY FULL SCREEN
========================= */

.national-leader-gallery-fullscreen-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.national-leader-gallery-main:hover .national-leader-gallery-fullscreen-btn {
    opacity: 1;
}

.national-leader-gallery-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.68);
    transform: scale(1.04);
}

.national-leader-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    padding: 58px 86px 78px;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.national-leader-gallery-lightbox[hidden] {
    display: none !important;
}

.national-leader-gallery-lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.national-leader-gallery-lightbox-image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    user-select: none;
}

.national-leader-gallery-lightbox-caption {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 100003;
    width: min(100% - 190px, 1000px);
    transform: translateX(-50%);
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.national-leader-gallery-lightbox-caption.is-empty {
    display: none;
}

.national-leader-gallery-lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 100004;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.national-leader-gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.04);
}

.national-leader-gallery-lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 100004;
    width: 54px;
    height: 76px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 58px;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.national-leader-gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.national-leader-gallery-lightbox-prev {
    left: 22px;
}

.national-leader-gallery-lightbox-next {
    right: 22px;
}

body.national-leader-lightbox-open {
    overflow: hidden;
}

/* =========================
   WORLD ABOUT HEYDAR ALIYEV
========================= */

.national-leader-world-list {
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-height: 720px;
    overflow-y: auto;
    padding-right: 12px;
    scroll-behavior: smooth;
}

.national-leader-world-list::-webkit-scrollbar {
    width: 7px;
}

.national-leader-world-list::-webkit-scrollbar-track {
    background: #eef2f6;
    border-radius: 999px;
}

.national-leader-world-list::-webkit-scrollbar-thumb {
    background: #173f67;
    border-radius: 999px;
}

.national-leader-world-list::-webkit-scrollbar-thumb:hover {
    background: #0f2f4f;
}

.national-leader-world-item {
    position: relative;
    padding: 0 0 30px;
    border-bottom: 1px solid #e5eaf0;
}

.national-leader-world-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.national-leader-world-author {
    margin-top: 18px;
    text-align: right;
    color: #111827;
}

.national-leader-world-author strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.national-leader-world-author span {
    display: block;
    margin-top: 2px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

/* =========================
   APHORISMS
========================= */

.national-leader-aphorisms {
    max-height: 720px;
    overflow-y: auto;
    padding-right: 12px;
    scroll-behavior: smooth;
}

.national-leader-aphorisms::-webkit-scrollbar {
    width: 7px;
}

.national-leader-aphorisms::-webkit-scrollbar-track {
    background: #eef2f6;
    border-radius: 999px;
}

.national-leader-aphorisms::-webkit-scrollbar-thumb {
    background: #173f67;
    border-radius: 999px;
}

.national-leader-aphorisms::-webkit-scrollbar-thumb:hover {
    background: #0f2f4f;
}

.national-leader-aphorisms p {
    position: relative;
    margin: 0 0 16px;
    padding: 15px 17px 15px 22px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.national-leader-aphorisms p::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    width: 4px;
    height: calc(100% - 32px);
    min-height: 22px;
    border-radius: 999px;
    background: #173f67;
}

.national-leader-aphorisms p:last-child {
    margin-bottom: 0;
}

/* =========================
   FOOTER FIX
========================= */

.national-leader-page + footer,
.national-leader-page ~ footer {
    margin-top: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199px) {
    .national-leader-page .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .national-leader-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 22px;
    }

    .national-leader-home-body {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 24px;
    }

    .national-leader-image {
        height: 430px;
    }

    .national-leader-gallery-main {
        height: 540px;
    }
}

@media (max-width: 991px) {
    .national-leader-page .container {
        width: min(100% - 24px, 1320px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .national-leader-section {
        padding: 28px 0 34px;
    }

    .national-leader-layout {
        grid-template-columns: 1fr;
    }

    .national-leader-sidebar {
        position: static;
    }

    .national-leader-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .national-leader-menu a:not(:last-child) {
        margin-bottom: 0;
    }

    .national-leader-submenu {
        grid-column: 1 / -1;
        margin: 0;
    }

    .national-leader-menu-dropdown-toggle {
        width: 100%;
    }

    .national-leader-home-body {
        grid-template-columns: 1fr;
    }

    .national-leader-image-wrap {
        max-width: 420px;
    }

    .national-leader-image {
        height: 520px;
    }

    .national-leader-heading h1 {
        font-size: 25px;
    }

    .national-leader-gallery-main {
        height: 500px;
    }

    .national-leader-world-list,
    .national-leader-aphorisms {
        max-height: 680px;
    }
}

@media (max-width: 767px) {
    .national-leader-page .container {
        width: min(100% - 20px, 1320px);
        padding-left: 8px;
        padding-right: 8px;
    }

    .national-leader-breadcrumb-section {
        padding: 18px 0 13px !important;
    }

    .national-leader-breadcrumb a,
    .national-leader-breadcrumb strong {
        font-size: 13px !important;
    }

    .national-leader-section {
        padding: 24px 0 30px;
    }

    .national-leader-card {
        padding: 24px;
        border-radius: 22px;
    }

    .national-leader-menu {
        grid-template-columns: 1fr;
    }

    .national-leader-heading {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .national-leader-heading h1 {
        font-size: 23px;
    }

    .national-leader-text p,
    .national-leader-world-item p {
        font-size: 14px;
        line-height: 1.76;
    }

    .national-leader-aphorisms p {
        padding: 14px 15px 14px 20px;
        font-size: 14px;
        line-height: 1.7;
        border-radius: 15px;
    }

    .national-leader-aphorisms p::before {
        top: 15px;
        height: calc(100% - 30px);
        min-height: 20px;
    }

    .national-leader-image-wrap {
        max-width: 100%;
    }

    .national-leader-image {
        height: 460px;
    }

    .national-leader-gallery-frame {
        padding: 9px 9px 7px;
    }

    .national-leader-gallery-main {
        height: 420px;
    }

    .national-leader-gallery-caption {
        padding: 11px 13px;
        font-size: 13px;
    }

    .national-leader-gallery-nav {
        width: 36px;
        height: 50px;
        font-size: 34px;
        opacity: 1;
    }

    .national-leader-gallery-fullscreen-btn {
        opacity: 1;
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 20px;
        border-radius: 10px;
    }

    .national-leader-gallery-lightbox {
        padding: 58px 52px 72px;
    }

    .national-leader-gallery-lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .national-leader-gallery-lightbox-nav {
        width: 40px;
        height: 58px;
        font-size: 42px;
        border-radius: 10px;
    }

    .national-leader-gallery-lightbox-prev {
        left: 8px;
    }

    .national-leader-gallery-lightbox-next {
        right: 8px;
    }

    .national-leader-gallery-lightbox-caption {
        bottom: 12px;
        width: min(100% - 24px, 760px);
        padding: 11px 13px;
        font-size: 13px;
        border-radius: 12px;
    }

    .national-leader-gallery-thumb {
        width: 100%;
        height: 40px;
    }

    .national-leader-world-list,
    .national-leader-aphorisms {
        max-height: 640px;
        padding-right: 8px;
    }

    .national-leader-world-author strong {
        font-size: 14px;
    }

    .national-leader-world-author span {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .national-leader-page .container {
        width: min(100% - 18px, 1320px);
        padding-left: 6px;
        padding-right: 6px;
    }

    .national-leader-breadcrumb {
        flex-wrap: wrap;
    }

    .national-leader-section {
        padding: 20px 0 26px;
    }

    .national-leader-card {
        padding: 20px;
        border-radius: 20px;
    }

    .national-leader-heading {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .national-leader-heading h1 {
        font-size: 21px;
    }

    .national-leader-image {
        height: 410px;
    }

    .national-leader-gallery-main {
        height: 340px;
    }

    .national-leader-gallery-nav {
        width: 32px;
        height: 42px;
        font-size: 28px;
    }

    .national-leader-gallery-thumbs {
        display: flex;
        align-items: center;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .national-leader-gallery-thumbs::-webkit-scrollbar {
        height: 0;
    }

    .national-leader-gallery-thumb {
        flex: 0 0 50px;
        width: 50px;
        height: 38px;
    }

    .national-leader-link-box {
        padding: 15px;
    }

    .national-leader-link-box a {
        font-size: 13px;
    }

    .national-leader-world-list,
    .national-leader-aphorisms {
        max-height: 600px;
    }

    .national-leader-world-list {
        gap: 28px;
    }

    .national-leader-world-item {
        padding-bottom: 26px;
    }

    .national-leader-world-author {
        margin-top: 15px;
    }

    .national-leader-aphorisms p {
        padding: 14px 15px 14px 20px;
        border-radius: 15px;
    }
}

@media (max-width: 420px) {
    .national-leader-page .container {
        width: min(100% - 14px, 1320px);
        padding-left: 4px;
        padding-right: 4px;
    }

    .national-leader-card {
        padding: 18px;
    }

    .national-leader-heading h1 {
        font-size: 20px;
    }

    .national-leader-image {
        height: 360px;
    }

    .national-leader-gallery-main {
        height: 285px;
    }

    .national-leader-gallery-caption {
        padding: 9px 11px;
        font-size: 12px;
    }

    .national-leader-menu {
        padding: 10px;
    }

    .national-leader-menu a {
        min-height: 44px;
        padding: 12px 13px;
        font-size: 13px;
    }

    .national-leader-menu-dropdown-toggle {
        min-height: 44px;
        padding: 12px 36px 12px 13px;
        font-size: 13px;
    }

    .national-leader-submenu > a {
        min-height: 36px;
        font-size: 12.5px;
    }

    .national-leader-submenu-child a {
        min-height: 32px;
        font-size: 11.5px;
    }

    .national-leader-gallery-thumbs {
        overflow-x: auto;
    }

    .national-leader-gallery-thumb {
        flex: 0 0 46px;
        width: 46px;
        height: 35px;
    }

    .national-leader-gallery-lightbox {
        padding: 54px 42px 66px;
    }

    .national-leader-gallery-lightbox-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .national-leader-gallery-lightbox-nav {
        width: 34px;
        height: 50px;
        font-size: 36px;
    }

    .national-leader-gallery-lightbox-caption {
        bottom: 10px;
        width: min(100% - 20px, 420px);
        padding: 9px 11px;
        font-size: 12px;
    }

    .national-leader-world-list,
    .national-leader-aphorisms {
        max-height: 560px;
    }

    .national-leader-aphorisms p {
        padding: 13px 14px 13px 18px;
        font-size: 13px;
    }

    .national-leader-aphorisms p::before {
        top: 14px;
        height: calc(100% - 28px);
        min-height: 18px;
    }
}

@media (max-width: 360px) {
    .national-leader-page .container {
        padding-left: 3px;
        padding-right: 3px;
    }

    .national-leader-card {
        padding: 16px;
    }

    .national-leader-heading h1 {
        font-size: 19px;
    }

    .national-leader-image {
        height: 330px;
    }

    .national-leader-gallery-main {
        height: 260px;
    }

    .national-leader-text p,
    .national-leader-world-item p {
        font-size: 13px;
    }

    .national-leader-world-list,
    .national-leader-aphorisms {
        max-height: 520px;
    }
}