.obedience-page-wrapper {
    --doc-ink: #161719;
    --doc-muted: #757575;
    --doc-line: #e6e0d7;
    --doc-cream: #f6f2ea;
    --doc-warm: #b87a4b;
    --doc-deep: #202420;
    color: var(--doc-ink);
    background: #fff;
}

.obedience-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.obedience-section-kicker,
.obedience-eyebrow {
    display: inline-block;
    color: var(--doc-warm);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.obedience-section-header {
    text-align: center;
    margin-bottom: 58px;
}

.obedience-section-header h2 {
    margin: 14px 0 12px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.obedience-section-header p {
    margin: 0 auto;
    max-width: 620px;
    color: var(--doc-muted);
    line-height: 1.8;
}

.obedience-hero {
    position: relative;
    min-height: 94vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111;
}

.obedience-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(13, 14, 14, 0.78), rgba(13, 14, 14, 0.42)),
        url("/static/img/academy/img_obedience_hero.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(0.55) contrast(1.04);
    transform: scale(1.03);
    animation: obedienceSlowZoom 18s ease-out forwards;
}

.obedience-hero-content {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    color: #fff;
    padding-top: 40px;
}

.obedience-hero-title {
    margin: 18px 0 24px;
    max-width: 850px;
    font-size: clamp(54px, 8vw, 116px);
    line-height: 0.93;
    font-weight: 900;
    letter-spacing: 0;
}

.obedience-hero-copy {
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2.2vw, 26px);
    line-height: 1.55;
    font-weight: 600;
}

.obedience-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, transform 0.25s ease;
}

.obedience-hero-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.obedience-philosophy {
    padding: 140px 0;
    background: var(--doc-cream);
}

.obedience-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}

.obedience-editorial-image {
    border-radius: 28px;
    overflow: hidden;
    min-height: 620px;
    background: #ddd;
}

.obedience-editorial-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    filter: saturate(0.72);
}

.obedience-editorial-copy h2 {
    margin: 18px 0 34px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.18;
    font-weight: 850;
}

.obedience-editorial-copy p {
    margin: 0 0 26px;
    color: #3d3d3d;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.85;
    font-weight: 650;
}

.ob-intro-section {
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.ob-intro-container {
    display: flex;
    align-items: center;
    gap: 100px;
    width: min(100% - 80px, 1200px);
    margin: 0 auto;
}

.ob-intro-text,
.ob-intro-visual {
    flex: 1;
}

.ob-intro-label {
    display: block;
    margin-bottom: 20px;
    color: var(--doc-orange);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.ob-intro-title {
    margin: 0 0 30px;
    color: #1a2a3a;
    font-size: clamp(34px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.3;
    word-break: keep-all;
}

.ob-intro-title strong {
    display: block;
    font-weight: 900;
}

.ob-intro-desc {
    margin: 0 0 40px;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    word-break: keep-all;
}

.ob-intro-desc span {
    color: #1a2a3a;
    font-weight: 750;
    background: linear-gradient(to top, rgba(230, 126, 34, 0.12) 40%, transparent 40%);
}

.ob-intro-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ob-intro-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 25px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.6;
}

.ob-intro-list li::before {
    position: absolute;
    left: 0;
    color: var(--doc-orange);
    font-weight: 900;
    content: "→";
}

.ob-intro-visual {
    position: relative;
    height: 500px;
}

.ob-main-img {
    width: 80%;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    background: #f3f0eb;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.ob-main-img img,
.ob-sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ob-sub-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 250px;
    border: 10px solid #fff;
    border-radius: 20px;
    overflow: hidden;
    background: #f3f0eb;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.1);
}

.ob-intro-dot {
    position: absolute;
    top: -20px;
    right: 20%;
    z-index: -1;
    width: 80px;
    height: 80px;
    background: radial-gradient(var(--doc-orange) 20%, transparent 20%);
    background-size: 15px 15px;
    opacity: 0.3;
}

.obedience-program {
    padding: 128px 0;
    background: #fff;
    overflow: hidden;
}

.obedience-program-wide {
    width: 100%;
    max-width: 100%;
}

.obedience-program-slider {
    width: 100%;
    max-width: calc(100vw - 80px);
    margin: 0 auto;
    padding: 60px 72px 100px !important;
    overflow: hidden !important;
    position: relative;
}

.obedience-program-slider .swiper-wrapper {
    align-items: stretch;
}

.obedience-program-slider.swiper-lock .swiper-wrapper,
.obedience-program-slider:has(.swiper-button-lock) .swiper-wrapper {
    justify-content: center;
    transform: none !important;
}

.obedience-program-slider .swiper-slide {
    width: 306px;
    height: auto;
    flex-shrink: 0;
}

.obedience-program-card {
    position: relative;
    height: 560px;
    border-radius: 34px;
    overflow: hidden;
    background: #1d1d1d;
    box-shadow: 0 18px 48px rgba(25, 25, 25, 0.08);
    cursor: pointer;
    isolation: isolate;
    transition: transform 0.32s ease;
}

.obedience-program-card:hover {
    transform: translateY(-7px);
}

.obedience-program-media {
    height: 100%;
}

.obedience-program-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.62) contrast(1.04) brightness(0.86);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.obedience-program-card:hover .obedience-program-media img {
    transform: scale(1.04);
    filter: saturate(0.72) contrast(1.04) brightness(0.82);
}

.obedience-program-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 96px 26px 34px;
    color: #fff;
    text-align: center;
    background: linear-gradient(to top, rgba(17, 18, 18, 0.82), rgba(17, 18, 18, 0.42) 54%, rgba(17, 18, 18, 0));
    transform: translateY(34px);
    transition: transform 0.35s ease, background 0.35s ease;
}

