/* OldTimesMT2 modern skin. Loaded after the legacy theme to keep PHP behavior intact. */
:root {
    --ot-bg: #10100f;
    --ot-panel: rgba(24, 24, 22, .9);
    --ot-panel-2: rgba(34, 32, 28, .94);
    --ot-line: rgba(239, 213, 157, .18);
    --ot-text: #f4efe6;
    --ot-muted: #b9ada0;
    --ot-red: #c92f24;
    --ot-red-dark: #7b1b18;
    --ot-gold: #d9a441;
    --ot-steel: #7f918f;
}

html {
    min-height: 100%;
    background: var(--ot-bg);
}

body.oldtimes-modern {
    min-height: 100%;
    color: var(--ot-text);
    background:
        radial-gradient(circle at 20% 12%, rgba(201, 47, 36, .2), transparent 30rem),
        radial-gradient(circle at 78% 20%, rgba(217, 164, 65, .12), transparent 26rem),
        linear-gradient(180deg, rgba(16, 16, 15, .28), #10100f 610px),
        url(../images/site/header.jpg) center top / cover no-repeat fixed;
}

body.oldtimes-modern:before,
body.oldtimes-modern #content:after,
body.oldtimes-modern .footer-nav:before {
    display: none;
}

.oldtimes-modern a {
    color: var(--ot-gold);
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.oldtimes-modern a:hover {
    color: #fff1c7;
}

.oldtimes-modern .page-width {
    width: min(1180px, calc(100% - 32px));
}

.ot-hero {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    overflow: hidden;
    border-bottom: 1px solid var(--ot-line);
}

.oldtimes-modern #VideoBackground {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    z-index: -3;
    pointer-events: none;
}

.ot-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(12, 12, 11, .96) 0%, rgba(12, 12, 11, .76) 44%, rgba(12, 12, 11, .34) 100%),
        url(../images/site/header.jpg) center top / cover no-repeat;
}

.ot-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 190px;
    background: linear-gradient(180deg, transparent, #10100f);
}

.ot-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
}

.ot-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 800;
}

.ot-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .24), transparent 42%),
        url(../images/logo.png) center / 130% auto no-repeat,
        linear-gradient(135deg, var(--ot-red), var(--ot-gold));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
}

.ot-brand-text {
    font-size: 20px;
}

.ot-menu,
.ot-sub-menu,
.bd-c ul,
.blogroll {
    list-style: none;
}

.ot-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.ot-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #f9efe0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

.ot-menu a:hover,
.ot-has-menu:hover > a {
    border-color: rgba(217, 164, 65, .4);
    background: rgba(255, 255, 255, .07);
}

.ot-has-menu {
    position: relative;
}

.ot-sub-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 160px;
    z-index: 20;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--ot-line);
    border-radius: 8px;
    background: rgba(18, 18, 17, .96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.ot-sub-menu:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.ot-has-menu:hover .ot-sub-menu {
    display: block;
}

.ot-sub-menu a {
    display: flex;
    width: 100%;
}

.ot-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: end;
    min-height: 430px;
    padding: 42px 0 72px;
}

.ot-kicker {
    margin: 0 0 10px;
    color: var(--ot-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.ot-hero h1 {
    margin: 0;
    color: #fff;
    font-family: EasonPro, "Times New Roman", serif;
    font-size: clamp(48px, 9vw, 94px);
    line-height: .92;
    letter-spacing: 0;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .65);
}

.ot-lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: #e8ded2;
    font-size: 20px;
    line-height: 1.55;
}

.ot-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ot-btn,
.oldtimes-modern .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    padding: 11px 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ot-btn-primary,
.oldtimes-modern .btn-success,
.oldtimes-modern .btn-danger,
.oldtimes-modern .btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #d84232, #8f201b);
    border-color: rgba(255, 218, 164, .22);
    box-shadow: 0 14px 34px rgba(105, 18, 15, .42);
}

.ot-btn-primary:hover,
.oldtimes-modern .btn-success:hover,
.oldtimes-modern .btn-danger:hover,
.oldtimes-modern .btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    background: linear-gradient(180deg, #e6523f, #a92821);
}

.ot-btn-ghost {
    color: #f8edda;
    background: rgba(255, 255, 255, .08);
}

.ot-hero-panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--ot-line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(32, 31, 28, .9), rgba(14, 14, 13, .84));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
    backdrop-filter: blur(8px);
}

.ot-hero-panel a {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: var(--ot-text);
    background: rgba(255, 255, 255, .045);
    font-weight: 800;
    text-transform: uppercase;
}

.ot-hero-panel a:hover {
    border-color: rgba(217, 164, 65, .42);
    background: rgba(217, 164, 65, .12);
    transform: translateX(2px);
}

.ot-hero-panel i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #171412;
    background: var(--ot-gold);
}

.oldtimes-modern #content {
    position: relative;
    margin-top: -34px;
    z-index: 3;
}

.oldtimes-modern .article .mt2cms2-c {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    min-height: 0;
    overflow: visible;
    padding: 0;
    background: transparent;
}

.oldtimes-modern .article .mt2cms2-c-l,
.oldtimes-modern .article .mt2cms2-c-s {
    float: none;
    width: auto;
    margin: 0;
}

.oldtimes-modern .article .mt2cms2-c-l .mt2cms2-c-l {
    width: auto;
}

