/*
Theme Name: Equateur Editorial
Version: 1.2.3
Requires PHP: 7.4
Text Domain: equateur-editorial
*/
:root{--paper:#faf9f5;--ink:#10100e;--accent:#a84915;--muted:#686660;--line:#dedbd4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}img{max-width:100%;height:auto}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.18;margin:0 0 .65em}h1{font-size:clamp(2rem,5vw,3.8rem)}.wrap{max-width:1240px;margin:auto;padding-inline:24px}.masthead{border-bottom:1px solid var(--line)}.topbar{display:flex;justify-content:space-between;align-items:center;padding-block:10px;font-size:12px;border-bottom:1px solid var(--line)}.brand{text-align:center;padding-block:28px}.brand>a{font:bold clamp(32px,6vw,64px)/1 Georgia,serif}.brand span{color:var(--accent)}.brand p{margin:8px 0 0;color:var(--muted)}.custom-logo{max-height:100px;width:auto}.nav{display:flex;gap:22px;align-items:center;overflow-x:auto;padding-block:12px;white-space:nowrap}.nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}.nav .sub-menu{display:none}.nav li:focus-within>.sub-menu,.nav li:hover>.sub-menu{display:flex}.nav a{font-weight:600;font-size:14px}.lead{padding-top:30px}.eyebrow,.category,.section-heading>a{color:var(--accent);font-size:12px;letter-spacing:.12em;font-weight:750;text-transform:uppercase}.eyebrow{margin-bottom:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}.card{min-width:0}.photo{display:block;overflow:hidden;border-radius:5px}.photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.card h2{font-size:clamp(22px,2.3vw,30px);margin:14px 0 10px}.summary{color:var(--muted);margin:0 0 10px}.meta{font-size:13px;color:var(--muted)}.lead .hero{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:center}.lead h2{font-size:clamp(30px,4vw,50px)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);margin:64px 0 28px;padding-bottom:12px}.section-heading h2{font-size:clamp(26px,3vw,40px);margin:0;font-weight:400}.section-heading>a{white-space:nowrap}.topic{margin-top:60px}.topic .section-heading{margin-top:0}.dark{background:var(--ink);color:#fff;border-radius:12px;padding:28px}.dark .section-heading{border-color:#444}.dark .category,.dark .section-heading>a{color:#ff995f}.dark .summary,.dark .meta{color:#ccc}.dark .hero{position:relative;overflow:hidden;border-radius:6px;min-height:240px}.dark .hero:has(.photo) .card-body{position:absolute;inset:auto 0 0;padding:20px;background:linear-gradient(transparent,rgba(0,0,0,.95) 25%);pointer-events:none}.dark .hero .card-body a{pointer-events:auto}.dark .hero .summary{display:none}.dark .photo img{aspect-ratio:3/4}.advertising{margin:32px auto;text-align:center}.reading{max-width:780px;margin:48px auto}.article-photo{width:100%;border-radius:6px}.article-content{font-size:18px;overflow-wrap:anywhere}.article-content a,.share a{color:var(--accent);text-decoration:underline}.article-content iframe{max-width:100%}.byline{color:var(--muted)}.footer{background:var(--ink);color:#ddd;margin-top:80px;padding:52px 0 24px}.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:36px}.footer h2,.footer h3{color:#fff}.footer ul{padding-left:18px}.copyright{margin-top:35px;font-size:13px;border-top:1px solid #444;padding-top:20px}.backtop{position:fixed;right:16px;bottom:16px;background:var(--paper);border:1px solid var(--line);border-radius:50%;width:44px;height:44px;text-align:center;line-height:42px;font-size:24px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;z-index:10}input,textarea,button{font:inherit;max-width:100%;padding:8px;border:1px solid var(--line);border-radius:4px}button,input[type=submit]{background:var(--accent);color:white;cursor:pointer}.search-form{display:flex;gap:4px}.search-field{width:140px}.navigation{margin:30px 0}.page-numbers{padding:8px}.wp-caption{max-width:100%}.aligncenter{display:block;margin:auto}@media(max-width:760px){.wrap{padding-inline:16px}.cards,.lead .hero{grid-template-columns:1fr;gap:36px}.brand{padding-block:20px}.topbar{gap:8px}.topbar>span{max-width:110px}.search-field{width:105px}.section-heading{margin-top:48px}.dark{padding:16px}.card h2{font-size:25px}.lead h2{font-size:32px}.summary{font-size:16px}.footer{margin-top:48px}.reading{margin-top:30px}.dark .hero:has(.photo) .card-body{padding:16px}.dark .hero h2{font-size:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Editorial V1.1 */

.eq-editorial [hidden]{
display:none!important;
}

.eq-editorial .masthead{
background:#581334;
color:#fff;
border:0;
}

.eq-breaking{
display:flex;
align-items:center;
gap:12px;
background:#df5017;
padding:8px clamp(16px,4vw,48px);
font-size:14px;
font-weight:600;
}

.eq-breaking strong{
background:white;
color:#b43b0d;
padding:4px 10px;
white-space:nowrap;
font-size:12px;
letter-spacing:.08em;
}

.eq-ticker{
flex:1;
min-width:0;
}

.eq-ticker a{
display:block;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.eq-breaking button,.eq-menu-toggle{
background:transparent;
color:white;
border:1px solid #ffffff40;
}

.eq-mast{
display:grid;
grid-template-columns:1fr 2fr 1fr;
align-items:center;
padding:12px clamp(16px,4vw,48px);
gap:12px;
}

.eq-menu-toggle{
justify-self:start;
font-size:24px;
width:44px;
height:44px;
padding:0;
}

.eq-mast .brand{padding:0}

.eq-mast .brand>a{
font-size:clamp(22px,3vw,42px);
display:inline-block;
}

.eq-mast .brand span{color:white}

.eq-mast .custom-logo{
max-height:64px;
object-fit:contain;
}

.eq-header-search{justify-self:end}

.eq-editorial .nav{
display:block;
padding:20px;
}

.eq-editorial .nav ul{display:block}
.eq-editorial .nav li{padding:5px 0}
.eq-editorial .nav .sub-menu{
display:block;
padding-left:20px;
}

.eq-slider{
position:relative;
margin-inline:calc((min(1240px,100vw) - 100vw)/2 - 24px);
background:#111;
color:white;
overflow:hidden;
}

.eq-slide{
position:relative;
min-height:clamp(540px,75vh,850px);
display:flex;
align-items:flex-end;
padding:70px max(5vw,24px) 115px;
isolation:isolate;
}

.eq-slide-image,.eq-slide-shade{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-1;
}

.eq-slide-shade{
background:
linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.28)),
linear-gradient(0deg,rgba(0,0,0,.9),transparent 80%);
}

