/* =========================================
   IMPORT FONT NUNITO (SELF-HOSTED)
   path: /wp-content/themes/vmbl/../fonts/Nunito/
   ========================================= */

/* 1. Nunito Light (300) */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* 3. Nunito Medium (500) */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* 4. Nunito SemiBold (600) */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* 5. Nunito Bold (700) */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    /* Hoặc 'bold' */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 6. Nunito ExtraBold (800) */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* 7. Nunito Black (900) */
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito/Nunito-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------- */

/* 1. Regular (400) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* 2. Medium (500) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* 3. SemiBold (600) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* 4. Bold (700) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 5. ExtraBold (800) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* 6. Black (900) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------- */

body {
    font-family: 'Nunito', Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

* {
    box-sizing: border-box;
}

br {
    display: block;
    content: "";
    height: 0;
    line-height: 0;
    margin: 0;
}

strong {
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: left;
    font-family: 'Playfair Display';
    letter-spacing: 0px;
    color: #000000;
}


h1,
h2 {
    font: normal normal 600 32px/63px 'Playfair Display';
}

h3 {
    font: normal normal 600 27px/37px Nunito;
    margin-bottom: 14px;
    margin-top: 14px;
}

h4,
h5,
h6 {
    font: normal normal 600 20px/27px Nunito;
}

a {
    position: relative;
    position: relative;
    text-decoration: none;
    color: #CD1719;
}

a:hover {
    text-decoration: underline;
}

.not-hover a {
    text-decoration: none;
}

.container {
    max-width: 1314px;
    margin: 0 auto;
    padding: 0 20px;
}

p {
    font-weight: 300;
    margin-bottom: 10px;
}

p:last-child {
    margin-bottom: 0;
}

.page-gallery-list {
    padding: 100px 0;
}

.page-gallery-list p {
    margin: 0;
}

.page-gallery-list p:last-child {
    margin-top: 0;
    margin-bottom: 20px;
}

.wp-block-list {
    padding: 20px 0 20px 20px;
    margin-top: 0;
}

.btn-outline-red {
    display: inline-flex;
    align-items: center;
    padding: 9px 24px;
    border: 1px solid #CD1719;
    border-radius: 24px;
    color: #CD1719;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.container-small .content-editor p {
    margin-bottom: 0;
}

.container-small .content-editor p,
.container-small .content-editor a {
    color: #000;
    text-align: left;
    letter-spacing: 0px;
    opacity: 1;
    font-size: 20px;
    line-height: 27px;
}

.container-small .content-editor a:hover {
    color: #CD1719;
}

.heading-box {
    padding-bottom: 70px;
}

.text-editor {
    padding-top: 26px;
}

.section-heading h2 {
    position: relative;
    font-size: 32px;
    line-height: 63px;
    font-weight: 600;
    letter-spacing: 0px;
    opacity: 1;
    display: inline-block;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #CD1719;
}

.text-editor {
    text-align: center;
    font: normal normal 300 20px/27px Nunito;
    letter-spacing: 0px;
    color: #000000;
}

.btn-outline-white .arrow-hover,
.arrow-no-hover {
    display: block;
}

.arrow-hover {
    display: none;
}

.btn-outline-red span {
    font-size: 18px;
}

.btn-outline-red:hover {
    background-color: #CD1719;
    color: #fff;
}

.btn-outline-red:hover .arrow-no-hover {
    display: none;
}

.btn-outline-red:hover .arrow-hover {
    display: block;
}

.btn-outline-white .arrow,
.btn-outline-red .arrow {
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-outline-white:hover .arrow,
.btn-outline-red:hover .arrow {
    transform: translateX(5px);
}


.btn-outline-white {
    display: inline-flex;
    align-items: center;
    padding: 9px 24px;
    border: 1px solid #fff;
    border-radius: 24px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    background: #002047 0% 0% no-repeat padding-box;
}

.btn-outline-white:hover {
    background-color: #CD1719;
    border-color: #CD1719;
}

/* --- CSS CHO SINGLE POST --- */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #7f8c8d;
    --bg-light: #f9f9f9;
}

.single-post-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
    padding-bottom: 60px;
}

