/* CEBES Core 0.16.3 — public editorial pages */
body.cebes-content-v2{background:#f8f7f4;color:var(--cebes-ink)}
body.cebes-content-v2 .cebes-header{position:sticky}
.cebes-content-hero{background:var(--cebes-navy);color:#fff;padding:76px 0 82px}
.cebes-content-hero-inner{text-align:center;max-width:920px}
.cebes-content-hero h1{font-size:clamp(42px,4.2vw,64px);line-height:1.05;max-width:900px;margin:0 auto 18px;color:#fff}
.cebes-content-hero p:not(.cebes-kicker){font-size:19px;line-height:1.55;color:rgba(255,255,255,.8);max-width:780px;margin:0 auto}
.cebes-content-section{padding:76px 0;background:#f8f7f4}
.cebes-content-section:nth-of-type(even){background:#fff}
.cebes-content-heading{margin-bottom:30px}
.cebes-content-heading.is-centered{text-align:center;max-width:900px;margin-left:auto;margin-right:auto}
.cebes-content-heading h2{font-size:clamp(34px,3vw,44px);margin:0 0 12px;color:var(--cebes-navy)}
.cebes-content-heading>p:not(.cebes-kicker){font-size:17px;color:var(--cebes-muted);max-width:760px;line-height:1.65}
.cebes-content-heading.is-centered>p:not(.cebes-kicker){margin-left:auto;margin-right:auto}
.cebes-center-action{text-align:center;margin:30px 0 0}
.cebes-empty-state{padding:44px;border:1px dashed #d7d2c8;border-radius:20px;background:#fff;text-align:center;color:var(--cebes-muted)}
.cebes-empty-state h3{font-size:24px;color:var(--cebes-navy);margin-bottom:8px}

/* Blog archive */
.cebes-blog-archive-section{background:#f8f7f4!important}
.cebes-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cebes-archive-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #dedbd4;border-radius:16px;box-shadow:0 14px 34px rgba(7,29,49,.045);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.cebes-archive-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(7,29,49,.09);border-color:#d5ad63}
.cebes-archive-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9ecee}
.cebes-archive-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.cebes-archive-card:hover .cebes-archive-media img{transform:scale(1.025)}
.cebes-archive-copy{padding:20px 21px 22px;display:flex;flex-direction:column;flex:1}
.cebes-archive-meta{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#8a969f;margin-bottom:9px}
.cebes-archive-copy h3{font-size:22px;line-height:1.15;margin:0 0 11px;color:var(--cebes-navy);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.cebes-archive-copy p{font-size:15px;color:#65727d;line-height:1.55;margin:0 0 18px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.cebes-archive-link{margin-top:auto;color:var(--cebes-navy)!important;font-weight:750;font-size:15px;display:inline-flex;gap:8px;align-items:center}
.cebes-archive-link:hover{color:#9b7330!important}
.cebes-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:42px}
.cebes-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border:1px solid #d8d9da;border-radius:10px;background:#fff;color:var(--cebes-navy)!important;font-weight:700}
.cebes-pagination .current{background:var(--cebes-navy);color:#fff!important;border-color:var(--cebes-navy)}

/* Single article */
.cebes-article-wrap{background:#f8f7f4;padding-bottom:72px}
.cebes-article-hero{background:var(--cebes-navy);color:#fff;padding:62px 0 96px;text-align:center}
.cebes-article-hero-inner{max-width:980px}
.cebes-article-hero h1{font-size:clamp(40px,4vw,62px);line-height:1.05;color:#fff;margin:0 auto 18px;max-width:950px}
.cebes-article-deck{font-size:19px;line-height:1.55;color:rgba(255,255,255,.78);max-width:760px;margin:0 auto}
.cebes-article-featured{margin-top:-58px;max-width:1120px;position:relative;z-index:2}
.cebes-article-featured img{width:100%;max-height:600px;object-fit:cover;border-radius:20px;box-shadow:0 24px 60px rgba(7,29,49,.15)}
.cebes-article-layout{max-width:900px;padding-top:54px}
.cebes-article-content{font-size:18px;line-height:1.78;color:#243b4e}
.cebes-article-content h2{font-size:32px;color:var(--cebes-navy);margin:42px 0 15px}
.cebes-article-content h3{font-size:25px;color:var(--cebes-navy);margin:34px 0 12px}
.cebes-article-content p,.cebes-article-content ul,.cebes-article-content ol{margin:0 0 22px}
.cebes-article-content ul,.cebes-article-content ol{padding-left:24px}
.cebes-article-content blockquote{margin:34px 0;padding:22px 26px;border-left:4px solid var(--cebes-gold);background:#fff8ea;border-radius:0 14px 14px 0;color:#304858}
.cebes-article-content img{max-width:100%;height:auto;border-radius:14px;margin:18px auto}
.cebes-article-content a{color:#875f1b;text-decoration:underline;text-underline-offset:3px}
.cebes-article-nav{max-width:1100px;margin-top:54px;padding-top:28px;border-top:1px solid #d9d7d1;display:grid;grid-template-columns:1fr 1fr;gap:28px}
.cebes-article-nav span{display:block;font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#86939b;margin-bottom:7px}
.cebes-article-nav a{font-weight:700;color:var(--cebes-navy)!important;line-height:1.45}
.cebes-article-nav .is-next{text-align:right}
.cebes-related{padding:70px 0 10px}
.cebes-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cebes-related-card{overflow:hidden;border:1px solid #dedbd4;border-radius:15px;background:#fff}
.cebes-related-media{display:block;aspect-ratio:16/9;overflow:hidden}
.cebes-related-media img{width:100%;height:100%;object-fit:cover}
.cebes-related-card>div{padding:18px}
.cebes-related-card h3{font-size:20px;margin:0 0 10px;color:var(--cebes-navy)}
.cebes-related-card p{font-size:14px;line-height:1.55;color:#65727d;margin:0 0 14px}

/* Library */
.cebes-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}
.cebes-library-card{display:flex;flex-direction:column;min-width:0}
.cebes-library-cover{aspect-ratio:4/5.6;border:1px solid #d8d5ce;border-radius:14px;overflow:hidden;background:#e7e7e6;box-shadow:0 10px 28px rgba(7,29,49,.05)}
.cebes-library-cover img{width:100%;height:100%;object-fit:cover}
.cebes-library-copy{padding:15px 2px 0;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.cebes-library-type{font-size:11px;color:#9b7330;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:6px}
.cebes-library-copy h3{font-size:19px;line-height:1.25;margin:0 0 8px;color:var(--cebes-navy)}
.cebes-library-copy p{font-size:14px;color:#65727d;line-height:1.5;margin:0 0 12px}
.cebes-library-price{font-size:16px;font-weight:760;color:var(--cebes-navy);margin:2px 0 14px}
.cebes-library-copy .cebes-btn{width:100%;min-height:48px;padding:0 16px;margin-top:auto}
.cebes-library-empty{display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px;text-align:left;align-items:center}
.cebes-library-empty img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.cebes-store-section{background:#fff!important;border-top:1px solid #e3e0d9}
.cebes-store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.cebes-store-card{overflow:hidden;background:#fff;border:1px solid #dddfe0;border-radius:15px;box-shadow:0 12px 30px rgba(7,29,49,.045)}
.cebes-store-media{display:block;aspect-ratio:1/1;background:#f0f1f1;overflow:hidden}
.cebes-store-media img{width:100%;height:100%;object-fit:cover}
.cebes-store-card>div{padding:18px}
.cebes-store-card h3{font-size:19px;margin:0 0 9px;color:var(--cebes-navy)}
.cebes-store-price{margin-bottom:14px;color:#405563}
.cebes-store-card .cebes-btn{width:100%;min-height:46px;padding:0 14px}

/* About */
.cebes-about-intro .cebes-content-heading{max-width:900px}
.cebes-about-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1040px;margin:34px auto 0}
.cebes-about-pillars article{background:var(--cebes-navy);color:#fff;border-radius:15px;padding:24px;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end}
.cebes-about-pillars span{width:44px;height:44px;display:grid;place-items:center;color:var(--cebes-gold);margin-bottom:18px}
.cebes-about-pillars svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.5}
.cebes-about-pillars h3{font-size:19px;line-height:1.25;margin:0;color:#fff}
.cebes-doctrine-section{background:#fff!important}
.cebes-doctrine-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;max-width:1100px;margin:0 auto}
.cebes-doctrine-item{display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--cebes-navy);color:#fff;border-radius:10px;padding:13px 16px;font-size:15px;font-weight:690}
.cebes-doctrine-item span:last-child{color:var(--cebes-gold);font-size:19px}
.cebes-pastor-section{background:linear-gradient(90deg,var(--cebes-navy) 0,var(--cebes-navy) 86%,#d5ad63 86%,#d5ad63 100%);padding:78px 0;color:#fff}
.cebes-pastor-grid{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);gap:58px;align-items:center;max-width:1160px}
.cebes-pastor-media{position:relative;max-width:420px;margin:auto}
.cebes-pastor-media::before{content:"";position:absolute;left:-18px;bottom:-18px;width:58%;height:58%;border:4px solid var(--cebes-gold);z-index:0}
.cebes-pastor-media img{position:relative;z-index:1;width:100%;aspect-ratio:4/5;object-fit:cover;background:#fff}
.cebes-pastor-placeholder{position:relative;z-index:1;width:100%;aspect-ratio:4/5;display:grid;place-items:center;background:#0b2b47;border:1px solid rgba(255,255,255,.18)}
.cebes-pastor-placeholder img{width:72%;height:auto;aspect-ratio:auto;object-fit:contain;background:transparent}
.cebes-pastor-copy h2{font-size:clamp(32px,3vw,44px);color:#fff;margin-bottom:18px}
.cebes-pastor-copy .cebes-rich-copy{color:rgba(255,255,255,.84);font-size:16px;line-height:1.68;margin-bottom:24px}
.cebes-principles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cebes-principles-grid article{background:var(--cebes-navy);color:#fff;border-radius:13px;padding:22px 20px;text-align:center}
.cebes-principles-grid article:nth-child(n+5){grid-column:span 1}
.cebes-principles-grid h3{color:var(--cebes-gold);font-size:18px;margin:0 0 10px}
.cebes-principles-grid p{font-size:14px;line-height:1.55;color:rgba(255,255,255,.8);margin:0}
.cebes-learning-section{background:#f8f7f4!important}
.cebes-learning-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:70px;align-items:center;max-width:1120px}
.cebes-learning-grid h2{font-size:clamp(36px,3vw,46px);color:var(--cebes-navy);margin:0}
.cebes-learning-grid>div{display:grid;gap:12px}
.cebes-learning-grid span{display:block;background:var(--cebes-gold);color:var(--cebes-navy);padding:16px 20px;border-radius:9px;font-weight:700}
.cebes-about-program-links{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:54px}
.cebes-about-program-links a{position:relative;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:17px;overflow:hidden;color:#fff!important;background:linear-gradient(rgba(7,29,49,.72),rgba(7,29,49,.76)),url('../images/library-teaser.webp') center/cover no-repeat}
.cebes-about-program-links a:last-child{background-image:linear-gradient(rgba(7,29,49,.72),rgba(7,29,49,.76)),url('../images/academic-hero.webp')}
.cebes-about-program-links strong{font-size:26px;margin-bottom:13px}
.cebes-about-program-links span{display:inline-flex;background:var(--cebes-gold);color:var(--cebes-navy);padding:10px 18px;border-radius:999px;font-weight:750}
.cebes-about-valientes{background:#6f0e24;color:#fff;padding:64px 0}
.cebes-about-valientes-grid{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:42px;align-items:center}
.cebes-about-valientes-copy>img{width:68px;height:68px;object-fit:contain;margin-bottom:16px}
.cebes-about-valientes-copy h2{font-size:36px;color:#fff;margin:0 0 14px}
.cebes-about-valientes-copy>p:not(.cebes-kicker){color:rgba(255,255,255,.82)}
.cebes-about-valientes-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cebes-about-valientes-cards article{background:#8f1732;border-radius:13px;overflow:hidden;padding-bottom:15px;text-align:center}
.cebes-about-valientes-cards img{width:100%;aspect-ratio:4/5;object-fit:cover}
.cebes-about-valientes-cards h3{font-size:17px;color:#fff;margin:14px 10px 10px}
.cebes-about-valientes-cards a{display:inline-flex;background:var(--cebes-gold);color:#4a0a19!important;border-radius:999px;padding:9px 15px;font-size:13px;font-weight:800}
.cebes-modal[hidden]{display:none!important}
.cebes-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:24px}
.cebes-modal-backdrop{position:absolute;inset:0;background:rgba(2,13,22,.72);backdrop-filter:blur(4px)}
.cebes-modal-panel{position:relative;z-index:1;width:min(760px,100%);max-height:min(760px,calc(100vh - 48px));overflow:auto;background:#fff;border-radius:20px;padding:34px 36px;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.cebes-modal-panel h2{font-size:34px;color:var(--cebes-navy);margin-bottom:18px}
.cebes-modal-panel .cebes-rich-copy{color:#526572;line-height:1.7}
.cebes-modal-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border-radius:50%;border:1px solid #d8d8d6;background:#fff;color:var(--cebes-navy);font-size:28px;line-height:1;cursor:pointer}
body.cebes-modal-open{overflow:hidden}

/* Contact */
.cebes-contact-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:50px;align-items:start;max-width:1180px}
.cebes-contact-info h2,.cebes-contact-card h2{font-size:36px;color:var(--cebes-navy);margin:0 0 12px}
.cebes-contact-methods{display:grid;gap:12px;margin:26px 0}
.cebes-contact-methods>a,.cebes-contact-methods>div{display:block;padding:18px 20px;border:1px solid #ddd8cf;border-radius:13px;background:#fff}
.cebes-contact-methods span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#9b7330;font-weight:800;margin-bottom:5px}
.cebes-contact-methods strong{font-size:16px;color:var(--cebes-navy)}
.cebes-contact-security{background:var(--cebes-navy);color:#fff;border-radius:15px;padding:20px}
.cebes-contact-security strong{color:var(--cebes-gold)}
.cebes-contact-security p{margin:7px 0 0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.55}
.cebes-contact-card{background:#fff;border:1px solid #dedad1;border-radius:20px;padding:30px 32px;box-shadow:0 18px 46px rgba(7,29,49,.06)}
.cebes-contact-card>p:not(.cebes-kicker){color:#65727d;margin-bottom:22px}
.cebes-contact-form{display:grid;gap:18px}
.cebes-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cebes-contact-form label span{display:block;color:var(--cebes-navy);font-size:14px;font-weight:720;margin-bottom:7px}
.cebes-contact-form input,.cebes-contact-form select,.cebes-contact-form textarea{width:100%;border:1px solid #d7d4cd;border-radius:11px;background:#fcfbf8;color:#0b2237;font:inherit;padding:13px 14px;outline:0}
.cebes-contact-form input,.cebes-contact-form select{height:52px}
.cebes-contact-form textarea{resize:vertical;min-height:150px}
.cebes-contact-form input:focus,.cebes-contact-form select:focus,.cebes-contact-form textarea:focus{border-color:#b98b3b;box-shadow:0 0 0 3px rgba(213,173,99,.16)}
.cebes-contact-form .cebes-btn{justify-self:start;min-width:190px}
.cebes-form-privacy{font-size:12px;color:#7a878f;margin:0}
.cebes-honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.cebes-form-notice{display:grid;gap:3px;margin:0 0 20px;padding:15px 17px;border-radius:12px;font-size:14px}
.cebes-form-notice.is-success{background:#eaf6ed;border:1px solid #bfdfc7;color:#1b6a2d}
.cebes-form-notice.is-error{background:#fff1ee;border:1px solid #ebc3bb;color:#9b2f1f}

/* Footer harmony */
.cebes-content-footer{margin-top:0}

@media(max-width:1100px){
  .cebes-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cebes-library-grid,.cebes-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cebes-principles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cebes-pastor-grid{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr)}
  .cebes-about-valientes-grid{grid-template-columns:1fr}
}
@media(max-width:820px){
  .cebes-content-hero{padding:58px 0 64px}
  .cebes-content-section{padding:58px 0}
  .cebes-related-grid{grid-template-columns:1fr}
  .cebes-library-grid,.cebes-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cebes-about-pillars{grid-template-columns:1fr}
  .cebes-doctrine-grid{grid-template-columns:1fr}
  .cebes-pastor-section{background:var(--cebes-navy)}
  .cebes-pastor-grid,.cebes-learning-grid,.cebes-contact-layout{grid-template-columns:1fr}
  .cebes-pastor-media{max-width:360px}
  .cebes-about-program-links{grid-template-columns:1fr}
  .cebes-about-valientes-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cebes-library-empty{grid-template-columns:1fr}
  .cebes-library-empty img{max-width:430px}
}
@media(max-width:620px){
  .cebes-content-hero h1{font-size:38px}
  .cebes-content-hero p:not(.cebes-kicker){font-size:17px}
  .cebes-archive-grid{grid-template-columns:1fr}
  .cebes-library-grid,.cebes-store-grid{grid-template-columns:1fr 1fr;gap:24px 14px}
  .cebes-library-copy h3{font-size:17px}
  .cebes-library-copy p{display:none}
  .cebes-library-copy .cebes-btn{font-size:14px;padding:0 10px}
  .cebes-article-hero{padding:46px 0 76px}
  .cebes-article-hero h1{font-size:36px}
  .cebes-article-featured{margin-top:-40px}
  .cebes-article-featured img{border-radius:14px}
  .cebes-article-layout{padding-top:36px}
  .cebes-article-content{font-size:17px}
  .cebes-article-content h2{font-size:28px}
  .cebes-article-nav{grid-template-columns:1fr}
  .cebes-article-nav .is-next{text-align:left}
  .cebes-principles-grid{grid-template-columns:1fr}
  .cebes-about-valientes-cards{grid-template-columns:1fr}
  .cebes-form-grid{grid-template-columns:1fr}
  .cebes-contact-card{padding:24px 20px}
  .cebes-modal-panel{padding:30px 22px}
}
@media(max-width:420px){
  .cebes-library-grid,.cebes-store-grid{grid-template-columns:1fr}
  .cebes-library-cover{aspect-ratio:4/5.2}
  .cebes-library-copy p{display:block}
}

/* CEBES Core 0.16.2 — refinamientos editoriales */
/* Contacto: sólo canales accionables y affordance clara */
.cebes-contact-methods>a{position:relative;padding-right:58px;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.cebes-contact-methods>a i{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f4ead6;color:var(--cebes-navy);font-style:normal;font-size:18px;transition:transform .2s ease,background .2s ease,color .2s ease}
.cebes-contact-methods>a:hover,.cebes-contact-methods>a:focus-visible{transform:translateY(-3px);border-color:var(--cebes-gold);background:#fffdf8;box-shadow:0 14px 30px rgba(7,29,49,.09);outline:none}
.cebes-contact-methods>a:hover i,.cebes-contact-methods>a:focus-visible i{transform:translate(3px,-50%);background:var(--cebes-gold);color:var(--cebes-navy)}

/* Artículo: escala editorial más contenida y cómoda */
.cebes-article-hero{padding:52px 0 82px}
.cebes-article-hero-inner{max-width:900px}
.cebes-article-hero h1{font-size:clamp(34px,3.35vw,52px);line-height:1.08;max-width:860px;text-wrap:balance}
.cebes-article-deck{font-size:17px;max-width:720px}
.cebes-article-featured{margin-top:-44px;max-width:980px}
.cebes-article-featured img{display:block;max-height:470px;aspect-ratio:16/8.2;object-fit:cover}
.cebes-article-layout{max-width:820px;padding-top:46px}
.cebes-article-content{font-size:17px;line-height:1.7}
.cebes-article-content p,.cebes-article-content ul,.cebes-article-content ol{margin-bottom:16px}
.cebes-article-content h2{font-size:30px;margin:34px 0 12px}
.cebes-article-content h3{font-size:24px;margin:28px 0 10px}
body.cebes-article-v2 .cebes-article-content a:not(.wp-element-button){color:#8d6725!important;text-decoration-color:rgba(141,103,37,.45)!important}
body.cebes-article-v2 .cebes-article-content a:not(.wp-element-button):hover{color:var(--cebes-navy)!important}

/* Declaración de fe: 12 desplegables reales */
.cebes-doctrine-item{display:block;padding:0;overflow:hidden;font-weight:600}
.cebes-doctrine-item summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 17px;cursor:pointer;user-select:none}
.cebes-doctrine-item summary::-webkit-details-marker{display:none}
.cebes-doctrine-item summary:focus-visible{outline:2px solid var(--cebes-gold);outline-offset:-3px}
.cebes-doctrine-toggle{flex:0 0 28px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--cebes-gold)!important;background:rgba(255,255,255,.07);font-size:21px!important;font-weight:400;transition:transform .2s ease,background .2s ease}
.cebes-doctrine-item[open] .cebes-doctrine-toggle{transform:rotate(45deg);background:rgba(213,173,99,.16)}
.cebes-doctrine-answer{padding:0 17px 16px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.6;border-top:1px solid rgba(255,255,255,.08)}
.cebes-doctrine-answer p{margin:12px 0 0}

/* Seis principios = dos filas de tres */
.cebes-principles-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cebes-principles-grid article{min-height:190px;display:flex;flex-direction:column;justify-content:center;padding:26px 24px;transition:transform .2s ease,box-shadow .2s ease}
.cebes-principles-grid article:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(7,29,49,.12)}
.cebes-principles-grid h3{font-size:20px}
.cebes-principles-grid p{font-size:15px}

/* Aprendizaje: puntos informativos que no parecen botones */
.cebes-learning-points{display:grid;gap:12px}
.cebes-learning-grid .cebes-learning-points span{display:flex;align-items:center;gap:13px;background:#fff;color:var(--cebes-navy);padding:16px 18px;border:1px solid #ddd7ca;border-left:4px solid var(--cebes-gold);border-radius:11px;font-weight:700;box-shadow:0 8px 22px rgba(7,29,49,.035)}
.cebes-learning-points i{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f5ead2;color:#8c641e;font-style:normal;font-weight:900}

/* Tarjetas de Talleres / Diplomados: lectura premium y hover inequívoco */
.cebes-about-program-links{gap:28px}
.cebes-about-program-links .cebes-about-program-card{background-image:linear-gradient(115deg,rgba(7,29,49,.91),rgba(7,29,49,.56)),var(--cebes-program-image);background-position:center;background-size:cover;border:1px solid rgba(213,173,99,.28);box-shadow:0 18px 38px rgba(7,29,49,.12);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.cebes-about-program-links .cebes-about-program-card::after{content:"";position:absolute;inset:12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;pointer-events:none}
.cebes-about-program-links .cebes-about-program-card:hover{transform:translateY(-5px);box-shadow:0 26px 52px rgba(7,29,49,.2);border-color:var(--cebes-gold)}
.cebes-about-program-links .cebes-about-program-card small{position:relative;z-index:1;color:var(--cebes-gold);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.cebes-about-program-links .cebes-about-program-card strong{position:relative;z-index:1;font-size:28px}
.cebes-about-program-links .cebes-about-program-card span{position:relative;z-index:1;transition:transform .2s ease,background .2s ease}
.cebes-about-program-links .cebes-about-program-card:hover span{transform:translateY(-1px);background:#e2bb70}
.cebes-about-program-links .cebes-about-program-card span b{font-weight:700;margin-left:5px}

/* Valientes: misma lógica visual de las cuatro tarjetas del Home */
.cebes-about-valientes{background:#5e0f23;color:#fff;padding:clamp(72px,7vw,96px) 0;position:relative;overflow:hidden}
.cebes-about-valientes::before{content:"";position:absolute;left:-96px;top:50%;width:520px;height:520px;transform:translateY(-50%);background:url('../images/valientes-mark.png') center/contain no-repeat;opacity:.075;pointer-events:none}
.cebes-about-valientes::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(53,4,18,.2),rgba(94,15,35,.02) 46%,rgba(125,17,44,.22));pointer-events:none}
.cebes-about-valientes-grid{grid-template-columns:minmax(300px,.62fr) minmax(0,1.38fr);gap:clamp(44px,6vw,82px);position:relative;z-index:1}
.cebes-about-valientes-copy{max-width:500px}
.cebes-about-valientes-copy>img{width:76px;height:76px}
.cebes-about-valientes-copy h2{font-size:clamp(34px,3vw,46px)}
.cebes-about-valientes-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.cebes-about-valientes-item{display:flex;flex-direction:column;gap:14px;align-items:center}
.cebes-about-valientes-visual{display:block;width:100%;border-radius:16px;overflow:hidden;background:rgba(0,0,0,.12);box-shadow:0 18px 42px rgba(0,0,0,.20);transition:transform .24s ease,box-shadow .24s ease}
.cebes-about-valientes-visual:hover{transform:translateY(-5px);box-shadow:0 24px 52px rgba(0,0,0,.28)}
.cebes-about-valientes-visual img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}
.cebes-about-valientes-item .cebes-btn{width:100%}

/* Popup del pastor */
.cebes-modal-panel{padding:38px 42px}
.cebes-modal-panel .cebes-rich-copy p{margin:0 0 16px}
.cebes-modal-panel .cebes-rich-copy p:last-child{margin-bottom:0}
.cebes-modal-close{right:18px;top:18px;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:0!important;margin:0!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.24)!important;background:var(--cebes-navy)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:28px!important;line-height:1!important;box-shadow:0 8px 18px rgba(7,29,49,.14);appearance:none}
.cebes-modal-close:hover{background:#12334f!important;color:var(--cebes-gold)!important;transform:none!important}
.cebes-modal-close span{display:block;line-height:1;transform:translateY(-1px)}

@media(max-width:1100px){
  .cebes-principles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cebes-about-valientes-grid{grid-template-columns:1fr}
  .cebes-about-valientes-copy{max-width:760px}
  .cebes-about-valientes-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:820px){
  .cebes-article-featured{max-width:calc(100% - 36px)}
  .cebes-about-valientes-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .cebes-article-hero{padding:42px 0 66px}
  .cebes-article-hero h1{font-size:32px;line-height:1.12}
  .cebes-article-featured{margin-top:-34px;max-width:calc(100% - 28px)}
  .cebes-article-featured img{aspect-ratio:16/9;max-height:none}
  .cebes-article-layout{padding-top:32px}
  .cebes-article-content{font-size:16.5px;line-height:1.68}
  .cebes-principles-grid{grid-template-columns:1fr}
  .cebes-about-valientes-cards{grid-template-columns:1fr 1fr}
  .cebes-modal-panel{padding:34px 22px 28px}
  .cebes-modal-panel h2{font-size:29px;padding-right:42px}
}
@media(max-width:420px){
  .cebes-about-valientes-cards{grid-template-columns:1fr}
}
/* Specificity guards for 0.16.2 components */
.cebes-about-program-links .cebes-about-program-card{background-image:linear-gradient(115deg,rgba(7,29,49,.91),rgba(7,29,49,.56)),var(--cebes-program-image)!important}
.cebes-about-valientes-cards .cebes-about-valientes-item{background:transparent;border-radius:0;overflow:visible;padding:0;text-align:center}
.cebes-about-valientes-cards .cebes-about-valientes-visual{display:block;width:100%;padding:0;background:rgba(0,0,0,.12);border-radius:16px;color:inherit!important}
.cebes-about-valientes-cards .cebes-about-valientes-visual:hover{transform:translateY(-5px)}
.cebes-about-valientes-cards .cebes-btn-valientes{display:inline-flex;width:100%;min-height:48px;align-items:center;justify-content:center;background:var(--cebes-gold);color:#4a0a19!important;border-radius:999px;padding:9px 15px;font-size:14px;font-weight:800}

/* CEBES Core 0.16.3 — lectura, Biblioteca y Nosotros */
/* Nosotros: cada acordeón conserva su propia altura; abrir uno no estira al vecino. */
.cebes-doctrine-grid{align-items:start}
.cebes-doctrine-item{align-self:start;width:100%;box-sizing:border-box}
body.cebes-about-v2 .cebes-center-action{margin-top:48px}

/* Artículo individual: aprovechar mejor laptop/tablet sin perder una medida editorial legible. */
.cebes-article-hero{padding:50px 0 78px}
.cebes-article-hero-inner{max-width:1160px}
.cebes-article-hero h1{font-size:clamp(36px,2.85vw,48px);line-height:1.09;max-width:1120px;text-wrap:balance}
.cebes-article-deck{font-size:18px;max-width:900px}
.cebes-article-featured{max-width:1180px;margin-top:-42px}
.cebes-article-featured img{max-height:520px;aspect-ratio:16/7.9}
.cebes-article-layout{max-width:980px;padding-top:50px}
.cebes-article-content{font-size:18px;line-height:1.72}
.cebes-article-content p,.cebes-article-content ul,.cebes-article-content ol{margin-bottom:20px}
.cebes-article-content h2{font-size:32px;margin:38px 0 14px}
.cebes-article-content h3{font-size:25px;margin:30px 0 11px}
.cebes-article-nav{max-width:1180px}

/* Biblioteca: ficha editorial compacta, informativa y visualmente premium. */
.cebes-library-grid{gap:34px 24px;align-items:stretch}
.cebes-library-card{background:#fff;border:1px solid #e0ddd6;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px rgba(7,29,49,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.cebes-library-card:hover{transform:translateY(-4px);box-shadow:0 22px 46px rgba(7,29,49,.10);border-color:#d5ad63}
.cebes-library-cover{border:0;border-radius:0;box-shadow:none;background:#eeeae2;aspect-ratio:4/5.15}
.cebes-library-cover img{object-fit:cover;transition:transform .3s ease}
.cebes-library-card:hover .cebes-library-cover img{transform:scale(1.018)}
.cebes-library-copy{padding:19px 19px 20px}
.cebes-library-copy h3{font-size:20px;line-height:1.22;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cebes-library-author{font-size:14px!important;line-height:1.45!important;color:#435969!important;margin:0 0 10px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cebes-library-author strong{color:var(--cebes-navy)}
.cebes-library-meta{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.cebes-library-meta span{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;background:#f6efe2;color:#7c5c24;font-size:11px;font-weight:760;line-height:1.2}
.cebes-library-summary{font-size:13.5px!important;line-height:1.5!important;color:#65727d!important;margin:0 0 14px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cebes-library-price{margin-top:2px}
.cebes-library-copy .cebes-btn{margin-top:auto}

@media(max-width:1180px){
  .cebes-article-hero-inner{max-width:1000px}
  .cebes-article-hero h1{max-width:980px;font-size:clamp(35px,3.5vw,46px)}
  .cebes-article-featured{max-width:calc(100% - 72px)}
  .cebes-article-layout{max-width:900px}
}
@media(max-width:900px){
  .cebes-article-hero-inner{max-width:760px}
  .cebes-article-hero h1{font-size:clamp(34px,5vw,43px);max-width:760px}
  .cebes-article-deck{max-width:700px}
  .cebes-article-layout{max-width:calc(100% - 72px)}
  .cebes-article-content{font-size:17.5px}
}
@media(max-width:620px){
  body.cebes-about-v2 .cebes-center-action{margin-top:36px}
  .cebes-article-hero-inner{max-width:none}
  .cebes-article-hero h1{font-size:31px;line-height:1.12}
  .cebes-article-deck{font-size:16.5px}
  .cebes-article-layout{max-width:none}
  .cebes-article-content{font-size:16.5px;line-height:1.7}
  .cebes-library-card{border-radius:15px}
}
.cebes-related-card h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}

/* =========================================================
   CEBES Core 0.16.4 — hover y pulido responsivo editorial
   ========================================================= */
/* Principios: respuesta visual premium, claramente informativa y no “botón”. */
.cebes-principles-grid article{position:relative;overflow:hidden;border:1px solid rgba(213,173,99,.10);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background-color .24s ease}
.cebes-principles-grid article::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,var(--cebes-gold),transparent);transform:scaleX(.22);opacity:0;transition:transform .24s ease,opacity .24s ease}
.cebes-principles-grid article:hover{transform:translateY(-5px);border-color:rgba(213,173,99,.42);background:#0a2741;box-shadow:0 22px 44px rgba(7,29,49,.16)}
.cebes-principles-grid article:hover::before{transform:scaleX(.78);opacity:1}
.cebes-principles-grid article:hover h3{color:#e6bd70}

.cebes-about-valientes-label{display:none;margin:0;color:#fff;font-size:15px;line-height:1.3;text-align:center;font-weight:650}

@media(max-width:680px){
  /* Principios: menor altura y densidad más natural en teléfono. */
  .cebes-principles-grid{gap:12px}
  .cebes-principles-grid article{min-height:0;padding:20px 18px;border-radius:12px}
  .cebes-principles-grid h3{font-size:18px;margin-bottom:7px}
  .cebes-principles-grid p{font-size:14px;line-height:1.5}

  /* Valientes en Nosotros: misma lógica compacta 2×2 del Home. */
  .cebes-about-valientes{padding:54px 0 58px}
  .cebes-about-valientes-grid{gap:30px}
  .cebes-about-valientes-copy>img{width:58px;height:58px;margin-bottom:12px}
  .cebes-about-valientes-copy h2{font-size:30px;line-height:1.12;margin-bottom:12px}
  .cebes-about-valientes-copy>p:not(.cebes-kicker){font-size:15.5px;line-height:1.55}
  .cebes-about-valientes-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px}
  .cebes-about-valientes-item{gap:9px!important;min-width:0}
  .cebes-about-valientes-visual{border-radius:13px!important;box-shadow:0 12px 28px rgba(0,0,0,.18)}
  .cebes-about-valientes-visual img{aspect-ratio:16/11!important;height:auto!important;object-fit:cover!important;object-position:center 38%}
  .cebes-about-valientes-label{display:flex;align-items:center;justify-content:center;min-height:35px;font-size:13.5px}
  .cebes-about-valientes-cards .cebes-btn-valientes{min-height:44px!important;padding:8px 10px!important;font-size:13px!important}

  /* Biblioteca: dos fichas editoriales compactas, sin “zoom” de portada entre secciones. */
  .cebes-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
  .cebes-library-card{border-radius:14px!important;min-width:0}
  .cebes-library-cover{aspect-ratio:1/1.12!important;padding:9px;background:#f1eee8}
  .cebes-library-cover img{width:100%;height:100%;object-fit:contain!important;transform:none!important}
  .cebes-library-copy{padding:13px 12px 14px}
  .cebes-library-type{font-size:10px!important;letter-spacing:.07em}
  .cebes-library-copy h3{font-size:15.5px!important;line-height:1.22;margin:6px 0 8px;-webkit-line-clamp:3}
  .cebes-library-author{font-size:12.5px!important;line-height:1.35!important;margin-bottom:8px!important;-webkit-line-clamp:2}
  .cebes-library-meta{gap:5px;margin-bottom:9px}
  .cebes-library-meta span{min-height:24px;padding:4px 7px;font-size:9.5px}
  .cebes-library-summary{display:none!important}
  .cebes-library-price{font-size:13px}
  .cebes-library-copy .cebes-btn{min-height:42px;padding:0 8px;font-size:12.5px;width:100%;justify-content:center}
}

@media(max-width:360px){
  .cebes-about-valientes-label{font-size:12.5px;min-height:33px}
  .cebes-about-valientes-cards .cebes-btn-valientes{font-size:12px!important;padding-inline:7px!important}
  .cebes-library-grid{gap:16px 9px!important}
  .cebes-library-cover{padding:7px}
  .cebes-library-copy{padding:11px 9px 12px}
  .cebes-library-copy h3{font-size:14.5px!important}
  .cebes-library-author{font-size:12px!important}
}

@media(max-width:320px){
  .cebes-library-grid{grid-template-columns:1fr!important}
  .cebes-library-card{max-width:250px;margin-inline:auto;width:100%}
  .cebes-library-cover{aspect-ratio:4/4.7!important}
}

/* 0.16.5 — títulos compactos de Valientes + herramientas del blog */
@media(max-width:620px){
  .cebes-about-valientes-label{font-size:12px!important;line-height:1.18!important;min-height:29px!important;font-weight:600!important;margin:0!important;padding:0 3px!important}
  .cebes-about-valientes-item{gap:8px!important}
}
@media(max-width:390px){.cebes-about-valientes-label{font-size:11.25px!important;min-height:27px!important}}

.cebes-blog-tools{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(170px,.7fr) minmax(170px,.7fr) auto;gap:12px;align-items:end;margin:0 0 30px;padding:18px;border:1px solid #dedbd5;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(7,29,49,.035)}
.cebes-blog-tools label{display:grid;gap:7px;color:#526274;font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.cebes-blog-tools input,.cebes-blog-tools select{width:100%;min-height:48px;border:1px solid #cfd5da;border-radius:10px;background:#fff;color:var(--cebes-navy);padding:0 13px;font:inherit;font-size:15px;font-weight:500;letter-spacing:0;text-transform:none}
.cebes-blog-tools input:focus,.cebes-blog-tools select:focus{outline:2px solid rgba(181,139,63,.3);border-color:#b58b3f}
.cebes-blog-tools .cebes-btn{min-height:48px;padding-inline:22px}
.cebes-blog-clear{grid-column:1/-1;justify-self:end;color:#687788!important;font-size:13px;font-weight:700}
.cebes-blog-results{margin:-12px 0 22px;color:#687788;font-size:14px;font-weight:650}
.cebes-article-cta{margin:54px 0 8px;padding:28px 30px;border:1px solid #dfd2b7;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#f4ead8);box-shadow:0 14px 34px rgba(7,29,49,.05)}
.cebes-article-cta h2{margin:4px 0 12px!important;font-size:clamp(25px,2.2vw,34px)!important;color:var(--cebes-navy)!important}
.cebes-article-cta>p:not(.cebes-kicker){margin-bottom:18px!important}
@media(max-width:900px){.cebes-blog-tools{grid-template-columns:1fr 1fr}.cebes-blog-search{grid-column:1/-1}.cebes-blog-tools .cebes-btn{width:100%}}
@media(max-width:620px){.cebes-blog-tools{grid-template-columns:1fr;padding:15px}.cebes-blog-search{grid-column:auto}.cebes-blog-clear{grid-column:auto;justify-self:start}.cebes-article-cta{padding:22px 20px;margin-top:40px}}

/* =========================================================
   CEBES Core 0.16.6 — biblioteca, blog y Valientes
   ========================================================= */
/* Biblioteca: hero con mejor aprovechamiento de escritorio. En móvil conserva el ritmo anterior. */
.cebes-library-hero{padding:72px 0 78px}
.cebes-library-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.75fr);gap:clamp(52px,6vw,96px);align-items:center}
.cebes-library-hero-copy{text-align:left;max-width:760px}
.cebes-library-hero-copy h1{margin:0 0 18px;max-width:720px;font-size:clamp(44px,4.2vw,64px);line-height:1.04;color:#fff}
.cebes-library-hero-copy>p:not(.cebes-kicker){max-width:720px;margin:0;color:rgba(255,255,255,.82);font-size:18px;line-height:1.58}
.cebes-library-hero-media{justify-self:end;width:100%;max-width:470px;position:relative;padding:0 14px 14px 0}
.cebes-library-hero-media::before{content:"";position:absolute;inset:14px 0 0 14px;border:2px solid rgba(213,173,99,.78);border-radius:20px}
.cebes-library-hero-media img{position:relative;z-index:1;width:100%;height:300px;object-fit:cover;border-radius:18px;box-shadow:0 22px 48px rgba(0,0,0,.14)}
.cebes-library-filters{display:flex;flex-wrap:wrap;gap:9px;margin:-6px 0 32px}
.cebes-library-filters a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid #d9d6cf;border-radius:999px;background:#fff;color:var(--cebes-navy)!important;font-size:13px;font-weight:720;text-decoration:none!important;transition:.2s ease}
.cebes-library-filters a span{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#f3ecdf;color:#8b6523;font-size:11px}
.cebes-library-filters a:hover,.cebes-library-filters a.is-active{background:var(--cebes-navy);border-color:var(--cebes-navy);color:#fff!important;transform:translateY(-1px)}
.cebes-library-filters a:hover span,.cebes-library-filters a.is-active span{background:rgba(213,173,99,.22);color:#f0c978}

/* Blog: el hero usa más ancho en desktop para no sentirse aislado frente al Home. */
@media(min-width:901px){
  .cebes-blog-hero .cebes-content-hero-inner{max-width:1180px;text-align:left}
  .cebes-blog-hero .cebes-content-hero-inner h1{max-width:1040px;margin-left:0;margin-right:0;font-size:clamp(46px,4vw,62px)}
  .cebes-blog-hero .cebes-content-hero-inner>p:not(.cebes-kicker){max-width:900px;margin-left:0;margin-right:0}
}

/* Artículo: portada un poco menos dominante y CTA de formación más amable/legible. */
.cebes-article-featured{max-width:1060px}
.cebes-article-featured img{max-height:460px;aspect-ratio:16/7.6}
.cebes-article-cta{background:linear-gradient(135deg,#fffaf1,#f7efe1);border-color:#e0cfad}
.cebes-article-cta>p:not(.cebes-kicker){color:#32495b!important}
.cebes-article-cta-verse{display:inline-block;margin-top:-2px!important;padding:8px 12px;border-left:3px solid var(--cebes-gold);background:rgba(213,173,99,.11);border-radius:0 8px 8px 0;font-size:14px!important;color:#586a78!important}
.cebes-article-cta .cebes-btn-gold{color:#071d31!important;background:#ddb461!important}
.cebes-article-cta .cebes-btn-gold:hover{background:#efc978!important;color:#071d31!important}

/* Valientes: fondo editable + arte específico para móvil proporcionado por diseño. */
.cebes-about-valientes,.cebes-valientes-section{background-color:#6f0e24!important;background-image:linear-gradient(90deg,rgba(74,5,22,.18),rgba(111,14,36,.02) 52%,rgba(95,8,30,.12)),var(--cebes-valientes-bg)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:cover!important}
.cebes-about-valientes::before,.cebes-valientes-section::before{display:none!important}
.cebes-about-valientes-visual picture,.cebes-valientes-visual picture{display:block;width:100%;height:100%}
@media(max-width:820px){
  .cebes-library-hero-grid{grid-template-columns:1fr;gap:28px}
  .cebes-library-hero-copy{text-align:center;max-width:760px;margin-inline:auto}
  .cebes-library-hero-copy h1{margin-left:auto;margin-right:auto}
  .cebes-library-hero-copy>p:not(.cebes-kicker){margin-left:auto;margin-right:auto}
  .cebes-library-hero-media{display:none}
}
@media(max-width:680px){
  .cebes-about-valientes,.cebes-valientes-section{background-image:linear-gradient(90deg,rgba(74,5,22,.13),rgba(111,14,36,.03)),var(--cebes-valientes-bg-mobile)!important;background-position:center top!important}
  .cebes-library-filters{gap:7px;margin-bottom:24px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px;scrollbar-width:thin}
  .cebes-library-filters a{flex:0 0 auto;min-height:38px;padding:7px 11px;font-size:12px}
}


/* CEBES Core 0.16.7 — ancho editorial, Blog y Valientes */
@media (min-width: 900px){
  .cebes-content-hero-inner{max-width:1240px!important;text-align:center!important}
  .cebes-content-hero h1{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;text-wrap:balance}
  .cebes-content-hero p:not(.cebes-kicker){max-width:980px!important;margin-left:auto!important;margin-right:auto!important}
  .cebes-blog-hero .cebes-content-hero-inner{max-width:1240px!important;text-align:center!important}
  .cebes-blog-hero .cebes-content-hero-inner h1{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}
  .cebes-blog-hero .cebes-content-hero-inner>p:not(.cebes-kicker){max-width:960px!important;margin-left:auto!important;margin-right:auto!important}
  .cebes-article-layout{max-width:1080px!important}
  .cebes-article-featured{max-width:960px!important}
  .cebes-article-featured img{max-height:420px!important;aspect-ratio:16/7.2!important}
}
.cebes-article-cta .cebes-btn.cebes-btn-gold,.cebes-article-cta .cebes-btn-gold:visited{background:#d7ad58!important;color:#071d31!important;text-shadow:none!important;border-color:#d7ad58!important}
.cebes-article-cta .cebes-btn.cebes-btn-gold:hover,.cebes-article-cta .cebes-btn.cebes-btn-gold:focus-visible{background:#071d31!important;color:#fff!important;border-color:#071d31!important}
.cebes-about-valientes{background-color:#6f0e24!important;background-image:var(--cebes-valientes-bg)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:cover!important}
.cebes-about-valientes::before{display:none!important}
.cebes-about-valientes-copy>img{display:none!important}
@media(max-width:820px){.cebes-about-valientes{background-image:var(--cebes-valientes-bg-mobile,var(--cebes-valientes-bg))!important}}

/* =========================================================
   CEBES Core 0.16.8 — microinteracciones editoriales
   ========================================================= */
/* Paginación: todos los controles deben comunicar que son interactivos. */
.cebes-pagination .page-numbers{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.cebes-pagination a.page-numbers:hover,
.cebes-pagination a.page-numbers:focus-visible{
  background:var(--cebes-navy)!important;
  color:#fff!important;
  border-color:var(--cebes-navy)!important;
  transform:translateY(-2px);
  box-shadow:0 9px 20px rgba(7,29,49,.12);
  outline:none;
}

/* Nosotros: CTA a todos los artículos con un hover claramente visible. */
.cebes-center-action .cebes-btn-outline-navy{
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.cebes-center-action .cebes-btn-outline-navy:hover,
.cebes-center-action .cebes-btn-outline-navy:focus-visible{
  background:var(--cebes-navy)!important;
  color:#fff!important;
  border-color:var(--cebes-navy)!important;
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(7,29,49,.13);
  outline:none;
}

/* Valientes: el CTA responde tanto en Home como en Nosotros. */
.cebes-about-valientes-cards .cebes-btn-valientes,
.cebes-valientes-section .cebes-btn-valientes{
  transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.cebes-about-valientes-cards .cebes-btn-valientes:hover,
.cebes-about-valientes-cards .cebes-btn-valientes:focus-visible,
.cebes-valientes-section .cebes-btn-valientes:hover,
.cebes-valientes-section .cebes-btn-valientes:focus-visible{
  background:#f1ca78!important;
  color:#3e0815!important;
  transform:translateY(-2px);
  box-shadow:0 11px 24px rgba(0,0,0,.18)!important;
  outline:none;
}

/* CTA de artículo: fuerza contraste del texto también durante hover/focus. */
.cebes-article-cta .cebes-btn.cebes-btn-gold,
.cebes-article-cta .cebes-btn.cebes-btn-gold:visited{
  -webkit-text-fill-color:#071d31!important;
  opacity:1!important;
}
.cebes-article-cta .cebes-btn.cebes-btn-gold:hover,
.cebes-article-cta .cebes-btn.cebes-btn-gold:focus-visible{
  background:#071d31!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#071d31!important;
  text-shadow:none!important;
  opacity:1!important;
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(7,29,49,.18)!important;
}
