/* ================================
   BLOG LISTING PAGE
================================ */

/* Hero */
.blog-hero {
    padding: 160px var(--boxed-padding) 80px;
    background: #fff;
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-hero-divider {
    border: none;
    border-top: 2px solid var(--gold);
    width: 60px;
    margin: 0 0 30px 0;
}

.blog-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.blog-hero-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 19px;
    color: var(--text-light);
    font-weight: 300;
}

/* Blog Listing Grid */
.blog-listing {
    background: #EFEFEF;
    padding: 60px 0 100px;
}

.blog-listing-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--boxed-padding);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image-link {
    display: block;
    overflow: hidden;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 36px 40px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 16px;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--gold);
}

.blog-card-excerpt {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
    flex: 1;
}

/* Blog Card Button */
.blog-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 22px 10px 32px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 60px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
}

.blog-card-btn .arrow-circle {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.blog-card-btn .arrow-circle img {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.blog-card-btn .arrow-default { opacity: 1; }
.blog-card-btn .arrow-hover { opacity: 0; }

.blog-card-btn:hover {
    background-color: #d7a461;
    border-color: #d7a461;
    color: #fff;
}

.blog-card-btn:hover .arrow-default { opacity: 0; }
.blog-card-btn:hover .arrow-hover { opacity: 1; }

/* Blog Listing CTA */
.blog-cta {
    background: #fff;
    padding: 100px var(--boxed-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-cta-divider {
    border: none;
    border-top: 2px solid var(--gold);
    width: 60px;
    margin: 0 0 30px 0;
}

.blog-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.blog-cta p {
    font-size: 19px;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 40px;
}

.blog-cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 22px 10px 40px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 60px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.blog-cta-btn-primary .arrow-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.blog-cta-btn-primary .arrow-circle img {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.blog-cta-btn-primary .arrow-default { opacity: 1; }
.blog-cta-btn-primary .arrow-hover { opacity: 0; }

.blog-cta-btn-primary:hover {
    background-color: #d7a461;
    border-color: #d7a461;
    color: #fff;
}

.blog-cta-btn-primary:hover .arrow-default { opacity: 0; }
.blog-cta-btn-primary:hover .arrow-hover { opacity: 1; }

.blog-cta-btn-secondary {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
    padding: 0;
}

.blog-cta-btn-secondary:hover {
    color: var(--gold);
}

/* ================================
   SINGLE BLOG POST PAGE
================================ */

.blog-post-hero {
    padding: 140px var(--boxed-padding) 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.blog-post-tag {
    background: var(--gold);
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    text-transform: uppercase;
}

.blog-post-date {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    color: var(--text-light);
}

.blog-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-dark);
    max-width: 850px;
    margin-bottom: 20px;
}

.blog-post-excerpt {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    color: var(--text-light);
    max-width: 750px;
    line-height: 1.7;
    margin-bottom: 50px;
}

.blog-post-cover {
    width: 100%;
    max-height: 560px;
    overflow: hidden;
}

.blog-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog Post Body */
.blog-post-body {
    padding: 70px var(--boxed-padding) 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: start;
}

.blog-post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--text-dark);
    margin: 48px 0 16px;
}

.blog-post-figure {
    margin: 36px 0;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.blog-post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    font-weight: 400;
    color: var(--text-dark);
    margin: 36px 0 12px;
}

.blog-post-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 0 0 24px 24px;
}

.blog-post-content li {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 8px;
}

.blog-post-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.blog-post-content hr {
    border: none;
    border-top: 1px solid #e0d8ce;
    margin: 40px 0;
}

/* Sidebar */
.blog-post-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-block {
    background: #EFEFEF;
    padding: 36px 32px;
    margin-bottom: 30px;
}

.sidebar-block-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}

/* Crossell - stanovi u sidebar-u */
.sidebar-stanovi-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-stan-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 12px;
    background: #fff;
    transition: background 0.2s ease;
}

.sidebar-stan-item:hover {
    background: #f0e8dc;
}

.sidebar-stan-item img {
    width: 72px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-stan-info h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.sidebar-stan-info p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}

/* Sidebar CTA */
.sidebar-cta {
    background: var(--gold);
    padding: 36px 32px;
    text-align: center;
}

.sidebar-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.sidebar-cta p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.6;
}

.sidebar-cta-btn {
    display: block;
    background: #fff;
    color: var(--gold);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.sidebar-cta-btn:hover {
    background: var(--text-dark);
    color: #fff;
}

/* Related Blog Posts */
.blog-related {
    background: #EFEFEF;
    padding: 80px 0 100px;
}

.blog-related-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--boxed-padding);
}

.blog-related-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Back to Blog link */
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.blog-back-link:hover {
    color: var(--gold);
}

.blog-back-link svg {
    width: 16px;
    height: 16px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .blog-listing-container {
        padding: 0 40px;
        gap: 30px;
    }

    .blog-hero,
    .blog-cta {
        padding-left: 40px;
        padding-right: 40px;
    }

    .blog-post-hero,
    .blog-post-body {
        padding-left: 40px;
        padding-right: 40px;
    }

    .blog-post-body {
        grid-template-columns: 1fr 280px;
        gap: 50px;
    }

    .blog-related-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 20px 50px;
    }

    .blog-hero-title {
        font-size: 38px;
    }

    .blog-listing-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .blog-cta {
        padding: 60px 20px;
    }

    .blog-cta h2 {
        font-size: 28px;
    }

    .blog-post-hero {
        padding: 110px 20px 0;
    }

    .blog-post-title {
        font-size: 30px;
    }

    .blog-post-body {
        grid-template-columns: 1fr;
        padding: 40px 20px 60px;
        gap: 40px;
    }

    .blog-post-sidebar {
        position: static;
    }

    .blog-related-container {
        padding: 0 20px;
    }

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