.oldtimes-modern .article .mt2cms2-c-l .bd-c,
.oldtimes-modern .article .mt2cms2-c-s .bd-c {
    margin: 0;
}

.oldtimes-modern .page-bd {
    padding-bottom: 42px;
}

.oldtimes-modern .page-hd {
    height: auto;
    min-height: 112px;
    margin: 0 0 18px;
    padding: 24px;
    border: 1px solid var(--ot-line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(24, 23, 21, .96), rgba(24, 23, 21, .82)),
        var(--page-image, none);
    background-position: right bottom;
    background-repeat: no-repeat;
}

.oldtimes-modern .page-hd:before {
    display: none;
}

.oldtimes-modern .page-hd h2,
.oldtimes-modern .page-template-template-blog-php .page-hd h2 {
    width: auto;
    margin: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
}

.oldtimes-modern .bd-c,
.oldtimes-modern .widget .bd,
.oldtimes-modern .container {
    color: var(--ot-text);
}

.oldtimes-modern .article .mt2cms2-c-l > .bd-c,
.oldtimes-modern .blog-post,
.oldtimes-modern .container,
.oldtimes-modern .widget .bd {
    border: 1px solid var(--ot-line);
    border-radius: 8px;
    background: var(--ot-panel);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.oldtimes-modern .article .mt2cms2-c-l > .bd-c,
.oldtimes-modern .container {
    padding: 22px;
}

.oldtimes-modern .article .container {
    width: 100%;
    max-width: none;
}

.oldtimes-modern .article .container > .row {
    margin-right: 0;
    margin-left: 0;
}

.oldtimes-modern .article .container > .row > [class*="col-"] {
    float: none;
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.oldtimes-modern .blog-post {
    margin-bottom: 16px;
    padding: 20px;
    background-image: none;
}

.oldtimes-modern .blog-title,
.oldtimes-modern h2,
.oldtimes-modern h3,
.oldtimes-modern h4 {
    color: #fff;
}

.oldtimes-modern .article p,
.oldtimes-modern .article dl {
    color: #dfd4c7;
}

.oldtimes-modern .widget-container {
    margin: 0 0 16px;
}

.oldtimes-modern .mod-main {
    background: transparent;
}

.oldtimes-modern .widget .bd {
    overflow: hidden;
    border-top: 1px solid var(--ot-line);
}

.oldtimes-modern .top-sidebar {
    margin: -1px -1px 14px;
    padding: 13px 14px;
    color: #fff;
    background: linear-gradient(180deg, var(--ot-red), var(--ot-red-dark));
    text-align: left;
}

.oldtimes-modern .top-sidebar h4 {
    margin: 0;
    font-size: 20px;
}

.oldtimes-modern .table {
    color: var(--ot-text);
    margin-bottom: 0;
}

.oldtimes-modern .table td,
.oldtimes-modern .table th {
    border-top-color: rgba(255, 255, 255, .08);
    vertical-align: middle;
}

.oldtimes-modern .table-hover tbody tr:hover {
    background: rgba(217, 164, 65, .08);
}

.oldtimes-modern .form-control {
    min-height: 44px;
    color: #fff;
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
}

.oldtimes-modern .form-control:focus {
    border-color: rgba(217, 164, 65, .72);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, .14);
}

.oldtimes-modern .list-group-item {
    color: var(--ot-text);
    background: rgba(255, 255, 255, .035);
    border-color: rgba(255, 255, 255, .08);
}

.oldtimes-modern .list-group-item:hover {
    color: #fff;
    background: rgba(217, 164, 65, .1);
}

.oldtimes-modern .nav-tabs {
    border-bottom-color: rgba(255, 255, 255, .12);
    padding: 0 12px;
}

.oldtimes-modern .nav-tabs .nav-link {
    border-color: transparent;
}

.oldtimes-modern hr {
    height: 1px;
    background: rgba(255, 255, 255, .12);
}

.oldtimes-modern .footer-nav {
    margin-top: 0;
    background: #0b0b0a;
    border-top: 1px solid var(--ot-line);
}

.oldtimes-modern .footer-nav .page-padding {
    min-height: 0;
    padding: 28px 0;
}

.oldtimes-modern .copyright,
.oldtimes-modern .footer-nav p {
    color: var(--ot-muted);
}

@media (max-width: 991px) {
    .ot-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .ot-menu {
        justify-content: flex-start;
    }

    .ot-hero-inner,
    .oldtimes-modern .article .mt2cms2-c {
        grid-template-columns: 1fr;
    }

    .ot-hero-inner {
        min-height: 0;
        padding-top: 30px;
    }
}

@media (max-width: 575px) {
    .ot-hero {
        min-height: 0;
    }

    .ot-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ot-menu a {
        justify-content: center;
        font-size: 12px;
        padding: 8px;
    }

    .ot-hero h1 {
        font-size: 48px;
    }

    .ot-lead {
        font-size: 17px;
    }

    .ot-hero-panel {
        grid-template-columns: 1fr;
    }

    .oldtimes-modern .page-hd,
    .oldtimes-modern .article .mt2cms2-c-l > .bd-c,
    .oldtimes-modern .container {
        padding: 16px;
    }

    .oldtimes-modern .table {
        display: block;
        overflow-x: auto;
    }
}
