:root {
    --color-primary: #db0f14;
    --color-bg: #ffffff;
    --color-bg-soft: #f1f1f5;
    --color-heading: #1e1e1e;
    --color-text: #323950;
    --color-border: #dddddd;
    --color-muted: #6b7280;
    --container: 1240px;
    --card-radius: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
}

a:hover {
    color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col-lg-9,
.col-lg-3,
.col-lg-6 {
    width: 100%;
    padding: 0 12px;
}

@media (min-width: 992px) {
    .col-lg-9 {
        width: 75%;
    }
    .col-lg-6 {
        width: 50%;
    }
    .col-lg-3 {
        width: 25%;
    }
}

.site-header {
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 22px 0;
}

.header-logo {
    margin-right: auto;
}

.header-logo a {
    font-family: 'Alatsi', sans-serif;
    color: var(--color-heading);
    font-size: 1.6rem;
}

.site-branding {
    display: inline-flex;
    align-items: center;
}

.site-branding img {
    width: auto;
    max-width: 100%;
    max-height: 52px;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-menu {
    position: relative;
}

.nav-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    text-transform: capitalize;
    align-items: center;
}

.nav-menu a {
    color: #111;
    font-weight: 500;
    font-size: .93rem;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.hamburger {
    display: none;
    border: 1px solid var(--color-border);
    background: #fff;
    color: #111;
    border-radius: 3px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
}

.main-content {
    padding: 36px 0 64px;
}

.home-title,
.category-title,
.post-title,
.page-article h1,
.not-found-box h1 {
    font-family: 'Alatsi', sans-serif;
    color: var(--color-heading);
    margin: 0 0 28px;
}

.home-title {
    font-size: 2rem;
}

.titlebar56__label {
    margin: -4px 0 28px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted);
}

.home-template .home-title,
.home-template .titlebar56__label {
    text-align: center;
}

.home-template .titlebar56__label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-template .home-title {
    margin-bottom: 22px;
}

.home-template .titlebar56__label {
    margin-top: 0;
    margin-bottom: 24px;
}

.home-template.main-content {
    padding-top: 24px;
}

.custom-posts-section {
    display: flex;
    justify-content: center;
    margin-bottom: 52px;
}

.left-featured-post {
    width: min(100%, 860px);
    display: grid;
    gap: 10px;
}

.left-featured-post > a,
.featured-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--card-radius);
}

.featured-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.featured-post-meta {
    display: grid;
    gap: 6px;
}

.featured-post-meta .post-title,
.featured-post-meta .title {
    margin: 6px 0 8px;
    line-height: 1.4;
}

.featured-post-meta .post-title a,
.featured-post-meta .title a {
    color: #111;
}

.featured-post-meta .post-author,
.featured-post-meta .author {
    display: block;
}

.overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 26px;
    text-align: left;
    color: #fff;
    background: linear-gradient(180deg, rgba(30,30,30,0) 0%, rgba(30,30,30,.9) 100%);
}

.post-category,
.category {
    color: var(--color-primary);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
}

.overlay .post-category {
    color: #fff;
}

