/* HCZ DNŽ - Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

body.site {
    font-family: 'Roboto', sans-serif;
}

/* ========================================
   VIJESTI - SP Page Builder Articles
   ======================================== */
.sppb-addon-article-layout-editorial-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sppb-addon-article-layout-editorial-wrapper {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}
.sppb-addon-article-layout-editorial-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.sppb-addon-article-layout-editorial-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.sppb-addon-article-layout-editorial-content .sppb-article-img-wrap {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.sppb-addon-article-layout-editorial-content .sppb-article-img-wrap img,
.sppb-addon-article-layout-editorial-content .sppb-img-responsive {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sppb-addon-article-layout-editorial-content:hover .sppb-article-img-wrap img {
    transform: scale(1.05);
}
/* Video embeds */
.sppb-addon-article-layout-editorial-content .entry-video {
    aspect-ratio: 16/9;
    border-radius: 0;
}
.sppb-article-info-wrap {
    padding: 18px 20px 20px !important;
}
.sppb-article-info-wrap h3 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    color: #1a1a1a;
}
.sppb-article-info-wrap h3 a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.sppb-article-info-wrap h3 a:hover {
    color: #c41e3a !important;
}
.sppb-article-meta {
    font-size: 12px !important;
    color: #999 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sppb-article-introtext {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px !important;
}
.sppb-readmore {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #c41e3a !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.2s;
}
.sppb-readmore:hover {
    color: #a01530 !important;
}

/* Carousel in article card */
.sppb-addon-article-layout-editorial-content .sppb-carousel {
    aspect-ratio: 16/10;
}
.sppb-addon-article-layout-editorial-content .sppb-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .sppb-addon-article-layout-editorial-row {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* ========================================
   ARTICLE DETAIL
   ======================================== */
.com-content.view-article .article-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.com-content.view-article .article-header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 16px;
}
.com-content.view-article .article-info {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.com-content.view-article figure.article-full-image {
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
}
.com-content.view-article figure.article-full-image img {
    width: 100%;
    height: auto;
    display: block;
}
.com-content.view-article [itemprop="articleBody"] {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.com-content.view-article [itemprop="articleBody"] p {
    margin-bottom: 1.3em;
}
.com-content.view-article [itemprop="articleBody"] img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* ========================================
   SHARE BUTTONS
   ======================================== */
.hcz-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}
.hcz-share-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hcz-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
}
.hcz-share a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hcz-share a svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.hcz-share-fb { background: #1877F2; }
.hcz-share-wa { background: #25D366; }
.hcz-share-viber { background: #7360F2; }
.hcz-share-copy { background: #555; cursor: pointer; border: none; }
.hcz-share-copy:hover { background: #333; }
.hcz-share-native { background: #c41e3a; border: none; cursor: pointer; }
.hcz-share-native:hover { background: #a01530; }

/* ========================================
   SECTION HEADINGS
   ======================================== */
.sppb-addon-title {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600 !important;
}

/* ========================================
   HR DIVIDER
   ======================================== */
.hr-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}
