/*
Theme Name: Francisco Briceño
Description: Diseño aprobado de Francisco Briceño, con contenido bilingüe editable y fotografías independientes.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: francisco-briceno
*/


.lang-toggle {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(246,243,236,.78);
}

.lang-toggle a {
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  cursor: pointer; font-size: .76rem; font-weight: 800; padding: 7px 10px;
}

.lang-toggle a.is-active { background: var(--navy); color: #fff; }

.button:focus-visible, .lang-toggle a:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(31,143,214,.42);
  outline-offset: 3px;
}

.nav a,
.lang-toggle,
.eyebrow,
.service-kicker,
.tag,
.stat span,
.docref,
label,
.note {
  font-family: "IBM Plex Mono", monospace;
}

.lang-toggle {
  border-color: var(--line);
  border-radius: 2px;
  background: rgba(8,17,31,.22);
}

.lang-toggle a {
  border-radius: 1px;
  color: var(--muted);
  letter-spacing: .1em;
  font-weight: 500;
}

.lang-toggle a.is-active { background: var(--paper); color: var(--ink); }

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.lang-toggle a:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(46,155,214,.45);
  outline-offset: 3px;
}
.lang-toggle a{display:inline-block;text-align:center}.brand-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.brand-post-image{width:100%;object-fit:cover}.brand-article{max-width:900px}.brand-article img{max-width:100%;height:auto}body.admin-bar .header{top:32px}@media(max-width:782px){body.admin-bar .header{top:46px}}.form-panel button:disabled{opacity:.55;cursor:not-allowed}
/* Perspectivas: mantener la imagen dentro de la primera fila. */
.francisco .post-card > img.brand-post-image {
  display: block;
  width: 100%;
  height: 210px;
  min-height: 0;
  min-width: 0;
  object-fit: cover;
  object-position: center;
}
/* Single post only. No front-page or shared card selectors. */
.francisco.single-post .perspective-single {
  background: #F6F3EC;
  color: #16182A;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
.perspective-single *, .perspective-single *::before, .perspective-single *::after { box-sizing: border-box; }
.perspective-single .perspective-hero { background: #101c30; color: #F6F3EC; padding: clamp(28px, 5vw, 64px) 24px; }
.perspective-single .perspective-hero-inner { max-width: 1000px; margin: 0 auto; }
.perspective-single .perspective-featured { margin: 0 0 36px; padding: 6px; border: 1px solid #b49a6d; }
.perspective-single .perspective-featured-image { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.perspective-single .perspective-heading { max-width: 800px; margin: 0 auto; }
.perspective-single h1 { color: #F6F3EC; font-family: "Newsreader", Georgia, serif; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 24px; overflow-wrap: anywhere; }
.perspective-single .perspective-categories { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.perspective-single .perspective-categories a { color: #e0c89b; font-size: 14px; padding: 10px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.perspective-single .perspective-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: #dddfe4; font-size: 15px; }
.perspective-single .perspective-reading { width: min(100% - 48px, 680px); margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0; }
.perspective-single .perspective-content { overflow-wrap: anywhere; font-family: "Inter", system-ui, sans-serif; line-height: 1.7; }
.francisco.single-post .perspective-single .perspective-content p { margin: 0 0 1.4em; color: #16182A; font-family: inherit; font-size: 18px; line-height: 1.7; }
.perspective-single .perspective-content h2, .perspective-single .perspective-content h3 { font-family: "Newsreader", Georgia, serif; color: #16182A; line-height: 1.2; margin: 1.7em 0 .65em; }
.perspective-single .perspective-content h2 { font-size: clamp(1.75rem, 3vw, 2.2rem); }
.perspective-single .perspective-content h3 { font-size: clamp(1.4rem, 2.5vw, 1.7rem); }
.perspective-single .perspective-content h4, .perspective-single .perspective-content h5, .perspective-single .perspective-content h6 { font-family: "Inter", system-ui, sans-serif; color: #16182A; line-height: 1.4; }
.perspective-single .perspective-content a { color: #244f70; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.perspective-single .perspective-content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border: 0; border-left: 3px solid #9b7844; font-family: inherit; font-style: normal; }
.perspective-single .perspective-content blockquote p:last-child { margin-bottom: 0; }
.perspective-single .perspective-content ul, .perspective-single .perspective-content ol { padding-left: 1.5em; margin: 0 0 1.5em; }
.perspective-single .perspective-content li { margin: .55em 0; padding-left: .15em; }
.perspective-single .perspective-content li > ul, .perspective-single .perspective-content li > ol { margin-bottom: .5em; }
.perspective-single .perspective-content img { display: block; max-width: 100%; height: auto; border-radius: 2px; }
.perspective-single .perspective-content figure { max-width: 100%; margin: 32px 0; }
.perspective-single .perspective-content figcaption { color: #505263; font-size: 14px; margin-top: 10px; }
.perspective-single .perspective-content .alignwide, .perspective-single .perspective-content .alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.perspective-single .perspective-content .wp-block-table { overflow-x: auto; }
.perspective-single .perspective-content table { border-collapse: collapse; font: inherit; font-size: 16px; line-height: 1.6; }
.perspective-single .perspective-content th, .perspective-single .perspective-content td { border: 1px solid #c8bfae; padding: 12px; vertical-align: top; }
.perspective-single .perspective-content th { background: #e9e3d8; color: #16182A; }
.perspective-single .perspective-content pre { overflow-x: auto; padding: 20px; background: #e9e3d8; }
.perspective-single .perspective-content iframe, .perspective-single .perspective-content video { max-width: 100%; }
.perspective-single .perspective-pages { display: flex; flex-wrap: wrap; gap: 12px; }
.perspective-single .perspective-pages a, .perspective-single .perspective-pages span { padding: 8px 14px; min-height: 44px; }
.perspective-single .perspective-end { background: #101c30; color: #F6F3EC; padding: 40px 24px 56px; }
.perspective-single .perspective-end-inner { max-width: 1000px; margin: 0 auto; }
.perspective-single .perspective-back { display: inline-flex; align-items: center; min-height: 48px; color: #e0c89b; text-decoration: underline; text-underline-offset: 5px; }
.perspective-single .perspective-related { border-top: 1px solid #8e7753; margin-top: 28px; padding-top: 32px; }
.perspective-single .perspective-related h2 { color: #F6F3EC; font-family: "Inter", system-ui, sans-serif; font-size: 22px; line-height: 1.4; margin-bottom: 24px; }
.perspective-single .perspective-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.perspective-single .perspective-related-image { width: 100%; height: 160px; object-fit: cover; display: block; margin-bottom: 16px; border: 1px solid #8e7753; }
.perspective-single .perspective-related h3 { font-family: "Inter", system-ui, sans-serif; font-size: 18px; line-height: 1.5; margin: 0 0 12px; }
.perspective-single .perspective-related h3 a { display: block; min-height: 44px; color: #F6F3EC; text-decoration: underline; text-underline-offset: 4px; }
.perspective-single .perspective-related time { color: #dddfe4; font-size: 14px; }
.perspective-single a:focus-visible { outline: 3px solid #9b7844; outline-offset: 4px; }
.perspective-single .perspective-hero a:focus-visible, .perspective-single .perspective-end a:focus-visible { outline-color: #e0c89b; }
@media (max-width: 640px) {
  .perspective-single .perspective-hero, .perspective-single .perspective-end { padding-left: 20px; padding-right: 20px; }
  .perspective-single .perspective-reading { width: calc(100% - 40px); }
  .perspective-single .perspective-related-grid { grid-template-columns: 1fr; }
  .perspective-single .perspective-related-image { height: auto; aspect-ratio: 16 / 9; }
  .perspective-single .perspective-content .alignleft, .perspective-single .perspective-content .alignright { float: none; margin: 24px 0; }
}




