/* Kaziranga info / about detail pages — theme-aligned layout */

.kz-info-detail-ptb {
    background: linear-gradient(180deg, #fbfaf5 0%, #fff 42%, #f4faf7 100%);
}

.kz-info-article {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(58, 61, 43, 0.08);
}

/* Hero image with overlay badge */
.kz-info-hero {
    position: relative;
    line-height: 0;
}

.kz-info-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.05) 0%, rgba(26, 46, 31, 0.55) 100%);
    pointer-events: none;
}

.kz-info-hero img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.kz-info-hero__badge {
    position: absolute;
    left: 28px;
    bottom: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(58, 61, 43, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.kz-info-hero__badge i {
    color: #a8d5b5;
}

/* Body content */
.kz-info-body {
    padding: 36px 40px 44px;
}

.kz-info-body > h2 {
    font-family: var(--togo-ff-marcellus, Georgia, serif);
    font-size: clamp(26px, 3vw, 34px);
    margin: 0 0 8px;
    color: var(--togo-common-black, #111);
    line-height: 1.25;
}

.kz-info-body > h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 14px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--togo-theme-primary, #3a3d2b), #6b8f5e);
}

.kz-info-lead {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(17, 17, 17, 0.72);
    margin: 20px 0 28px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ebfcf6 0%, #f8fbf9 100%);
    border-left: 4px solid var(--togo-theme-primary, #3a3d2b);
    border-radius: 0 14px 14px 0;
}

.kz-info-body > p {
    color: rgba(17, 17, 17, 0.68);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 15px;
}

.kz-info-body > p strong {
    color: var(--togo-theme-primary, #3a3d2b);
}

.kz-info-body em {
    display: block;
    margin-top: 8px;
    padding: 14px 16px;
    font-size: 14px;
    font-style: normal;
    color: #5a4a20;
    background: #fff9e6;
    border-radius: 12px;
    border: 1px solid rgba(212, 168, 40, 0.25);
}

/* Section blocks */
.kz-info-section {
    margin-top: 28px;
    padding: 22px 24px 24px;
    background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
    border: 1px solid rgba(17, 17, 17, 0.07);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(17, 17, 17, 0.04);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.kz-info-section:hover {
    border-color: rgba(58, 61, 43, 0.16);
    box-shadow: 0 8px 28px rgba(58, 61, 43, 0.08);
}

.kz-info-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--togo-ff-marcellus, Georgia, serif);
    font-size: 20px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    color: var(--togo-theme-primary, #3a3d2b);
    border-bottom: 1px dashed rgba(58, 61, 43, 0.18);
}

.kz-info-section h3::before {
    content: "\f06c";
    font-family: var(--togo-ff-fontawesome, "Font Awesome 6 Pro");
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #3a3d2b 0%, #556044 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(58, 61, 43, 0.22);
}

.kz-info-section p {
    color: rgba(17, 17, 17, 0.68);
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: 15px;
}

.kz-info-section p:last-child {
    margin-bottom: 0;
}

/* Beautiful list cards */
.kz-info-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kz-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.75);
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.kz-info-list li:hover {
    transform: translateX(4px);
    border-color: rgba(58, 61, 43, 0.2);
    box-shadow: 0 6px 18px rgba(58, 61, 43, 0.1);
}

.kz-info-list li::before {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--togo-ff-fontawesome, "Font Awesome 6 Pro");
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(135deg, #2e9e4a 0%, #3a7d44 100%);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(46, 158, 74, 0.28);
    content: "\f00c";
}

.kz-info-list li strong {
    color: var(--togo-theme-primary, #3a3d2b);
}

.kz-info-list--ordered {
    counter-reset: kz-info-step;
}

.kz-info-list--ordered li::before {
    content: counter(kz-info-step);
    counter-increment: kz-info-step;
    font-family: var(--togo-ff-body, sans-serif);
    font-weight: 800;
    font-size: 12px;
    background: linear-gradient(135deg, var(--togo-theme-primary, #3a3d2b) 0%, #556044 100%);
    box-shadow: 0 3px 10px rgba(58, 61, 43, 0.25);
}

.kz-info-list a {
    color: var(--togo-theme-primary, #3a3d2b);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(58, 61, 43, 0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.kz-info-list a:hover {
    color: #2e9e4a;
    border-color: #2e9e4a;
}

/* Table */
.kz-info-table-wrap {
    overflow-x: auto;
    margin: 18px 0 0;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.05);
}

.kz-info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
    margin: 0;
}

.kz-info-table th,
.kz-info-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}

.kz-info-table th {
    background: linear-gradient(180deg, #ebfcf6 0%, #e2f7ef 100%);
    color: var(--togo-theme-primary, #3a3d2b);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kz-info-table tbody tr:last-child td {
    border-bottom: none;
}

.kz-info-table tbody tr:hover td {
    background: #fafdf9;
}

/* Inline gallery */
.kz-info-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 8px;
}

.kz-info-gallery img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 6px 20px rgba(17, 17, 17, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kz-info-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(58, 61, 43, 0.14);
}

/* Sidebar */
.kz-info-sidebar-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 10px 32px rgba(58, 61, 43, 0.08);
    margin-bottom: 22px;
}

.kz-info-sidebar-card h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--togo-theme-primary, #3a3d2b);
    font-family: var(--togo-ff-marcellus, Georgia, serif);
}

.kz-info-sidebar-card h5::before {
    content: "\f009";
    font-family: var(--togo-ff-fontawesome, "Font Awesome 6 Pro");
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--togo-theme-primary, #3a3d2b);
    border-radius: 8px;
}

.kz-info-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kz-info-sidebar-links li {
    margin: 0;
}

.kz-info-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(17, 17, 17, 0.72);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 14px;
    border-radius: 12px;
    background: #f8faf9;
    border: 1px solid transparent;
    transition: all 0.22s ease;
}

.kz-info-sidebar-links a i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--togo-theme-primary, #3a3d2b);
    background: rgba(58, 61, 43, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.22s ease, color 0.22s ease;
}

.kz-info-sidebar-links a:hover {
    background: #ebfcf6;
    border-color: rgba(58, 61, 43, 0.12);
    color: var(--togo-theme-primary, #3a3d2b);
    transform: translateX(3px);
}

.kz-info-sidebar-links a.is-active {
    background: linear-gradient(135deg, #3a3d2b 0%, #4a5238 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(58, 61, 43, 0.25);
}

.kz-info-sidebar-links a.is-active i {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* CTA card */
.kz-info-cta {
    background: linear-gradient(145deg, #3a3d2b 0%, #2d4a34 55%, #3a3d2b 100%);
    color: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(58, 61, 43, 0.28);
}

.kz-info-cta::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.kz-info-cta h5 {
    position: relative;
    font-family: var(--togo-ff-marcellus, Georgia, serif);
    font-size: 20px;
}

.kz-info-cta p {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
    line-height: 1.75;
    font-size: 14px;
}

.kz-info-cta .togo-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--togo-theme-primary, #3a3d2b);
    border: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kz-info-cta .togo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--togo-theme-primary, #3a3d2b);
}

@media (max-width: 991px) {
    .kz-info-body {
        padding: 28px 22px 34px;
    }

    .kz-info-hero img {
        height: 240px;
    }

    .kz-info-hero__badge {
        left: 16px;
        bottom: 16px;
        font-size: 11px;
        padding: 6px 12px;
    }

    .kz-info-section {
        padding: 18px 16px 20px;
    }

    .kz-info-gallery {
        grid-template-columns: 1fr;
    }

    .kz-info-sidebar-card {
        position: static;
    }

    .kz-info-list li:hover {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .kz-info-body > h2 {
        font-size: 20px;
    }

    .kz-info-lead,
    .kz-info-body > p,
    .kz-info-section p {
        font-size: 13px;
        line-height: 1.55;
    }

    .kz-info-section h3 {
        font-size: 16px;
    }

    .kz-info-body em {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .kz-info-body > h2 {
        font-size: 18px;
    }

    .kz-info-lead,
    .kz-info-body > p,
    .kz-info-section p {
        font-size: 12px;
        line-height: 1.5;
    }

    .kz-info-section h3 {
        font-size: 15px;
    }
}