.obedience-program-info h3 {
    margin: 0 0 9px;
    font-size: 22px;
    line-height: 1.22;
    font-weight: 850;
}

.obedience-program-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
}

.obedience-program-detail {
    margin-top: 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.obedience-program-detail p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.65;
}

.obedience-program-slider .swiper-slide-active .obedience-program-info,
.obedience-program-card:hover .obedience-program-info {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(43, 35, 27, 0.9), rgba(87, 65, 45, 0.55) 56%, rgba(87, 65, 45, 0));
}

.obedience-program-slider .swiper-slide-active .obedience-program-detail,
.obedience-program-card:hover .obedience-program-detail {
    opacity: 1;
    transform: translateY(0);
}

.obedience-program-slider .swiper-button-next,
.obedience-program-slider .swiper-button-prev {
    color: var(--doc-warm) !important;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.1);
    z-index: 20;
}

.obedience-program-slider .swiper-button-prev {
    left: 14px;
}

.obedience-program-slider .swiper-button-next {
    right: 14px;
}

.obedience-program-slider .swiper-button-lock,
.obedience-program-slider .swiper-pagination-lock {
    display: none !important;
}

.obedience-program-slider .swiper-pagination-bullet-active {
    background: var(--doc-warm) !important;
}

.obedience-special {
    position: relative;
    min-height: 72vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111;
}

.obedience-special-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(9, 10, 10, 0.82), rgba(9, 10, 10, 0.35)),
        url("/static/img/academy/img_obedience_search.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(0.48) brightness(0.78);
}

.obedience-special-content {
    position: relative;
    width: min(1120px, calc(100% - 40px));
    color: #fff;
}

.obedience-special-content h2 {
    margin: 18px 0 18px;
    max-width: 760px;
    font-size: clamp(44px, 6vw, 86px);
    line-height: 1.04;
    font-weight: 900;
}

.obedience-special-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.obedience-leader {
    padding: 130px 0;
    background: var(--doc-cream);
}

.obedience-leader-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 42px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
    padding: 26px;
    border: 1px solid var(--doc-line);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 54px rgba(30, 28, 24, 0.06);
}

.obedience-leader-portrait {
    grid-row: 1 / span 2;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #ddd;
}

.obedience-leader-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7);
}

.obedience-leader-summary {
    padding: 20px 10px 0;
}

.obedience-leader-role {
    color: var(--doc-warm);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.obedience-leader-summary h3 {
    margin: 12px 0 10px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
}

.obedience-leader-summary p {
    margin: 0;
    color: var(--doc-muted);
    line-height: 1.7;
}

.obedience-leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.obedience-leader-tags span {
    padding: 8px 12px;
    border: 1px solid var(--doc-line);
    border-radius: 999px;
    color: #4a4844;
    background: #fff;
    font-size: 13px;
    font-weight: 750;
}

.obedience-leader-toggle {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    color: #fff;
    background: var(--doc-deep);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.obedience-leader-detail {
    grid-column: 2;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    transform: translateY(-8px);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}

.obedience-leader-card.is-expanded .obedience-leader-detail {
    max-height: 1200px;
    opacity: 1;
    margin-top: -12px;
    transform: translateY(0);
}

.obedience-leader-detail div {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(230, 224, 215, 0.8);
}

.obedience-leader-detail h4 {
    margin: 0 0 8px;
    font-size: 15px;
}

.obedience-leader-detail p {
    margin: 0;
    color: var(--doc-muted);
    line-height: 1.65;
    font-size: 14px;
}

.obedience-leader-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.obedience-leader-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 14px;
    color: var(--doc-muted);
    font-size: 14px;
    line-height: 1.55;
    word-break: keep-all;
}

.obedience-leader-list li:last-child {
    margin-bottom: 0;
}

.obedience-leader-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--doc-warm);
}

.obedience-instagram {
    grid-column: 1 / -1;
    color: var(--doc-warm);
    font-weight: 850;
}

.obedience-community {
    padding: 128px 0;
    overflow: hidden;
    background: #fff;
}