.eq-slide-copy{max-width:850px}
.eq-slide-copy .eyebrow{color:#ff985f}

.eq-slide-copy h2{
font-size:clamp(32px,5vw,76px);
font-weight:400;
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
margin:10px 0 18px;
}

.eq-slide-copy p{
font-size:clamp(16px,2vw,21px);
color:#d2d2d2;
max-width:680px;
display:-webkit-box;
-webkit-line-clamp:4;
-webkit-box-orient:vertical;
overflow:hidden;
}

.eq-slide-meta{
font-size:12px;
text-transform:uppercase;
letter-spacing:.13em;
font-weight:700;
color:#ddd;
margin-top:24px;
}

.eq-slider-controls{
position:absolute;
bottom:36px;
left:max(5vw,24px);
right:24px;
display:flex;
gap:12px;
align-items:center;
}

.eq-slider-controls>button{
background:#0003;
border:1px solid #ffffff55;
border-radius:50%;
width:42px;
height:42px;
padding:0;
font-size:25px;
}

.eq-dots{
display:flex;
gap:7px;
align-items:center;
}

.eq-dots button{
border:0;
background:#ffffff70;
width:16px;
height:7px;
padding:0;
border-radius:10px;
}

.eq-dots button[aria-current=true]{
width:32px;
background:#f06a22;
}

.eq-latest{
grid-template-columns:repeat(2,minmax(0,1fr));
}

.eq-article-heading{margin-bottom:24px}

.eq-article-heading h1{
font-weight:400;
font-size:clamp(32px,5vw,62px);
}

.eq-article-heading .meta{
border-bottom:1px solid var(--line);
padding-bottom:16px;
}

.eq-cover{
margin:0 auto;
max-width:1200px;
}

.eq-cover img{
display:block;
width:100%;
height:auto;
border-radius:3px;
}

.eq-cover figcaption{
font-size:13px;
color:var(--muted);
}

.eq-article-body{margin-top:24px}

.eq-article-body .article-content{
line-height:1.9;
font-size:17px;
}

.eq-article-body blockquote{
border-left:3px solid #e65d0d;
padding:0 18px;
margin:24px 0;
font-style:italic;
}

.eq-article-body .article-content img{
border-radius:3px;
}

.eq-author{
text-align:center;
padding:28px 0;
}

.eq-author img{
border-radius:50%;
display:block;
margin:0 auto 12px;
}

.eq-author h3{margin:0 0 6px}

.eq-tags,.eq-share{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:8px;
padding:20px 0;
border-top:1px solid var(--line);
font-size:13px;
}

.eq-tags strong,.eq-share strong{
text-transform:uppercase;
letter-spacing:.12em;
font-size:10px;
color:var(--muted);
}

.eq-tags a,.eq-share a,.eq-share button{
padding:5px 10px;
border-radius:20px;
background:#efede7;
color:#222;
font-size:12px;
border:0;
}

.eq-share .eq-wa{
background:#16864b;
color:white;
}

.eq-share .eq-fb{
background:#1763bc;
color:white;
}

.eq-share{
border-bottom:1px solid var(--line);
}

.eq-editorial .advertising img{
max-width:100%;
height:auto;
}

.eq-editorial .advertising{
margin:30px auto;
}

@media(max-width:760px){

.eq-mast{
grid-template-columns:44px 1fr 44px;
min-height:76px;
}

.eq-header-search{display:none}

.eq-slider{margin-inline:-16px}

.eq-slide{
min-height:580px;
padding:40px 16px 100px;
}

.eq-slide-copy h2{
font-size:clamp(30px,8vw,46px);
}

.eq-slide-copy p{
-webkit-line-clamp:5;
}

.eq-slider-controls{
left:16px;
bottom:28px;
gap:9px;
}

.eq-latest{
grid-template-columns:1fr;
}

.eq-article-body .article-content{
font-size:16px;
}

.eq-article-heading{
margin-top:30px;
}

.eq-breaking{gap:8px}
.eq-breaking strong{font-size:11px}
.eq-slide-meta{font-size:11px}
}

@media(prefers-reduced-motion:no-preference){
.eq-slide:not([hidden]){
animation:eq-in .35s ease-out;
}
@keyframes eq-in{
from{opacity:.65}
to{opacity:1}
}
}

/* Editorial V1.2 */

.eq-megamenu{
    background:#581334;
    color:#fff;
    padding:12px clamp(16px,4vw,48px) 28px;
}

.eq-menu-search{
    margin-bottom:24px;
}

.eq-menu-search .search-form{
    display:flex;
    width:100%;
    gap:8px;
}

.eq-menu-search .search-form label{
    flex:1;
    min-width:0;
}

.eq-menu-search .search-field{
    width:100%;
    background:#ffffff0c;
    border:1px solid #ffffff30;
    border-radius:30px;
    color:white;
    padding:12px 18px;
}

.eq-menu-search .search-field::placeholder{
    color:#d0aebf;
}

.eq-menu-search .search-submit{
    border-radius:30px;
    border:0;
    background:#e65d0d;
}

.eq-menu-home{
    display:block;
    color:#ff995f;
    font-weight:750;
    padding:14px 0;
}

.eq-menu-group{
    border-bottom:1px solid #ffffff16;
    padding:16px 0;
}

.eq-menu-parent{
    display:block;
    font-size:14px;
    text-transform:uppercase;
    font-weight:750;
}

.eq-menu-children{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 20px;
    margin-top:12px;
}

.eq-menu-children a{
    font-size:14px;
    color:#d6b5c6;
}

.eq-menu-toggle{
    cursor:pointer;
}

.eq-ticker{
    overflow:hidden;
}

.eq-ticker-track{
    white-space:nowrap;
}

.eq-ticker-track a{
    display:inline-block;
    max-width:none;
    overflow:visible;
    text-overflow:clip;
}

.eq-ticker-moving{
    animation:eq-news-scroll 6.5s linear;
}

@keyframes eq-news-scroll{
    from{transform:translateX(100%)}
    to{transform:translateX(-100%)}
}

.eq-slide:not([hidden]){
    animation:eq-slide-fade .65s ease-out;
}

@keyframes eq-slide-fade{
    from{opacity:.4}
    to{opacity:1}
}

.eq-related{
    margin:55px auto 65px;
    padding-top:28px;
    border-top:1px solid var(--line);
}

.eq-related>h2{
    font-size:30px;
    font-weight:400;
    margin-bottom:26px;
}

.eq-related-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.eq-related-grid .card h2{
    font-size:22px;
}

.eq-related-grid .summary{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:14px;
}

.eq-related-grid .meta{
    font-size:11px;
}

.eq-share{
    gap:9px;
}

.eq-share .eq-social{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    border-radius:50%;
    border:0;
    color:white;
    flex-shrink:0;
}

.eq-share .eq-social svg{
    display:block;
    width:17px;
    height:17px;
}

.eq-share .eq-share-native{
    background:#e65d0d;
}

.eq-share .eq-whatsapp{
    background:#22b963;
}

.eq-share .eq-facebook{
    background:#1877f2;
}

.eq-share .eq-x{
    background:#111;
}

.eq-share .eq-telegram{
    background:#229ed9;
}

.eq-share .eq-linkedin{
    background:#0a66c2;
}

.eq-share .eq-mail{
    background:#df4545;
}

.eq-share .eq-copy{
    background:#eeece6;
    color:#222;
}

.eq-footer{
    background:#10100e;
    color:#aaa;
    padding:65px 0 0;
}

.eq-footer-grid{
    display:grid;
    grid-template-columns:1fr 1.5fr 1fr;
    gap:38px;
    align-items:start;
}

.eq-footer-logo{
    max-width:180px;
    max-height:100px;
    object-fit:contain;
    margin-bottom:20px;
}

.eq-footer p{
    font-size:13px;
    line-height:1.85;
}

.eq-footer-team>h2{
    color:#e58b53;
    font-family:inherit;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.12em;
    margin-bottom:24px;
}

.eq-team-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.eq-team-grid h3{
    font-family:inherit;
    font-size:13px;
    color:white;
    margin:0 0 6px;
}

.eq-team-grid p{
    margin:0 0 20px;
}

.eq-footer-newsletter h2{
    font-size:28px;
    font-weight:400;
    color:white;
}

.eq-footer-newsletter input[type=email]{
    width:100%;
    background:#1c1c1a;
    color:white;
    border:1px solid #444;
    padding:12px;
}

.eq-footer-newsletter input[type=submit],
.eq-footer-newsletter button{
    width:100%;
    background:#e65d0d;
    border:0;
    padding:12px;
    font-weight:700;
}

.eq-footer-bottom{
    border-top:1px solid #333;
    margin-top:45px;
    padding:18px 0;
}

.eq-footer-bottom .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
}

