/*
Theme Name: Porto Child
Theme URI: http://newsmartwave.net/wordpress/porto
Template: oxford
Author: SW-THEMES
Author URI: http://newsmartwave.net/
Description: Porto Responsive Wordpress + Woocommerce Theme.
Tags: woocommerce,corporate,ecommerce,responsive,blue,black,green,white,light,dark,red,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,fixed-layout,responsive-layout,custom-menu,editor-style,featured-images,flexible-header,full-width-template,microformats,post-formats,rtl-language-support,sticky-post,theme-options,translation-ready,accessibility-ready
Version: 2.6.1.1.1706372794
Updated: 2024-01-27 16:26:34

*/

/* =======================================================
   OXFORD — Sakrij Porto header (nas custom nav zamjenjuje)
======================================================= */

.header-wrapper,
#header-top,
.header-top,
.social-icons-top,
#porto-sticky-menu-wrapper {
    display: none !important;
}

.page-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* =======================================================
   OXFORD — Sakrij Porto page-top (breadcrumbs + title bar)
======================================================= */

.page-top,
section.page-top {
    display: none !important;
}


/* =======================================================
   OXFORD BLOG — Single Post Stilizacija
   Porto struktura: .post-image > .post-date > .post-content
======================================================= */

/* ── Featured image ── */
.single-post .post-image {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.14);
}

.single-post .post-image .img-thumbnail {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: none !important;
    max-height: 520px;
    overflow: hidden;
    display: block;
}

.single-post .post-image .img-thumbnail .inner {
    padding: 0 !important;
    max-height: 520px;
    overflow: hidden;
}

.single-post .post-image .img-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-height: 520px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 0 !important;
}

/* ── Post date — sakriven na single postovima ── */
/* Datum je vidljiv u .post-meta ispod naslova */
/* Porto date box (03 APR) tapkira naslov — sakrivamo ga */
.single-post .post-date {
    display: none !important;
}

/* ── Naslov posta (H2.entry-title) ── */
.single-post .post-content h2.entry-title {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: clamp(26px, 3.8vw, 40px) !important;
    font-weight: 400 !important;
    color: #162340 !important;
    line-height: 1.22 !important;
    margin: 24px 0 16px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    letter-spacing: -0.3px;
}

/* Crvena linija ispod naslova posta */
.single-post .post-content h2.entry-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #C41C1C;
    margin-top: 16px;
    border-radius: 2px;
}

/* ── Post meta (autor, kategorija, tagovi) ── */
.single-post .post-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0ece4;
    font-family: 'DM Sans', sans-serif;
}

/* ── Osnovna citljivost sadrzaja posta ── */
.single-post .post-content,
.single-post article.post {
    font-size: 17px;
    line-height: 1.8;
    color: #1A1A1A;
}

.single-post .post-content p {
    margin-bottom: 1.4em;
}

/* ── Naslovi unutar sadrzaja posta ── */
.single-post .entry-content h2 {
    font-size: 1.55em;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 2em;
    margin-bottom: 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #C41C1C;
}

.single-post .entry-content h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}

/* ── Tabele ── */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8em 0;
    font-size: 0.95em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-radius: 6px;
    overflow: hidden;
}

.single-post .entry-content table thead tr {
    background-color: #C41C1C;
    color: #ffffff;
    text-align: left;
}

.single-post .entry-content table th {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.3px;
}

.single-post .entry-content table td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.single-post .entry-content table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.single-post .entry-content table tbody tr:hover {
    background-color: #fff5f5;
}

.single-post .entry-content table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Liste ── */
.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 1.4em;
    margin-bottom: 1.4em;
}

.single-post .entry-content ul li,
.single-post .entry-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

/* ── Slike i figure unutar sadrzaja ── */
.single-post .entry-content figure {
    margin: 2em 0;
}