.obedience-community-copy {
    text-align: center;
    margin-bottom: 56px;
}

.obedience-community-copy h2 {
    margin: 16px 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 900;
}

.obedience-community-copy p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--doc-muted);
    line-height: 1.8;
}

.obedience-photo-strip {
    width: 100%;
    overflow: hidden;
}

.obedience-photo-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: obediencePhotoFlow 44s linear infinite;
}

.obedience-photo-track img {
    width: 360px;
    height: 250px;
    object-fit: cover;
    border-radius: 24px;
    filter: saturate(0.68);
    box-shadow: 0 14px 38px rgba(20, 20, 20, 0.06);
}

.obedience-final-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
    isolation: isolate;
}

.obedience-final-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.obedience-final-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.obedience-final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(22, 23, 25, 0.78), rgba(22, 23, 25, 0.9));
}

.obedience-final-subtitle {
    display: block;
    margin-bottom: 20px;
    color: var(--doc-warm);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.obedience-final-content {
    position: relative;
    z-index: 1;
}

.obedience-final-content h2 {
    margin: 0 0 25px;
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 800;
}

.obedience-final-content p {
    margin: 0 0 45px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.2rem;
    line-height: 1.75;
}

.obedience-final-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.obedience-final-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.obedience-final-primary {
    color: #fff;
    background: #E67E22;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.obedience-final-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.obedience-final-actions a:hover {
    transform: translateY(-5px);
}

.obedience-final-primary:hover {
    background: #f39c12;
}

.obedience-final-secondary:hover {
    background: #fff;
    color: var(--doc-deep);
}

.fade-in {
    animation: obedienceFadeUp 0.8s ease both;
}

.fade-in-up {
    animation: obedienceFadeUp 0.9s ease both;
}

@keyframes obedienceFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes obedienceSlowZoom {
    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes obediencePhotoFlow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-1528px);
    }
}

@media (min-width: 769px) and (max-width: 1759px) {

    .obedience-program-slider::before,
    .obedience-program-slider::after {
        content: "";
        position: absolute;
        top: 60px;
        bottom: 100px;
        width: 72px;
        background: #fff;
        pointer-events: none;
        z-index: 11;
    }

    .obedience-program-slider::before {
        left: 0;
    }

    .obedience-program-slider::after {
        right: 0;
    }
}

@media (min-width: 1760px) {
    .obedience-program-slider {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 1024px) {

    .obedience-editorial-grid,
    .obedience-leader-card {
        grid-template-columns: 1fr;
    }

    .ob-intro-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
        width: min(100% - 48px, 720px);
    }

    .ob-intro-title {
        font-size: 30px;
    }

    .ob-intro-list li {
        display: inline-block;
        margin: 0 10px 12px;
        text-align: left;
    }

    .ob-intro-visual {
        width: 100%;
        height: 400px;
    }

    .ob-main-img {
        width: 100%;
        height: 400px;
    }

    .ob-sub-img {
        display: none;
    }

    .obedience-editorial-image,
    .obedience-editorial-image img {
        min-height: 460px;
    }

    .obedience-leader-detail {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .obedience-container {
        width: min(100% - 32px, 640px);
    }

    .obedience-hero {
        min-height: 88vh;
    }

    .obedience-hero-content {
        width: min(100% - 32px, 640px);
    }

    .obedience-philosophy,
    .ob-intro-section,
    .obedience-program,
    .obedience-leader,
    .obedience-community {
        padding: 84px 0;
    }

    .obedience-program-slider {
        max-width: calc(100vw - 48px);
        padding: 42px 18px 78px !important;
    }

    .obedience-program-slider .swiper-slide {
        width: min(290px, calc(100vw - 76px));
    }

    .obedience-program-card {
        height: 500px;
    }

    .obedience-program-info {
        transform: translateY(0);
        padding: 86px 24px 30px;
    }

    .obedience-program-detail {
        opacity: 1;
        transform: translateY(0);
    }

    .obedience-program-slider .swiper-button-next,
    .obedience-program-slider .swiper-button-prev {
        display: none;
    }

    .obedience-special {
        min-height: 58vh;
    }

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

    .obedience-leader-portrait {
        grid-row: auto;
    }

    .obedience-leader-summary {
        padding: 6px 0 0;
    }

    .obedience-leader-detail {
        grid-template-columns: 1fr;
    }

    .obedience-leader-card.is-expanded .obedience-leader-detail {
        max-height: 1800px;
        margin-top: 0;
    }

    .obedience-photo-track img {
        width: 280px;
        height: 200px;
    }

    .obedience-final-cta {
        padding: 84px 0;
    }

    .obedience-final-content h2 {
        font-size: 2.2rem;
    }

    .obedience-final-content p {
        font-size: 1rem;
    }

    .obedience-final-actions {
        align-items: center;
        flex-direction: column;
    }

    .obedience-final-actions a {
        width: min(100%, 320px);
    }
}