/* 1. Post Header */
.post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.post-meta-top {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.post-meta-top a {
    text-decoration: none;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.post-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 2. Featured Image */
.post-thumbnail {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 50px;
    display: block;
}

.thumbnail-container {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: center;
}

.thumbnail-container img {
    width: 70%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.post-content h2,
.post-content h3 {
    margin-top: 40px;
    color: var(--primary-color);
}

.post-content p {
    margin-bottom: 25px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 30px 0;
    padding: 10px 20px;
    background: var(--bg-light);
    font-style: italic;
    color: #555;
}

/* 4. Footer: Tags & Share */
.post-footer {
    max-width: 740px;
    margin: 50px auto;
    padding: 0 20px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-links a {
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-size: 0.85rem;
    transition: 0.2s;
}

.tags-links a:hover {
    background: var(--accent-color);
    color: #fff;
}

/* 5. Author Box */
.author-box {
    max-width: 740px;
    margin: 0 auto 50px;
    padding: 30px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.author-bio {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* 6. Navigation */
.post-navigation {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

.nav-previous a:hover,
.nav-next a:hover{
    text-decoration: none;
}

.nav-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.8rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}



.tcg-gallery {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: #20201d;
}

.tcg-gallery,
.tcg-gallery * {
    box-sizing: border-box;
}

.tcg-gallery .tcg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tcg-gallery .tcg-card {
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #f3f0e9;
}

.tcg-gallery .tcg-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

.tcg-gallery .tcg-card-link:focus-visible {
    outline: 3px solid #b23939;
    outline-offset: -3px;
}

.tcg-gallery .tcg-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e3ddd1;
}

.tcg-gallery .tcg-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
}

.tcg-gallery .tcg-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: #8d8070;
    font-size: 60px;
}

.tcg-gallery .tcg-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 24px;
}

.tcg-gallery h2.tcg-title {
    margin: 0 0 8px;
    padding: 0;
    color: #20201d;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    overflow-wrap: anywhere;
}

.tcg-gallery .tcg-info time {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.tcg-gallery .tcg-button {
    display: block;
    margin-top: auto;
    color: #b23939;
    font-size: 14px;
    line-height: 1.5;
}

.tcg-gallery .tcg-button > span:not(.tcg-text) {
    margin-left: 8px;
}

.tcg-gallery .tcg-card-link:hover .tcg-text {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tcg-gallery .tcg-featured {
    grid-column: 1 / -1;
}

.tcg-gallery .tcg-featured .tcg-card-link {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.tcg-gallery .tcg-featured .tcg-photo {
    aspect-ratio: 1.9 / 1;
    min-height: 100%;
}

.tcg-gallery .tcg-featured .tcg-info {
    justify-content: center;
    padding: 32px 36px;
}

.tcg-gallery .tcg-featured .tcg-title {
    font-size: 34px;
}

.tcg-gallery .tcg-featured .tcg-info time {
    margin-bottom: 16px;
}

.tcg-gallery .tcg-featured .tcg-button {
    margin-top: 0;
}

/* .tcg-gallery .tcg-featured .tcg-button::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-bottom: 18px;
    background: #b23939;
} */


.tcg-gallery .tcg-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.tcg-gallery .tcg-pagination .page-numbers {
    padding: 10px 15px;
    color: #20201d;
    background: #f3f0e9;
    text-decoration: none;
}

.tcg-gallery .tcg-pagination .current {
    color: #fff;
    background: #b23939;
}


@media (max-width: 900px) {
    .tcg-gallery .tcg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tcg-gallery .tcg-featured .tcg-info {
        padding: 24px;
    }

    .tcg-gallery .tcg-featured .tcg-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .tcg-gallery .tcg-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .tcg-gallery .tcg-featured .tcg-card-link {
        grid-template-columns: minmax(0, 1fr);
    }

    .tcg-gallery .tcg-featured .tcg-photo {
        aspect-ratio: 3 / 2;
    }
}