/*
 * SET Joomla 3 -> Joomla 6 migration overrides.
 * Loaded after the legacy T3 stylesheet and the SP Page Builder styles.
 */

html body,
body.bodybg {
    color: #706d6d;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

#t3-content,
.t3-content,
#t3-content .item-page,
.t3-content .item-page,
#t3-content article,
.t3-content article,
#t3-content .article-content,
.t3-content .article-content,
.t3-sidebar,
.t3-sidebar .sppb-addon-content,
.t3-content .sppb-addon-content {
    color: #706d6d;
}

#t3-content p,
.t3-content p,
#t3-content li,
.t3-content li,
#t3-content .article-content,
.t3-content .article-content,
#t3-content .article-content p,
.t3-content .article-content p,
#t3-content .article-content li,
.t3-content .article-content li,
.t3-sidebar p,
.t3-sidebar li,
.t3-sidebar .sppb-addon-content {
    color: #706d6d !important;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

#t3-content h1,
#t3-content h2,
#t3-content h3,
#t3-content h4,
#t3-content h5,
#t3-content h6,
.t3-content h1,
.t3-content h2,
.t3-content h3,
.t3-content h4,
.t3-content h5,
.t3-content h6,
#t3-content .sppb-addon-title,
#t3-content .sppb-section-title,
.t3-sidebar h1,
.t3-sidebar h2,
.t3-sidebar h3,
.t3-sidebar h4,
.t3-sidebar h5,
.t3-sidebar h6,
.t3-sidebar .sppb-addon-title {
    color: #24252a !important;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.1;
}

/* Match the Joomla 3 article view: compact, dark, readable article heading. */
#t3-content .article-title,
#t3-content .article-header h1,
#t3-content .article-title a,
#t3-content .article-header h1 a {
    color: #0d2b4d !important;
    font-family: "Raleway", Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin: 0 0 25px !important;
    text-decoration: none;
}

#t3-content .article-title a:hover,
#t3-content .article-header h1 a:hover {
    color: #ed1c24 !important;
}

/* Match the production article link colours. */
.t3-content .article-content a,
#t3-content .article-content a {
    color: #ff0000 !important;
    text-decoration: none;
}

.t3-content .article-content a:hover,
#t3-content .article-content a:hover {
    color: #24252a !important;
}

/* Keep the Joomla 3 brand accent in headings such as “O nas”. */
.sppb-addon-title span,
.sppb-addon-call-title span,
.sppb-image-content-title span {
    color: #ed1c24 !important;
    font-family: inherit !important;
    font-weight: inherit !important;
}

.t3-content .sppb-addon-title,
.t3-sidebar .sppb-addon-title {
    color: #24252a !important;
    font-family: "Raleway", Helvetica, Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 60px !important;
}

.t3-content .sppb-addon-title:after,
.t3-sidebar .sppb-addon-title:after {
    background: #ed1c24 !important;
}

/* The Page Builder content area is not always wrapped in .t3-content after migration. */
.sp-page-builder .page-content .sppb-addon-content,
.sp-page-builder .page-content .sppb-addon-content p,
.sp-page-builder .page-content .sppb-addon-content li {
    color: #706d6d !important;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

.sp-page-builder .page-content h3.sppb-addon-title {
    color: #24252a !important;
    font-family: "Raleway", Helvetica, Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 60px !important;
}

/* The migrated hero sections keep their original white-on-image contrast. */
.sp-page-builder .page-content #section-id-1519252153 h1,
.sp-page-builder .page-content #section-id-1519252153 h2,
.sp-page-builder .page-content #section-id-1519252153 h3,
.sp-page-builder .page-content #section-id-1519252153 p,
.sp-page-builder .page-content #section-id-1519565941411 h1,
.sp-page-builder .page-content #section-id-1519565941411 h2,
.sp-page-builder .page-content #section-id-1519565941411 h3,
.sp-page-builder .page-content #section-id-1519565941411 p {
    color: #ffffff !important;
}

.sp-page-builder .page-content #section-id-1519252153 h2,
.sp-page-builder .page-content #section-id-1519565941411 h2 {
    font-family: "Raleway", Helvetica, Arial, sans-serif !important;
    font-size: 40px !important;
    font-weight: 500 !important;
    line-height: 46px !important;
}

.sp-page-builder .page-content #section-id-1519252153 p,
.sp-page-builder .page-content #section-id-1519565941411 p {
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

/* The Conferences page uses a third carousel section id. */
.sp-page-builder .page-content .sppb-carousel-pro-text h2 {
    color: #ffffff !important;
    font-family: "Raleway", Helvetica, Arial, sans-serif !important;
    font-size: 40px !important;
    font-weight: 500 !important;
    line-height: 46px !important;
}

.sp-page-builder .page-content .sppb-carousel-pro-text p {
    color: #ffffff !important;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

/* The main content typography above is more specific; keep the slider white. */
#t3-content .sppb-carousel-pro-text h2,
.t3-content .sppb-carousel-pro-text h2 {
    color: #ffffff !important;
}

#t3-content .sppb-carousel-pro-text p,
.t3-content .sppb-carousel-pro-text p {
    color: #ffffff !important;
}

/* Match the Joomla 3 carousel wrapping. The Joomla 6 page builder otherwise
 * keeps 120px side padding on phones and collapses the hero copy. */
.sppb-carousel-flex .sppb-text-center .sppb-carousel-pro-text p {
    padding: 0 !important;
}

.sp-page-builder .page-content #section-id-1519252153 .sppb-addon-title span,
.sp-page-builder .page-content #section-id-1519565941411 .sppb-addon-title span {
    color: inherit !important;
}

#t3-content strong,
.t3-sidebar strong {
    font-weight: 700;
}

/* Preserve the dark footer contrast while normalising the light content area. */
.set-footer-fallback #set-footer .sppb-addon-title {
    color: #ffffff !important;
    font-family: "Raleway", Helvetica, Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    margin-bottom: 60px !important;
}

.set-footer-fallback #set-footer .sppb-addon-content,
.set-footer-fallback #set-footer .sppb-addon-content p,
.set-footer-fallback #set-footer .sppb-addon-content li {
    color: #9e9e9e !important;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

.sp-page-builder .page-content #section-id-1519252168 .sppb-addon-content,
.sp-page-builder .page-content #section-id-1519252168 .sppb-addon-content p,
.sp-page-builder .page-content #section-id-1519252168 .sppb-addon-content li {
    color: #ffffff !important;
}

/* The homepage dark information band has white first words and the red SET accent. */
#t3-content #section-id-1519252168 h3.sppb-addon-title,
.t3-content #section-id-1519252168 h3.sppb-addon-title {
    color: #ffffff !important;
    display: block !important;
}

