/*
Theme Name: SJR.xyz
Author: SJR.XYZ
Description: Revista digital, noticias y directorio de San Juan del Río, Querétaro.
Version: 1.6.7
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pulso-san-juan
*/
@font-face{font-family:DM Sans;src:url(assets/dm-sans.woff2) format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:Playfair Display;src:url(assets/playfair-display.woff2) format("woff2");font-weight:500 800;font-display:swap}
:root {
    --paper: #faf7ef;
    --ink: #202921;
    --pine: #153e34;
    --terracotta: #9f3f2c;
    --sand: #ead7b9;
    --rule: #d9d0bf;
    --muted: #5e6257;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--terracotta); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #bf663d; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }
.frame { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }
.topbar { background: var(--pine); color: #fff8e9; font-size: .78rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 37px; }
.topbar-inner i { display: inline-block; width: 7px; height: 7px; background: #edba7f; border-radius: 50%; margin-right: .5rem; }
.topbar a { text-decoration: none; font-weight: 700; color: #ffddb0; }
.topbar a:hover { text-decoration: underline; }
.masthead { text-align: center; padding: 23px 0 20px; }
.mast-brand { display: inline-flex; align-items: center; justify-content: center; gap: 14px; color: var(--pine); text-decoration: none; }
.mast-brand img { max-width: min(420px, 75vw); max-height: 105px; object-fit: contain; }
.wordmark { font: 800 clamp(2.5rem, 6vw, 5rem)/1.05 var(--serif); letter-spacing: -.07em; padding-right: .07em; }
.bridge-mark { display: flex; align-items: end; gap: 2px; min-width: 51px; border-top: 4px solid var(--terracotta); padding-top: 3px; color: var(--terracotta); }
.bridge-mark b { width: 16px; height: 16px; border: 3px solid currentColor; border-bottom: 0; border-radius: 50% 50% 0 0; }
.mast-tag { margin: 8px 0 0; color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.nav-strip { border-block: 1px solid var(--rule); }
.nav-inner { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nav-inner nav { min-width: 0; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(15px, 3.1vw, 42px); padding: 8px 0; margin: 0; list-style: none; }
.menu a, .nav-search summary { font-weight: 750; font-size: .89rem; text-decoration: none; }
.menu a[aria-current="page"] { color: var(--terracotta); }
.nav-search { position: relative; }
.nav-search summary { cursor: pointer; color: var(--pine); }
.search-form { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-search .search-form { z-index: 5; position: absolute; top: calc(100% + 13px); right: 0; width: min(320px, 85vw); padding: 13px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 12px 24px #1b2d2322; }
.search-form label { flex: 1; min-width: 120px; }
input, textarea, button { font: inherit; }
.search-form input { width: 100%; padding: .5rem; border: 1px solid var(--rule); background: #fff; }
.search-form button, .button, .submit { display: inline-block; background: var(--pine); color: white; border: 0; font-weight: 700; padding: .54rem .9rem; text-decoration: none; cursor: pointer; }
.button:hover { color: #fff; background: var(--terracotta); }
.home-main { padding-top: 22px; }
.edition { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 16px; color: var(--muted); font-size: .71rem; font-weight: 750; letter-spacing: .13em; }
.edition span:first-child { color: var(--terracotta); }
.front-grid { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(245px, 1fr); gap: 25px; }
.lead { min-height: 510px; display: flex; align-items: end; position: relative; isolation: isolate; overflow: hidden; background: var(--pine); color: #fffbf4; }
.lead img, .lead-placeholder, .lead::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.lead img { object-fit: cover; object-position: 50% 44%; z-index: -2; }
.lead::after { z-index: -1; content: ""; background: linear-gradient(180deg, #10201800 14%, #10201823 32%, #102018a0 65%, #102018f5 100%); }
.lead-placeholder, .story-placeholder {
    background-color: #26594a;
    background-image: repeating-radial-gradient(ellipse at bottom, #dbbb854a 0 2px, transparent 3px 17px);
    background-position: center;
    background-size: 145px 100%;
}
.lead-placeholder { z-index: -2; }
.lead-copy { padding: clamp(23px, 4vw, 43px); max-width: 760px; }
.lead h1 { font-size: clamp(2.4rem, 5.25vw, 4.65rem); letter-spacing: -.055em; line-height: 1.02; margin-bottom: 13px; }
.lead a { color: inherit; text-decoration: none; }
.lead a:hover { text-decoration: underline; }
.lead .eyebrow { color: #ffdbac; }
.lead-summary { max-width: 56ch; color: #fff7e9; }
.read-link { font-weight: 750; font-size: .87rem; }
.eyebrow { font-size: .69rem; color: var(--terracotta); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .6rem; }
.front-side { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.brief { border-top: 4px solid var(--terracotta); padding: 18px 18px 13px; background: #f2ebdf; }
.brief h2 { font-size: 1.9rem; color: var(--pine); }
.brief-list { margin: 9px 0 0; padding: 0; list-style: none; }
.brief-list li { position: relative; border-bottom: 1px solid var(--rule); padding: 11px 0; }
.brief-list li:last-child { border-bottom: 0; }
.brief-list .eyebrow { margin-bottom: 2px; }
.brief-list a { display: block; font-weight: 800; line-height: 1.25; text-decoration: none; }
.brief-list time, .meta { display: block; color: var(--muted); font-size: .8rem; }
.sales-card { position: relative; overflow: hidden; background: var(--pine); color: #fff8e9; padding: 21px; margin-top: auto; }
.sales-card::after { content: ""; position: absolute; bottom: -50px; right: -20px; width: 150px; height: 140px; pointer-events: none; background: repeating-radial-gradient(ellipse at bottom, #efd6a448 0 1px, transparent 2px 11px); transform: rotate(-17deg); }
.sales-card .eyebrow { color: #f2c68d; }
.sales-card h2 { max-width: 12ch; font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: 14px; }
.sales-card a { position: relative; z-index: 1; color: #fff8e9; font-size: .84rem; font-weight: 750; }
.home-section { margin-top: 41px; }
.section-heading { display: flex; gap: 15px; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 16px; }
.section-heading h1, .section-heading h2 { color: var(--pine); font-size: clamp(1.95rem, 3.6vw, 3rem); letter-spacing: -.045em; }
.section-heading a { color: var(--terracotta); font-size: .78rem; font-weight: 800; text-align: right; text-decoration: none; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story-card { min-width: 0; background: #fffdf7; border: 1px solid var(--rule); }
.story-card > img, .story-cover { display: block; width: 100%; aspect-ratio: 1.85; overflow: hidden; }
.story-card > img, .story-cover img { object-fit: cover; object-position: center 56%; }
.story-cover img, .story-placeholder { display: block; width: 100%; height: 100%; }
.story-copy { padding: 15px 17px 18px; overflow-wrap: anywhere; }
.story-copy h2, .story-copy h3 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.story-copy a { text-decoration: none; }
.story-copy .meta { margin: .6em 0 0; }
.local-links { margin: 39px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); }
.local-links a { display: flex; justify-content: space-between; padding: 14px; border-right: 1px solid var(--rule); color: var(--pine); font-weight: 800; text-decoration: none; font-size: .88rem; }
.local-links a:hover { color: var(--terracotta); }
.local-links a:last-child { border-right: 0; }
.site-footer { margin-top: 46px; background: var(--pine); color: #fff8e9; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; }
.footer-inner strong { font: 750 1.5rem/1 var(--serif); }
.footer-inner p { margin: 4px 0 0; font-size: .8rem; }
.footer-inner nav { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: .8rem; }
.footer-inner a:hover { color: #ffdbac; }
.inner-main { padding-top: clamp(23px, 5vw, 54px); min-height: 56vh; }
.article { max-width: 760px; margin-inline: auto; }
.article h1 { color: var(--pine); font-size: clamp(2.6rem, 6vw, 4.9rem); letter-spacing: -.06em; margin-bottom: 17px; overflow-wrap: anywhere; }
.intro { font-size: clamp(1.04rem, 2vw, 1.31rem); max-width: 68ch; }
.article-image { margin: 20px 0; }
.article-image img { width: 100%; max-height: 640px; object-fit: contain; background: #f2ebdf; }
.article-image figcaption { color: var(--muted); font-size: .8rem; padding-block: 6px; }
.entry-content h2, .entry-content h3 { margin: 1.4em 0 .6em; }
.entry-content p { overflow-wrap: anywhere; }
.entry-content iframe { max-width: 100%; }
.ad-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-options div { padding: 15px; background: #f2ebdf; border-top: 2px solid var(--terracotta); }
.ad-options dt { font-weight: 800; color: var(--pine); }
.ad-options dd { margin: 4px 0 0; }
.ad-slot { display: grid; gap: 4px; padding: 9px; text-align: center; border: 1px solid var(--rule); }
.ad-slot .eyebrow { margin: 0; }
.ad-slot a { display: block; }
.ad-slot img { margin-inline: auto; }
.ad-name { font-size: .72rem; color: var(--muted); }
.ad-banner { margin-bottom: 20px; }
.ad-banner img { max-height: 185px; object-fit: contain; }
.ad-article { margin-top: 32px; }
.paging { margin-top: 24px; }
.page-numbers { display: inline-block; padding: 4px 8px; }
.page-numbers.current { background: var(--pine); color: white; }
.comments-area { margin-top: 30px; }
.comment-list { padding-left: 20px; overflow-wrap: anywhere; }
.comment-form textarea { display: block; max-width: 100%; }
.credit-list li { margin-bottom: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { clip-path: none; width: auto; height: auto; padding: 12px; top: 4px; left: 4px; z-index: 9999; background: white; }
@media (max-width: 850px) {
    .frame { width: calc(100% - 38px); }
    .front-grid { gap: 15px; }
    .lead { min-height: 455px; }
    .menu { column-gap: 15px; }
    .card-grid { gap: 12px; }
}
@media (max-width: 660px) {
    .front-grid, .card-grid { grid-template-columns: 1fr; }
    .lead { min-height: 390px; }
    .lead-copy { padding: 20px; }
    .lead h1 { font-size: clamp(2.15rem, 9vw, 3.1rem); }
    .masthead { padding-block: 18px; }
    .mast-tag { letter-spacing: .09em; }
    .mast-brand { gap: 8px; }
    .bridge-mark { min-width: auto; }
    .bridge-mark b { width: 11px; height: 12px; }
    .nav-inner { align-items: start; }
    .nav-search { padding-top: 8px; }
    .topbar-inner { gap: 5px; font-size: .7rem; }
    .menu a, .nav-search summary { font-size: .81rem; }
    .home-section { margin-top: 30px; }
    .footer-inner { align-items: start; flex-direction: column; }
    .local-links { grid-template-columns: 1fr 1fr; }
    .local-links a { border-bottom: 1px solid var(--rule); }
    .local-links a:nth-child(2n) { border-right: 0; }
    .local-links a:nth-last-child(-n + 2) { border-bottom: 0; }
}

.directory-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.directory-filters a { border: 1px solid var(--rule); padding: 5px 11px; font-weight: 700; text-decoration: none; }

/* SJR.XYZ */
:root {
    --paper: #f7f7ee;
    --ink: #161b1a;
    --pine: #202725;
    --terracotta: #334d00;
    --sand: #e4ff60;
    --rule: #d7dace;
    --muted: #505950;
    --acid: #e4ff60;
    --violet: #d8c8ff;
    --peach: #ffbda6;
    --mint: #a9eed4;
    --serif: "DM Sans", Arial, sans-serif;
}
body { font-weight: 500; }
.topbar { background: #202725; }
.topbar-inner i { background: var(--acid); }
.topbar a { color: var(--acid); }
.masthead { display: flex; align-items: center; justify-content: space-between; text-align: left; padding-block: 20px; gap: 16px; }
.mast-brand { gap: 12px; }
.wordmark { font-size: clamp(3rem, 6.4vw, 5.5rem); font-weight: 800; letter-spacing: -.095em; line-height: .92; }
.bridge-mark { width: 54px; min-width: 54px; height: 45px; padding: 0 5px 8px; justify-content: center; border: 0; background: var(--acid); border-radius: 8px; color: var(--ink); transform: rotate(-7deg); }
.bridge-mark b { width: 13px; height: 18px; border-width: 2px; }
.mast-tag { font-size: .77rem; letter-spacing: .1em; margin: 0; }
.nav-strip { background: #fff; border-block: 1px solid var(--rule); }
.menu { gap: .35rem clamp(10px, 2.15vw, 28px); }
.menu a[aria-current="page"] { background: var(--acid); color: var(--ink); padding: 4px 8px; border-radius: 4px; }
.edition { font-size: .72rem; letter-spacing: .1em; }
.front-grid { grid-template-columns: minmax(0, 2.55fr) minmax(245px, 1fr); gap: 16px; }
.lead { min-height: 495px; border-radius: 16px; }
.lead::after { background: linear-gradient(180deg, #17172700 2%, #17172730 27%, #171727d9 76%, #171727fa 100%); }
.lead-local h1 { max-width: 11ch; }
.lead h1 { font-size: clamp(2.75rem, 6vw, 5.8rem); font-weight: 800; letter-spacing: -.095em; line-height: .92; overflow-wrap: anywhere; }
.lead .eyebrow { display: inline-block; padding: 5px 10px; margin-bottom: 14px; border-radius: 4px; color: var(--ink); background: var(--acid); }
.read-link { display: inline-block; padding: 8px 11px; border: 1px solid currentColor; border-radius: 6px; }
.brief { background: var(--violet); border: 0; border-radius: 16px; padding: 19px 22px 13px; }
.brief h2, .sales-card h2 { letter-spacing: -.065em; font-weight: 800; }
.brief-list li { border-color: #56467442; }
.brief-list a span { display: inline-block; width: 22px; }
.sales-card { background: var(--acid); color: var(--ink); border-radius: 16px; flex-grow: 1; }
.sales-card::after { background: repeating-radial-gradient(ellipse at bottom, #19201058 0 1px, transparent 2px 11px); }
.sales-card .eyebrow, .sales-card a { color: var(--ink); }
.sales-card h2 { max-width: 12ch; }
.young-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.young-card { background: var(--acid); border-radius: 12px; overflow: hidden; }
.young-gastronomia { background: var(--peach); }
.young-musica { background: var(--violet); }
.young-campus { background: var(--mint); }
.young-card a { min-height: 185px; display: flex; flex-direction: column; justify-content: end; padding: 17px 48px 17px 17px; position: relative; color: var(--ink); text-decoration: none; }
.young-card a:hover h3 { text-decoration: underline; }
.young-card a:focus-visible { outline-offset: -4px; }
.young-card .eyebrow { color: var(--ink); margin-bottom: 6px; }
.young-card h3 { font-size: clamp(1.2rem, 2.1vw, 1.72rem); letter-spacing: -.052em; font-weight: 800; }
.young-icon { font-size: 2.5rem; line-height: 1; margin-bottom: auto; }
.young-arrow { font-size: 1.35rem; position: absolute; right: 16px; top: 14px; }
.section-heading h1, .section-heading h2 { font-weight: 800; letter-spacing: -.07em; }
.story-card { border-radius: 12px; overflow: hidden; }
.story-copy h2, .story-copy h3 { letter-spacing: -.035em; font-weight: 800; }
.young-article h1, .article h1 { letter-spacing: -.08em; font-weight: 800; }
.young-article .eyebrow { display: inline-block; background: var(--acid); padding: 6px 10px; color: var(--ink); border-radius: 4px; }
.young-article ul, .young-article h2 { margin-bottom: 14px; }
.archive-guide { margin-bottom: 20px; }
.archive-guide .young-card { max-width: 380px; }
@media (max-width: 850px) {
    .young-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lead { min-height: 440px; }
}
@media (max-width: 660px) {
    .front-grid { grid-template-columns: 1fr; }
    .masthead { align-items: start; flex-direction: column; gap: 9px; }
    .mast-tag { font-size: .68rem; }
    .wordmark { font-size: 3rem; }
    .bridge-mark { width: 41px; min-width: 41px; height: 34px; }
    .bridge-mark b { height: 14px; }
    .lead { min-height: 380px; }
    .lead h1 { font-size: clamp(2.7rem, 11vw, 4.4rem); }
    .young-grid { gap: 8px; }
    .young-card a { padding: 12px 24px 12px 12px; min-height: 152px; }
    .young-arrow { right: 9px; top: 8px; }
}

.wordmark-blocks {
    display: inline-flex;
    align-items: center;
    gap: .055em;
}
.letter-row {
    --block-size: clamp(29px, 3.8vw, 54px);
    --block-depth: clamp(5px, 0.65vw, 9px);
    display: inline-flex;
    align-items: center;
    gap: calc(var(--block-depth) + 3px);
    padding: var(--block-depth) var(--block-depth) 2px 2px;
}
.letter-block {
    position: relative;
    flex: 0 0 var(--block-size);
    width: var(--block-size);
    height: var(--block-size);
    display: grid;
    place-items: center;
    color: var(--paint);
    font: 800 calc(var(--block-size) * .66)/1 "Playfair Display", Georgia, serif;
    letter-spacing: 0;
    border-radius: 1px;
    background:
        repeating-linear-gradient(177deg, #b57e4022 0 1px, transparent 1px 4px),
        linear-gradient(120deg, #fff3d8, #eacb99);
    box-shadow: inset 0 0 0 calc(var(--block-size) * .105) var(--paint),
        0 2px 2px #764a332f;
}
.letter-block::before,
.letter-block::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.letter-block::before {
    bottom: 100%;
    left: 0;
    width: 100%;
    height: var(--block-depth);
    transform: skewX(-45deg);
    transform-origin: bottom left;
    background: repeating-linear-gradient(4deg, #f6e4c3 0 3px, #e8c99a 4px, #f4dfb7 5px);
}
.letter-block::after {
    left: 100%;
    top: 0;
    width: var(--block-depth);
    height: 100%;
    transform: skewY(-45deg);
    transform-origin: top left;
    background: repeating-linear-gradient(92deg, #d5ac75 0 2px, #c49a65 3px, #ddb784 4px);
}
.letter-x { --paint: #1963a2; }
.letter-y { --paint: #b6312d; }
.letter-z { --paint: #277544; }
@media (max-width: 660px) {
    .letter-row { --block-size: 29px; }
}

.ad-slot { border-color: #83a74a; border-radius: 12px; background: #f5f9ed; padding: 8px; gap: 6px; }
.ad-heading { display: flex; justify-content: space-between; gap: 5px; padding: 2px 5px; color: #365022; font-size: .66rem; text-transform: uppercase; font-weight: 800; letter-spacing: .09em; }
.ad-creative, .ad-vacancy { border-radius: 6px; overflow: hidden; }
.ad-slot .ad-vacancy { display: grid; place-content: center; min-height: 100px; gap: 3px; padding: 12px; text-decoration: none; border: 1px dashed #9ab477; background: #edf4df; color: #263820; }
.ad-vacancy:hover strong { text-decoration: underline; }
.ad-vacancy strong { font-weight: 800; font-size: 1.03rem; }
.ad-vacancy span { font-size: .78rem; font-weight: 700; }
.ad-sidebar .ad-vacancy { min-height: 150px; }
.ad-middle, .ad-directory { margin-block: 24px; }
.ad-middle .ad-image, .ad-directory .ad-image, .ad-article .ad-image { max-height: 240px; object-fit: contain; }

.psj-google-unit { width: 100%; min-width: 0; }


.sjr-agenda-calendar {
    margin-block: 2rem;
}

.sjr-agenda-calendar-frame {
    display: block;
    width: 100%;
    max-width: 100%;
    height: calc(100vw + 100px);
    border: 0;
}

@media screen and (min-width: 600px) {
    .sjr-agenda-calendar-frame {
        height: 100vw;
    }
}

@media screen and (min-width: 853px) {
    .sjr-agenda-calendar-frame {
        height: 1065px;
    }
}

.ad-slides [hidden] { display: none; }
.ad-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.ad-controls button { background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 5px; padding: 4px 8px; font-size: .75rem; cursor: pointer; }

.directory-advertisers { margin: 16px 0 28px; }
.story-card > .directory-advertiser-image { object-fit: contain; background: #f0f3e8; }
.directory-advertisers .story-copy a { text-decoration: underline; }

.commercial-contact { margin: 1.6rem 0; padding: clamp(16px, 4vw, 28px); border: 1px solid var(--rule); border-radius: 14px; background: #edf4df; }
.commercial-contact h2 { margin-bottom: .6rem; }
.commercial-phone { font-size: 1.45rem; font-weight: 800; }
.commercial-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.commercial-contact-actions .button { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.commercial-contact-actions .commercial-whatsapp { background: var(--acid); color: var(--ink); }
.commercial-contact-actions .commercial-whatsapp:hover { text-decoration: underline; }