.eq-footer-bottom p{
    font-size:12px;
    margin:0;
}

.eq-footer-bottom a{
    font-size:12px;
    text-decoration:underline;
}

@media(max-width:900px){
    .eq-footer-grid{
        grid-template-columns:1fr 1fr;
    }

    .eq-footer-newsletter{
        grid-column:1/-1;
    }
}

@media(max-width:600px){
    .eq-footer-grid{
        grid-template-columns:1fr;
        gap:32px;
    }

    .eq-footer-newsletter{
        grid-column:auto;
    }

    .eq-footer{
        padding-top:40px;
    }

    .eq-related-grid{
        grid-template-columns:1fr;
        gap:32px;
    }

    .eq-related-grid .card h2{
        font-size:24px;
    }

    .eq-menu-parent{
        font-size:15px;
    }

    .eq-menu-children a{
        font-size:13px;
    }
}

@media(prefers-reduced-motion:reduce){
    .eq-ticker-moving,
    .eq-slide:not([hidden]){
        animation:none!important;
    }
}


/* Editorial V1.2.2 */

.eq-mast .eq-header-logo{
    display:block;
    width:auto;
    height:68px;
    max-width:220px;
    object-fit:contain;
    margin:auto;
}

.eq-header-socials,
.eq-footer-socials{
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
}

