/* TESLA REVISTA - IDENTIDAD PUERTO MADERO - VERSIÓN AGRESIVA */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@600&family=Barlow:wght@400;500;600&display=swap');

* { box-sizing: border-box; }

:root {
    --azul: #182B55 !important;
    --granate: #8B1E2D !important;
    --verde: #1B6B3A !important;
    --celeste: #29A8DF !important;
}

/* BARRA 4 COLORES - TOP */
html::before {
    content: '';
    display: block;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #8B1E2D 0%, #8B1E2D 25%, #182B55 25%, #182B55 50%, #1B6B3A 50%, #1B6B3A 75%, #29A8DF 75%, #29A8DF 100%) !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

body {
    padding-top: 12px !important;
    font-family: 'Barlow', sans-serif !important;
    color: #555555 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif 4', serif !important;
    font-weight: 600 !important;
    color: #182B55 !important;
}

/* HEADER */
.pkp_structure_head {
    background-image: url(https://tesla.puertomaderoeditorial.com.ar/index.php/tesla/libraryFiles/downloadPublic/9) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
}

.pkp_structure_head a {
    color: white !important;
}

/* NAVEGACIÓN */
.pkp_site_nav_menu {
    background-color: #182B55 !important;
}

.pkp_site_nav_menu a,
.pkp_site_nav_menu li a,
.pkp_navigation_primary>li>a,
.pkp_navigation_search_wrapper a {
    color: white !important;
}

.pkp_site_nav_menu ul,
.pkp_navigation_primary ul {
    background-color: #182B55 !important;
}

.pkp_site_nav_menu ul li a,
.pkp_navigation_primary ul li a {
    color: white !important;
}

.pkp_site_nav_toggle {
    background-color: #182B55 !important;
}

.pkp_site_nav_toggle>span {
    border-bottom: 3px solid rgba(255, 255, 255, 0.84) !important;
}

.pkp_site_nav_toggle>span:before,
.pkp_site_nav_toggle>span:after {
    background: white !important;
}

/* DROPDOWNS */
.pkp_dropdown,
.pkp_dropdown_menu,
.pkp_navigation_user.pkp_navigation_user,
.pkp_navigation_user ul {
    background-color: #182B55 !important;
}

.pkp_dropdown a,
.pkp_dropdown_menu a,
.pkp_navigation_user a,
.pkp_navigation_user ul li a {
    color: white !important;
}

/* CONTENIDO */
.pkp_structure_content {
    background: rgb(222, 242, 251) !important;
}

.page_title {
    color: #182B55 !important;
    border-bottom: 3px solid #182B55 !important;
    padding-bottom: 1rem !important;
}

.pkp_structure_content a,
.obj_article_details a {
    color: #182B55 !important;
}

.pkp_structure_content a:hover,
.obj_article_details a:hover {
    color: #006ba3 !important;
}

/* ITEMS */
.item {
    background: white !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid #ecf0f1 !important;
    border-left: 4px solid #182B55 !important;
}

.item h2 {
    color: #182B55 !important;
}

.item .label {
    color: #182B55 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #e8f4f8 !important;
    padding-bottom: 0.5rem !important;
}

.item.references {
    font-size: 0.9rem !important;
}

.item.references p {
    font-size: 0.9rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* BOTONES PDF PEQUEÑOS */
.galleys_links a {
    background: #182B55 !important;
    color: white !important;
    padding: 0.4rem 0.9rem !important;
    border: 1px solid #182B55 !important;
    border-radius: 4px !important;
    display: inline-block !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    transition: all 0.2s !important;
}

.galleys_links a:hover {
    background: white !important;
    color: #182B55 !important;
}

/* SIDEBAR COLORIDO */
.pkp_structure_side .block {
    background-color: #182B55 !important;
    color: white !important;
    padding: 1.2rem !important;
    border-radius: 4px !important;
    margin-bottom: 1.5rem !important;
}

.pkp_structure_side .block:nth-child(1),
.pkp_structure_side .block:nth-of-type(1) {
    background-color: #182B55 !important;
}

.pkp_structure_side .block:nth-child(2),
.pkp_structure_side .block:nth-of-type(2) {
    background-color: #8B1E2D !important;
}

.pkp_structure_side .block:nth-child(3),
.pkp_structure_side .block:nth-of-type(3) {
    background-color: #1B6B3A !important;
}

.pkp_structure_side .block:nth-child(4),
.pkp_structure_side .block:nth-of-type(4) {
    background-color: #29A8DF !important;
}

.pkp_structure_side .block h3 {
    font-family: 'Source Serif 4', serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    margin: 0 0 1rem 0 !important;
    letter-spacing: 0.5px !important;
    color: white !important;
}

.pkp_structure_side .block p {
    color: white !important;
    font-size: 0.9rem !important;
}

.pkp_structure_side .block a {
    color: white !important;
    text-decoration: none !important;
    display: block !important;
    padding: 0.6rem 0 !important;
    border-left: 3px solid rgba(255,255,255,0.3) !important;
    padding-left: 0.8rem !important;
    transition: all 0.2s !important;
    font-size: 0.9rem !important;
}

.pkp_structure_side .block a:hover {
    border-left-color: white !important;
    padding-left: 1rem !important;
}

/* FOOTER */
.pkp_structure_footer_wrapper {
    background-image: linear-gradient(rgba(0, 149, 214, 0.2), rgba(0, 149, 214, 0.2)), url(https://tesla.puertomaderoeditorial.com.ar/index.php/tesla/libraryFiles/downloadPublic/9) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #1a252f !important;
    padding: 0.5rem 0 !important;
    margin-top: 2rem !important;
    position: relative !important;
}

.pkp_structure_footer_wrapper::after {
    content: '' !important;
    display: block !important;
    width: 100% !important;
    height: 12px !important;
    background: linear-gradient(to right, #8B1E2D 0%, #8B1E2D 25%, #182B55 25%, #182B55 50%, #1B6B3A 50%, #1B6B3A 75%, #29A8DF 75%, #29A8DF 100%) !important;
}

.pkp_footer_content {
    text-align: center !important;
    color: #001a33 !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5) !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    position: relative !important;
    z-index: 2 !important;
}

.pkp_footer_content p {
    margin: 0.1rem 0 !important;
    padding: 0 !important;
    color: #001a33 !important;
    text-align: center !important;
}

.pkp_footer_content a {
    color: #001a33 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.pkp_footer_content > *,
.pkp_footer_content div,
.pkp_footer_content span {
    text-align: center !important;
}

.pkp_brand_footer {
    display: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .item { padding: 1rem !important; }
    .galleys_links a { padding: 0.8rem 1.5rem !important; font-size: 0.95rem !important; }
    .pkp_structure_side .block { margin-bottom: 1rem !important; }
}