.single-post .entry-content figure img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.single-post .entry-content figcaption {
    text-align: center;
    font-size: 0.83em;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

/* ── Blockquote ── */
.single-post .entry-content blockquote {
    border-left: 4px solid #C41C1C;
    margin: 1.8em 0;
    padding: 16px 24px;
    background: #fdfafa;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #444;
}

/* ── Istaknuti tekst ── */
.single-post .entry-content strong {
    color: #111;
    font-weight: 700;
}


/* =======================================================
   OXFORD BLOG — CTA Dugmad (dual: telefon + email)
======================================================= */

.oxford-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
    justify-content: center;
}

.oxford-cta-btn-phone,
.oxford-cta-btn-phone:visited {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #162340 !important;
    color: #fff !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95em !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(22,35,64,0.22) !important;
}

.oxford-cta-btn-phone:hover {
    background: #0D1729 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(22,35,64,0.32) !important;
    text-decoration: none !important;
}

.oxford-cta-btn-email,
.oxford-cta-btn-email:visited {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #C41C1C !important;
    color: #fff !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95em !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(196,28,28,0.28) !important;
}

.oxford-cta-btn-email:hover {
    background: #a01515 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(196,28,28,0.38) !important;
    text-decoration: none !important;
}

/* CTA Callout Box */
.oxford-cta-box {
    background: linear-gradient(135deg, #f9f5f2 0%, #fff 100%);
    border-left: 4px solid #C41C1C;
    border-radius: 0 12px 12px 0;
    padding: 28px 32px 24px;
    margin: 36px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.oxford-cta-box h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25em;
    color: #162340;
    margin: 0 0 10px;
    font-weight: 400;
}

.oxford-cta-box p {
    color: #555;
    margin: 0 0 20px;
    line-height: 1.65;
    font-size: 0.97em;
}

.oxford-cta-box .oxford-cta-buttons {
    justify-content: flex-start;
    margin: 0;
}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 768px) {
    .single-post .post-image .img-thumbnail,
    .single-post .post-image .img-thumbnail .inner,
    .single-post .post-image .img-thumbnail img {
        max-height: 300px;
    }

    .single-post .post-content h2.entry-title {
        font-size: 24px !important;
    }

    .single-post .post-content,
    .single-post article.post {
        font-size: 16px;
    }

    .single-post .entry-content h2 {
        font-size: 1.3em;
    }

    .single-post .entry-content table {
        font-size: 0.85em;
    }

    .single-post .entry-content th,
    .single-post .entry-content td {
        padding: 9px 10px;
    }

    .oxford-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .oxford-cta-btn-phone,
    .oxford-cta-btn-email {
        justify-content: center;
        text-align: center;
    }

    .oxford-cta-box {
        padding: 20px 18px;
    }
}


/* =======================================================
   OVERRIDE: Progresivniji dizajn za blog postove
   Dodan: 2026-05-13 — Fix h3 nevidljiv + tamne podloge
======================================================= */

/* True-cost box: vibrantnija EU-plava umjesto B2B navy #002147 */
.single-post .entry-content .true-cost-box,
.single-post .entry-content .budget-calculator {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%) !important;
    box-shadow: 0 6px 28px rgba(13,71,161,0.28) !important;
}

/* BUG FIX: child theme h3{color:#1A1A1A} override-a inline #{color:#C5A059}
   Crni tekst na tamnoj pozadini = nevidljiv. Fix: bijeli tekst !important */
.single-post .entry-content .true-cost-box h3,
.single-post .entry-content .budget-calculator h3 {
    color: #fff !important;
}

/* CTA box: osvjeziti istom EU-plavom */
.single-post .entry-content .cta-box {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%) !important;
    box-shadow: 0 6px 28px rgba(13,71,161,0.28) !important;
}

/* Tabele zaglavlja: Oxford Red (#C41C1C) umjesto B2B navy (#002147) */
.single-post .entry-content .compare-table th,
.single-post .entry-content .cost-table th,
.single-post .entry-content .country-table th,
.single-post .entry-content .scholarship-table th,
.single-post .entry-content .uni-table th {
    background: #C41C1C !important;
}
