/*
Theme Name: Vintage Vista
Theme URI: https://vintagevista.co.in
Author: Vintage Vista
Author URI: https://vintagevista.co.in
Description: Custom WordPress theme for Vintage Vista Blog
Version: 1.0
Text Domain: vintagevista
*/

/* ================= NAVBAR ================= */

.custom-navbar {
    background: #000;
    transition: box-shadow 0.4s ease;
    padding: 6px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.navbar-logo {
    height: 60px;
    width: auto;
}

.navbar-nav {
    align-items: center;
}

/* NAV LINKS */
.navbar-dark .nav-link {
    font-family: "Poligon Regular";
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    padding: 6px 14px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: scale(1.15);
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar-nav .nav-link:hover {
        transform: none;
    }

    .navbar-collapse {
        background: #000;
        padding: 15px 0;
    }
}

.site-content {
    padding-top: 80px;
}

/* =========================================================
   GLOBAL FIX
   ========================================================= */

.site-content {
    padding-top: 80px;
}

/* =========================================================
   BLOG WRAPPER
   ========================================================= */

.blog-container {
    max-width: 1400px;
    margin: 90px auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 70px;
}

/* =========================================================
   BLOG GRID (OKNA STYLE)
   ========================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

/* =========================================================
   BLOG CARD
   ========================================================= */

.blog-card {
    transition: transform 0.35s ease;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* IMAGE */
.blog-image {
    width: 100%;
    /* aspect-ratio: 4 / 3; */
    /* 🔥 uniform image size */
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease;
}

/* HOVER */
.blog-card:hover .blog-image img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.blog-card:hover {
    transform: translateY(-6px);
}

/* =========================================================
   BLOG TEXT
   ========================================================= */

.blog-content {
    margin-top: 18px;
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
}

.blog-content h2 {
    font-size: 22px;
    font-weight: 600;
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
    line-height: 1.4;
    color: #111;
    margin-bottom: 6px;
}

.blog-date {
    font-size: 14px;
    color: #777;
    letter-spacing: 0.4px;
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
}

/* =========================================================
   SIDEBAR (OKNA STYLE)
   ========================================================= */

.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* SEARCH BOX */
.blog-sidebar form {
    display: flex;
    border: 1px solid #ccc;
    margin-bottom: 50px;
}

.blog-sidebar input[type="search"] {
    flex: 1;
    padding: 14px;
    border: none;
    font-size: 14px;
}

.blog-sidebar input[type="submit"] {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

/* RECENT POSTS */
.recent-posts h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 18px;
}

.recent-posts a {
    font-size: 15px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.recent-posts span {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.sidebar-divider {
    height: 25px;
    background: #fff;
    margin: 20px -20px;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    grid-column: span 2;
    margin-top: 60px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    height: 40px;
    min-width: 40px;
    padding: 0 14px;
    border: 1px solid #ccc;
    color: #000;
    text-decoration: none;
    line-height: 1;
}

.pagination .current {
    background: #000;
    color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {

    .blog-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .pagination {
        grid-column: span 1;
    }
}

/* Footer */
.footer {
    background: #000;
    box-shadow: 0 4px 15px rgba(63, 45, 45, 0.4);
    color: #fff;
    padding: 60px 80px 30px;
    font-family: Poligon Regular, sans-serif;
}

/* TOP */
.footer-top {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Columns */
.footer-col {
    text-align: left;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.85;
}

/* Lists */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.footer-col a:hover {
    opacity: 0.7;
}

/* Headings */
.footer-col h4 {
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 500;
}

/* Social */
.social-icons a {
    margin-right: 15px;
    font-size: 20px;
}

/* Bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: flex-end;
}

.footer-bottom-right a {
    color: #fff;
    margin-left: 20px;
    font-size: 18px;
    text-decoration: none;
}

/* ================= POLICY POPUP OVERLAY ================= */

.policy-modal {
    position: fixed;
    inset: 0;
    display: none;
    /* JS se show/hide */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

/* ================= POPUP BOX ================= */

.policy-content {
    background: #fff;
    width: 90%;
    max-width: 650px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 10px;
    position: relative;

    /* 🔥 Control heading–paragraph gap here */
    --hp-gap: 28px;
}

/* ================= HEADING ================= */

.policy-content h2 {
    margin-bottom: var(--hp-gap);
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
}

/* ================= PARAGRAPH ================= */

.policy-content p {
    margin-top: 0;
    margin-bottom: 18px;
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

/* ================= CLOSE BUTTON ================= */

.policy-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.policy-close:hover {
    color: #000;
}

/* ================= SCROLLBAR (OPTIONAL PREMIUM) ================= */

.policy-content::-webkit-scrollbar {
    width: 6px;
}

.policy-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.policy-content::-webkit-scrollbar-track {
    background: transparent;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 600px) {
    .policy-content {
        padding: 25px;
        --hp-gap: 22px;
    }

    .policy-content h2 {
        font-size: 22px;
    }

    .policy-content p {
        font-size: 14px;
    }
}

/* ================= OKNA SEARCH BOX ================= */

.search {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    height: 56px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
    letter-spacing: 0.5px;
    background: transparent;
    color: #111;
}

.search-input::placeholder {
    color: #888;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* BUTTON */
.search-btn {
    background: #000;
    border: none;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.3s ease;
}

.search-btn svg {
    transition: transform 0.3s ease;
}

.search-btn:hover {
    background: #222;
}

.search-btn:hover svg {
    transform: scale(1.1);
}

/* Sidebar spacing */
.blog-sidebar .search {
    margin-bottom: 24px;
}

.blog-sidebar {
    background: #f6f6f6;
    padding: 20px;
}

/* ================= SINGLE PAGE (MATCH BLOG GRID) ================= */

.single-post {
    width: 100%;
}

/* HERO IMAGE */
.single-hero {
    width: 100%;
    height: 520px;
    overflow: hidden;
    margin-bottom: 40px;
}

.single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITLE + META */
.single-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
    color: #111;
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
}

.single-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 40px;
    font-family: "FormaDJRDisplayNarrow-Thin-Testing";
}

/* CONTENT */
.single-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #222;
    font-family: "Calibri", sans-serif;
}

/* MOBILE */
@media (max-width: 992px) {
    .single-hero {
        height: 218px;
    }

    .single-title {
        font-size: 28px;
        font-family: "FormaDJRDisplayNarrow-Thin-Testing";

    }

    .blog-image {
        aspect-ratio: 5/3;
    }
}

/* ===== FORCE FIX FOR PRIVACY LINK ===== */

#privacyLink,
#privacyLink:visited,
#privacyLink:hover,
#privacyLink:active,
#privacyLink:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}