.eq-network{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:inherit;
    text-decoration:none!important;
    transition:background .2s,color .2s;
}

.eq-header-socials .eq-network{
    width:25px;
    height:25px;
    color:white;
}

.eq-header-socials .eq-network svg{
    width:15px;
    height:15px;
}

.eq-footer-socials{
    margin-top:25px;
}

.eq-footer-socials .eq-network{
    width:36px;
    height:36px;
    border:1px solid #ffffff25;
    border-radius:50%;
    color:#ddd;
}

.eq-network:hover{
    background:#e65d0d;
    color:white;
    border-radius:50%;
}

@media(max-width:760px){

    .eq-header-socials{
        display:none;
    }

    .eq-mast .eq-header-logo{
        height:54px;
        max-width:170px;
    }

}


/* Editorial V1.2.2 */

.eq-post-views{
    display:inline-flex;
    align-items:center;
    gap:5px;
    vertical-align:middle;
    color:inherit;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}

.eq-post-views svg{
    width:16px;
    height:16px;
    flex-shrink:0;
}

.eq-article-body .eq-tags{
    margin-top:28px;
}


/* === EQ MENU EDITORIAL V1.2.3 === */

.eq-megamenu[hidden] {
    display: none !important;
}

.eq-megamenu:not([hidden]) {
    display: block;
    padding: 14px 4% 18px;
    background: #58132f;
    color: #fff;
    text-align: left;
}