.overlay .post-title,
.overlay .title {
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.post-author,
.author {
    color: var(--color-muted);
    font-size: .86rem;
}

.overlay .post-author {
    color: #ececec;
}

.right-posts-list {
    display: grid;
    gap: 12px;
}

.right-post-item {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 10px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.right-post-item .post-title,
.post-info .post-title,
.archive-body h2,
.featured-content .title,
.list-post-item .title {
    margin: 6px 0 8px;
    font-size: 1rem;
    line-height: 1.35;
    font-family: 'Alatsi', sans-serif;
    color: #111;
}

.right-post-item .post-image {
    display: block;
    background-size: cover;
    background-position: center;
    min-height: 75px;
}

.section-heading {
    margin: 18px 0 26px;
    color: #111;
    font-size: 1.3rem;
    font-family: 'Alatsi', sans-serif;
}

.gb-section-title {
    margin: 18px 0 26px;
    color: #111;
    font-size: 1.3rem;
    font-family: 'Alatsi', sans-serif;
}

.section-heading.plain {
    font-size: 1.1rem;
}

.main-sec {
    margin-top: 36px;
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 52px;
    align-items: start;
}

.home-main-column,
.home-sidebar-column {
    min-width: 0;
}

.home-main-column .gb-section-title:not(:first-child) {
    margin-top: 40px;
}

.home-sidebar-column {
    padding-left: 30px;
    border-left: 1px solid var(--color-border);
}

.custom-entertainment-posts {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.custom-entertainment-posts .left-featured-post {
    min-height: 0;
}

.featured-bg {
    display: block;
}

.featured-bg .title {
    color: #111;
    margin: 8px 0;
}

.right-list-posts {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.list-post-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    border: 1px solid var(--color-border);
    padding: 14px;
    border-radius: var(--card-radius);
    align-items: center;
    height: 100%;
}

.list-post-item .thumb img {
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.fashion-section {
    margin-top: 30px;
}

.fashion-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fashion-post img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.fashion-post .title {
    margin: 8px 0;
}

.latest-posts .latest-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
}

.latest-posts .post-thumbnail {
    order: -1;
}

.latest-posts .post-thumbnail img {
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.latest-posts .post-title {
    margin: 6px 0 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.list-post-item .title a,
.latest-posts .post-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.breadcrumb {
    margin-bottom: 22px;
    color: var(--color-muted);
    font-size: .92rem;
}

.breadcrumb .sep {
    margin: 0 6px;
    color: #999;
}

.breadcrumb56 {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 1.5;
}

.breadcrumb56 a,
.breadcrumb56 span {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.breadcrumb56 .sep {
    margin: 0 4px;
}

.category-list-grid {
    display: grid;
    gap: 40px;
}

.archive-post {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 15px;
    border-bottom: 1px solid var(--color-border);
    padding: 18px;
    border-radius: 10px;
    background: #fff;
}

.archive-thumb img {
    object-fit: cover;
}

.archive-thumb img,
.list-post-item .thumb img,
.latest-posts .post-thumbnail img,
.featured-image,
.left-featured-post,
.featured-bg {
    border-radius: var(--card-radius);
}

.archive-meta {
    margin: 4px 0 8px;
    color: var(--color-muted);
    font-size: .88rem;
}

.archive-summary {
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-post h2,
.archive-post .title {
    margin: 4px 0 8px;
    line-height: 1.45;
}

.archive-post h2 a,
.archive-post .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    padding: 7px 12px;
    border-radius: 3px;
    font-size: .86rem;
}

.read-more:hover {
    background: #fff;
    color: var(--color-primary);
}

.read-more:active {
    transform: translateY(1px);
}

.read-more:disabled,
.read-more[aria-disabled="true"] {
    opacity: .45;
    pointer-events: none;
}

.pagination-wrap {
    margin-top: 30px;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pagination-list a,
.pagination-list span {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    font-size: .9rem;
}

.pagination-list .active span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination-list .disabled span {
    opacity: .45;
}

.post {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 30px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--color-muted);
    margin-bottom: 20px;
    font-size: .9rem;
}

.post-content h2,
.post-content h3,
.faq-block h2,
.faq-block h3,
.page-content h2,
.popular-destinations h2 {
    font-family: 'Alatsi', sans-serif;
    color: #111;
}

.post-content h2,
.faq-block h2 {
    margin-top: 24px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    border: 1px solid var(--color-border);
}

.post-content th,
.post-content td {
    border: 1px solid var(--color-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.post-content th {
    background: var(--color-bg-soft);
    color: var(--color-heading);
    font-weight: 700;
}

.faq-item {
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
    margin-top: 12px;
}

.eblog-right-sidebar .sidebar-title {
    margin: 0 0 16px;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mt-40 {
    margin-top: 40px !important;
}

.feature-post-sidebar,
.latest-posts {
    background: #fff;
}

.category-template .feature-post-sidebar {
    display: grid;
    gap: 16px;
}

.category-template .feature-post-sidebar .archive-post {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    margin: 0;
    border: 1px solid var(--color-border);
}

.category-template .feature-post-sidebar .archive-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.category-template .feature-post-sidebar .author {
    display: block;
    margin: 0 0 8px;
    line-height: 1.4;
}

.related-posts-bottom {
    margin-top: 44px;
}

.related-posts-bottom .sidebar-title {
    margin: 0 0 16px;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 20px;
}

.related-posts-bottom .featured-post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.related-posts-bottom .featured-post-wrapper:hover {
    transform: translateY(-3px);
    border-color: #cfd4dc;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
}

.related-posts-bottom .featured-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0;
}

.related-posts-bottom .featured-content {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-posts-bottom .featured-content .author {
    margin-bottom: 8px;
}

.related-posts-bottom .featured-content .title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.related-posts-bottom .featured-content .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-wrapper {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 10px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.eblog-right-sidebar .featured-post-wrapper {
    padding-bottom: 22px;
    margin-bottom: 22px;
}

.featured-image {
    display: block;
    width: 88px;
    height: 88px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.post-info .post-title,
.list-post-item .title,
.featured-content .title {
    margin: 4px 0 6px;
}

.post-info .post-author,
.list-post-item .author,
.featured-content .author {
    display: block;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .category-template .category-main-column {
        width: 70%;
    }

    .category-template .category-sidebar-column {
        width: 30%;
    }

    .page-template .page-main-column {
        width: 70%;
    }

    .page-template .page-sidebar-column {
        width: 30%;
    }
}

.page-content {
    margin-top: 22px;
}

.page-content a {
    color: var(--color-primary);
}

.not-found-box {
    max-width: 760px;
    text-align: center;
}

.go-home-btn {
    display: inline-block;
    margin-top: 8px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    padding: 9px 18px;
}

.go-home-btn:hover {
    background: #fff;
    color: #111;
}

.popular-destinations ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-destinations a {
    display: inline-block;
    border: 1px solid var(--color-border);
    background: var(--color-bg-soft);
    padding: 7px 12px;
}

.site-footer {
    margin-top: 10px;
    background: #1e1e1e;
    color: #d1d5db;
    padding: 42px 0 18px;
}

.site-footer .top-footer.container,
.site-footer .footer-bottom.container {
    padding-left: 24px;
    padding-right: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
    row-gap: 28px;
}

.footer-column-title {
    margin: 0 0 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .86rem;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #f3f4f6;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-about p {
    margin-top: 12px;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    font-size: .9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 991px) {
    .home-layout {
        grid-template-columns: 1fr;
    }

    .home-sidebar-column {
        padding-left: 0;
        border-left: 0;
    }

    .custom-entertainment-posts {
        grid-template-columns: 1fr;
    }

    .custom-posts-section {
        display: block;
    }

    .fashion-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-post {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .archive-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .eblog-right-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .site-footer .top-footer.container,
    .site-footer .footer-bottom.container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-shell {
        align-items: flex-start;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-menu {
        position: absolute;
        right: 16px;
        top: 72px;
        background: #fff;
        width: min(320px, calc(100vw - 32px));
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        z-index: 30;
    }

    .header-menu.active {
        border: 1px solid var(--color-border);
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-menu {
        display: block;
        padding: 8px 0;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 14px;
    }

    .fashion-posts {
        grid-template-columns: 1fr;
    }

    .titlebar56__label {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .site-branding img {
        max-height: 44px;
    }

    .breadcrumb56 {
        gap: 2px;
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: -0.01em;
    }

    .breadcrumb56 .sep {
        margin: 0 2px;
    }
}