.eq-megamenu .eq-menu-home {
    display: block;
    color: #f58232;
    font-weight: 700;
    padding: 15px 0;
    font-size: 14px;
}

.eq-megamenu .eq-menu-group {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.eq-megamenu .eq-menu-parent {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-transform: uppercase;
    line-height: 1.4;
    text-decoration: none;
    padding: 0;
}

.eq-megamenu .eq-menu-children {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 18px;
    margin-top: 10px;
    padding: 0;
}

.eq-megamenu .eq-menu-children a {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255,255,255,.68);
    text-transform: none;
    text-decoration: none;
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
}

.eq-megamenu .eq-menu-children a:hover,
.eq-megamenu .eq-menu-parent:hover {
    color: #f58232;
}

.eq-megamenu .eq-menu-search {
    margin: 0 0 10px;
}

.eq-megamenu .eq-menu-search form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.eq-megamenu .eq-menu-search label {
    flex: 1;
    min-width: 0;
}

.eq-megamenu .eq-menu-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 38px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
    color: #fff;
    padding: 0 15px;
}

.eq-megamenu .eq-menu-search input::placeholder {
    color: rgba(255,255,255,.55);
}

.eq-megamenu .eq-menu-search input[type="submit"],
.eq-megamenu .eq-menu-search button {
    border: 0;
    border-radius: 30px;
    background: #ed6819;
    color: #fff;
    padding: 10px 14px;
}

.masthead:has(#eq-menu:not([hidden]))
.eq-header-search {
    visibility: hidden;
    pointer-events: none;
}

.eq-menu-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
}

.eq-menu-socials a {
    color: #fff;
}

@media(max-width: 767px) {

    .eq-megamenu:not([hidden]) {
        padding: 10px 4% 15px;
    }

    .eq-megamenu .eq-menu-group {
        padding: 11px 0;
    }

    .eq-megamenu .eq-menu-parent {
        font-size: 13px;
    }

    .eq-megamenu .eq-menu-children a {
        font-size: 12px;
    }

    .masthead .eq-header-search {
        display: none !important;
    }
}

/* === FIN EQ MENU V1.2.3 === */
