/*
Theme Name: RAP-E Intranet
Theme URI: https://regioncentralrape.gov.co/
Author: RAP-E Región Central
Description: Tema independiente, liviano y accesible para la Intranet RAP-E.
Version: 1.26.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rape-intranet
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    --ink: #1c2343;
    --muted: #667085;
    --green: #0d8944;
    --deep: #1c2343;
    --dark-green: #005028;
    --teal: #09a4de;
    --yellow: #fcc300;
    --red: #d83339;
    --wine: #931211;
    --blue: #09a4de;
    --surface: #ffffff;
    --soft: #f3f8f7;
    --line: #e2ecea;
    --shadow: 0 18px 50px rgba(7, 59, 63, .10);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.6; }
h1, h2, h3, h4, .button, .eyebrow, .brand-copy { font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-shell { min-height: 100vh; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--deep); color: #dff8f1; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.site-header { background: #fff; border-bottom: 1px solid #e7edf2; position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 390px; }
.brand-logo { display: block; width: 188px; max-height: 52px; object-fit: contain; object-position: left center; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px 14px 14px 4px; background: conic-gradient(from 220deg, var(--green), var(--teal), var(--yellow), var(--green)); position: relative; box-shadow: 0 5px 14px rgba(13,139,104,.22); }
.brand-mark:after { content: ""; position: absolute; width: 22px; height: 16px; left: 10px; top: 12px; border-radius: 100% 0 100% 0; background: rgba(255,255,255,.86); transform: rotate(-30deg); }
.brand-copy { padding-left: 22px; border-left: 1px solid #d7ded9; color: #385046; line-height: 1.1; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.main-nav { display: flex; gap: 22px; flex: 1; align-items: center; font-size: 14px; color: var(--deep); }
.main-nav a { padding: 28px 0 25px; border-bottom: 3px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--green); border-color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-mini { display: flex; background: #f2f5f8; border: 1px solid #e3e9ef; border-radius: 999px; overflow: hidden; }
.search-mini input { border: 0; outline: 0; padding: 11px 14px; width: 175px; background: transparent; color: var(--deep); }
.search-mini input::placeholder { color: #7b8794; }
.search-mini button { border: 0; background: transparent; padding: 0 13px; cursor: pointer; color: var(--yellow); }
.user-chip { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--dark-green); color: #fff; font-weight: 800; }
.mobile-toggle { display: none; border: 0; background: none; font-size: 24px; color: #fff; }

.hero { margin: 30px 0 22px; border-radius: 28px; min-height: 330px; overflow: hidden; position: relative; background: linear-gradient(118deg, var(--deep) 0%, var(--dark-green) 52%, var(--green) 100%); background-size: cover; background-position: center; color: #fff; box-shadow: var(--shadow); }
.hero:before { content: ""; position: absolute; inset: 0; opacity: .26; background: radial-gradient(circle at 72% 42%, #fff 0 2px, transparent 3px), radial-gradient(circle at 78% 56%, #fff 0 2px, transparent 3px), linear-gradient(140deg, transparent 45%, rgba(255,255,255,.28) 45.4%, transparent 46%), linear-gradient(32deg, transparent 55%, rgba(255,255,255,.18) 55.3%, transparent 56%); background-size: 180px 130px, 230px 170px, auto, auto; }
.hero:after { content: ""; position: absolute; width: 600px; height: 600px; right: -150px; bottom: -340px; border-radius: 50%; border: 2px solid rgba(255,255,255,.30); box-shadow: 0 0 0 60px rgba(255,255,255,.08), 0 0 0 120px rgba(255,255,255,.05); }
.hero-content { position: relative; z-index: 1; max-width: 670px; padding: 55px 55px 48px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; color: var(--yellow); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.02; margin: 12px 0 18px; }
.hero p { font-size: 17px; color: #e9fffa; max-width: 540px; margin: 0; }
.hero-accent { display: block; width: 58px; height: 6px; border-radius: 8px; background: var(--yellow); margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: var(--deep); font-weight: 800; cursor: pointer; }
.button.alt { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 35px 0 15px; }
.section-heading h2 { font-size: 25px; margin: 0; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.link-more { color: var(--green); font-weight: 800; font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 13px; }
.quick-card { background: var(--surface); min-height: 120px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-card.has-image { min-height: 150px; color: #fff; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; }
.quick-card.has-image .quick-icon { background: rgba(255,255,255,.88); }
.quick-card.has-image .muted { color: rgba(255,255,255,.86); }
.quick-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #dff7ed; color: var(--green); font-size: 21px; margin-bottom: 18px; }
.quick-card:nth-child(2n) .quick-icon { background: #e5f5fc; color: var(--blue); }
.quick-card:nth-child(3n) .quick-icon { background: #fff4d0; color: #9a7300; }
.quick-card strong { display: block; font-size: 14px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1.35fr .95fr; gap: 18px; align-items: start; }
.right-stack { display: grid; gap: 18px; min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; }
.panel h3 { margin: 0 0 15px; font-size: 18px; letter-spacing: -.03em; }
.panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 15px; }
.panel-head h3 { margin: 0; }
.list { display: grid; gap: 0; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.list-row:last-child { border-bottom: 0; }
.list-bullet { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; border-radius: 10px; background: #e9f8f4; color: var(--green); font-weight: 800; }
.list-row small { display: block; color: var(--muted); font-size: 11px; }
.featured-card { overflow: hidden; border-radius: 17px; min-height: 215px; padding: 19px; display: flex; flex-direction: column; justify-content: end; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(2,42,42,.86) 100%), linear-gradient(135deg, #2f8c6c 0%, #14646a 50%, #7db9d2 100%); }
.featured-card .tag { align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: #d5f8e8; color: #076d4f; font-size: 10px; font-weight: 800; margin-bottom: auto; }
.featured-card h4 { font-size: 20px; line-height: 1.1; margin: 0 0 6px; letter-spacing: -.03em; }
.featured-card p { font-size: 12px; color: #d7f8ef; margin: 0; }
.featured-date { display: block; margin: 8px 0; font-size: 11px; color: #effff8; }
.news-row img { width: 66px; height: 42px; object-fit: cover; border-radius: 9px; flex: 0 0 66px; }
.row-arrow { margin-left: auto; color: var(--muted); font-size: 24px; line-height: 1; }
.event-row { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-row:last-child { border: 0; }
.event-date { background: #eef7ff; color: var(--blue); border-radius: 12px; text-align: center; padding: 6px 2px; font-weight: 800; line-height: 1.05; }
.event-date b { display: block; font-size: 18px; }
.event-date small { font-size: 9px; }
.event-row strong { font-size: 13px; line-height: 1.2; display: block; }
.event-row small { color: var(--muted); font-size: 11px; }
.page-main { padding: 35px 0 60px; }
.page-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: 0 10px 35px rgba(7,59,63,.05); }
.page-card h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.05; letter-spacing: -.05em; margin-top: 0; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.document-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; align-items: center; gap: 14px; }
.document-icon { width: 44px; height: 50px; display: grid; place-items: center; background: #e9f8f4; color: var(--green); border-radius: 12px; font-size: 22px; flex: 0 0 44px; }
.document-card h3 { font-size: 16px; margin: 0; }
.document-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.document-action { margin-left: auto; color: var(--green); font-weight: 800; font-size: 12px; white-space: nowrap; }
.repo-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.repo-toolbar input, .repo-toolbar select { min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 12px; color: var(--ink); }
.repo-toolbar input { flex: 1; min-width: 230px; }
.site-footer { margin-top: 20px; background: var(--deep); color: #ccebe3; }
.footer-logo { width: 170px; max-height: 44px; object-fit: contain; object-position: left center; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.notice { padding: 15px 18px; border-radius: 14px; background: #fff7d8; color: #745a00; border: 1px solid #f4dda0; }
.pagination { display: flex; gap: 8px; margin-top: 22px; }
.pagination a, .pagination span { padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.home-section { margin-top: 34px; }
.home-section .section-heading { margin: 0 0 15px; }
.landscape-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.landscape-card { min-height: 190px; border-radius: 20px; overflow: hidden; padding: 18px; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, #247c64, #0e4b50); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.landscape-card span { width: 100%; }
.landscape-card strong { display: block; font-family: Montserrat, sans-serif; font-size: 15px; line-height: 1.15; }
.landscape-card small { display: block; margin-top: 4px; color: #d8fff1; font-size: 11px; }
.home-empty-wide { grid-column: 1 / -1; }
.home-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.birthday-list, .social-list { display: grid; gap: 0; }
.birthday-row, .social-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.birthday-row:last-child, .social-row:last-child { border-bottom: 0; }
.birthday-avatar, .social-badge { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 13px; background: #fff2d0; color: #9a7300; font-weight: 800; }
.birthday-row strong, .social-row strong { display: block; font-size: 13px; }
.birthday-row small, .social-row small { display: block; color: var(--muted); font-size: 11px; }
.birthday-row time { margin-left: auto; color: var(--green); font-size: 12px; font-weight: 800; }
.social-badge { background: #e5f5fc; color: var(--blue); }

@media (max-width: 1100px) { .brand { min-width: 300px; gap: 12px; } .brand-logo { width: 150px; } .brand-copy { padding-left: 12px; font-size: 14px; } .main-nav { gap: 13px; } .main-nav a { font-size: 12px; } .quick-grid { grid-template-columns: repeat(4, 1fr); } .dashboard-grid { grid-template-columns: 1fr 1fr; } .right-stack { grid-column: span 2; grid-template-columns: 1fr 1fr; } .landscape-grid { grid-template-columns: repeat(2, 1fr); } .mailing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .container { width: min(100% - 28px, 680px); } .topbar .container { font-size: 10px; } .header-inner { min-height: 68px; justify-content: space-between; } .brand { min-width: 0; } .brand-logo { width: 145px; } .brand-copy { display: none; } .mobile-toggle { display: block; color: var(--deep); } .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; } .main-nav.is-open { display: flex; } .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); } .search-mini { display: none; } .hero-content { padding: 35px 28px; } .hero { min-height: 400px; } .dashboard-grid { grid-template-columns: 1fr; } .right-stack { grid-column: auto; grid-template-columns: 1fr; } .content-grid { grid-template-columns: 1fr; } .home-lower-grid { grid-template-columns: 1fr; } .footer-inner { flex-direction: column; align-items: flex-start; } .mailing-grid { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } .quick-card { min-height: 110px; padding: 14px; } .quick-icon { margin-bottom: 12px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; } .hero h1 { font-size: 36px; } }

/* Portada RAP-E basada en el mockup editorial institucional */
body { background: #f5f6ef; color: #17251f; }
.mockup-home { padding: 34px 0 72px; }
.mockup-home .container { width: min(1180px, calc(100% - 40px)); }
.mockup-hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1.15fr); gap: 18px; align-items: stretch; }
.hero-feature { min-height: 360px; border-radius: 20px; overflow: hidden; background-color: #163d32; background-size: cover; background-position: center; color: #fff; display: flex; align-items: flex-end; }
.hero-feature { isolation: isolate; box-shadow: 0 20px 55px rgba(18,57,43,.18); transition: transform .25s ease, box-shadow .25s ease; }
.hero-feature:hover { transform: translateY(-2px); box-shadow: 0 25px 65px rgba(18,57,43,.24); }
.hero-feature:after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 38%), linear-gradient(0deg, rgba(6,29,20,.18), transparent 42%); pointer-events: none; }
.hero-feature-content { position: relative; z-index: 1; max-width: 720px; padding: 34px; }
.mockup-tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #e9bd43; color: #1a281e; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .02em; }
.mockup-tag.green { background: #d5ecde; color: #195c43; }
.hero-feature h1 { max-width: 700px; font-size: clamp(35px, 4vw, 56px); line-height: 1.03; margin: 14px 0 14px; letter-spacing: -.055em; }
.hero-feature p { max-width: 680px; margin: 0 0 20px; color: #eef8f0; font-size: 16px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mockup-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px; border: 1px solid #fff; border-radius: 9px; background: #fff; color: #193b2d; font-size: 12px; font-weight: 800; }
.mockup-button.ghost { background: transparent; color: #fff; }
.mockup-button.dark { border-color: #27634b; background: #27634b; color: #fff; }
.hero-rail { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.rail-sharepoint, .rail-audit, .rail-links { border-radius: 18px; }
.rail-sharepoint { min-height: 84px; padding: 17px; display: flex; gap: 12px; align-items: center; background: #327c78; color: #fff; }
.sharepoint-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: #327c78; font-size: 24px; font-weight: 800; }
.rail-sharepoint strong { display: block; font-size: 15px; line-height: 1.08; }
.rail-sharepoint small { display: block; margin-top: 4px; color: #d9f3ed; font-size: 11px; line-height: 1.2; }
.rail-sharepoint b { margin-left: auto; align-self: flex-start; font-size: 20px; }
.rail-audit { padding: 20px; background: #13231d; color: #fff; }
.rail-audit small, .rail-audit span { display: block; color: #c3d2c9; font-size: 11px; }
.rail-audit strong { display: inline-block; margin: 3px 8px 0 0; font-family: Montserrat, sans-serif; font-size: 47px; line-height: 1; }
.rail-audit em { font-family: inherit; font-size: 12px; font-style: normal; font-weight: 500; }
.rail-audit i { display: block; height: 7px; margin: 13px 0 9px; border-radius: 10px; background: #394a40; overflow: hidden; }
.rail-audit i b { display: block; width: 60%; height: 100%; background: #e9bd43; }
.rail-links { padding: 21px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; align-content: center; background: #fff; }
.rail-links a { color: #275b45; font-size: 12px; font-weight: 700; }
.home-section { margin-top: 46px; }
.home-section .section-heading, .birthdays-section .section-heading { margin: 0 0 17px; }
.home-section .section-heading h2, .birthdays-section .section-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.045em; }
.intranet-home-v14 .section-heading h2 { position: relative; }
.intranet-home-v14 .section-heading h2:after { content: ""; display: block; width: 38px; height: 4px; margin-top: 9px; border-radius: 99px; background: linear-gradient(90deg, #087d62, #09a4de, #fbd04d); }
.home-section .section-heading p, .birthdays-section .section-heading p { margin: 4px 0 0; color: #6e7b73; font-size: 13px; }
.news-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 16px; }
.news-card { min-height: 250px; overflow: hidden; border-radius: 17px; background: #fff; border: 1px solid #e8ece5; }
.news-card-image { display: block; height: 185px; background: #dce5df center/cover no-repeat; }
.news-card-copy { padding: 17px; }
.news-kicker { color: #477d69; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { margin: 8px 0; font-size: 18px; line-height: 1.15; letter-spacing: -.03em; }
.news-card p { margin: 0 0 13px; color: #65736b; font-size: 12px; }
.text-link { display: inline-block; margin-top: 10px; color: #216345; font-size: 12px; font-weight: 800; text-decoration: underline; }
.news-card-placeholder { padding: 0; }
.news-card-placeholder .news-card-copy { height: 100%; }
.news-placeholder-icon { height: 128px; display: grid; place-items: center; background: linear-gradient(135deg,#bbbcb5,#e9eae2); color: #fff; font-size: 30px; }
.news-placeholder-image { height: 100%; min-height: 250px; display: grid; place-items: center; background: #e5e9f2; color: #4f617c; font-size: 12px; }
.agenda-campaign-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.monthly-calendar-card { min-width: 0; padding: 25px; border-radius: 20px; background: #fff; border: 1px solid #e8ece5; }
.calendar-heading { margin: 0 0 16px !important; }
.calendar-toolbar { display: grid; grid-template-columns: 42px 1fr 42px; gap: 12px; align-items: center; margin-bottom: 17px; text-align: center; }
.calendar-toolbar strong { font-family: Montserrat, sans-serif; font-size: 21px; letter-spacing: -.04em; }
.calendar-nav { width: 42px; height: 42px; border: 1px solid #dfe6df; border-radius: 12px; background: #fff; color: #18241e; font-size: 30px; line-height: 1; cursor: pointer; }
.calendar-nav:hover { border-color: #2b6a4f; color: #2b6a4f; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.calendar-weekdays { margin-bottom: 7px; color: #65736b; font-size: 11px; font-weight: 800; text-align: center; }
.calendar-day { position: relative; min-height: 49px; padding: 8px 5px 5px; border: 1px solid transparent; border-radius: 13px; background: #f6f7f3; color: #18241e; text-align: center; cursor: pointer; }
.calendar-day:hover { border-color: #b8d5c3; }
.calendar-day.is-empty { visibility: hidden; cursor: default; }
.calendar-day.is-selected { background: #27634b; color: #fff; }
.calendar-day.is-today { border-color: #27634b; }
.calendar-day.is-selected.is-today { border-color: #27634b; }
.calendar-day > span { display: block; font-size: 15px; font-weight: 700; }
.calendar-day small { display: flex; justify-content: center; gap: 3px; min-height: 7px; margin-top: 4px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3e79bd; vertical-align: middle; }
.dot.event { background: #3e79bd; }
.dot.holiday { background: #bd5d2e; }
.dot.birthday { background: #d8a333; }
.dot.today { width: 9px; height: 9px; border: 2px solid #27634b; background: transparent; }
.calendar-day.is-selected .dot.today { border-color: #fff; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0 16px; color: #66736b; font-size: 10px; }
.calendar-legend .dot { margin-right: 4px; }
.calendar-detail { min-height: 0; padding: 12px 16px; border-radius: 15px; background: #f5f6f1; }
.calendar-detail strong { display: block; margin-bottom: 4px; font-size: 14px; }
.calendar-detail p { margin: 0; color: #718078; font-size: 12px; }
.calendar-detail a { display: block; margin-top: 5px; color: #27634b; font-size: 12px; font-weight: 700; }
.calendar-detail a .dot { margin-right: 7px; }
.calendar-detail-image { display: block; width: min(100%, 260px); max-height: 170px; margin: 10px 0 4px 15px; border-radius: 10px; object-fit: contain; background: #edf3ee; }
.calendar-detail-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; padding: 0; border: 0; background: transparent; color: #27634b; text-align: left; cursor: pointer; }
.calendar-detail-toggle strong { margin: 0; color: #18241e; }
.calendar-detail-toggle span { color: #718078; font-size: 11px; font-weight: 700; }
.calendar-detail-toggle:hover span { color: #27634b; }
.calendar-upcoming { margin-top: 19px; }
.calendar-upcoming .agenda-row { grid-template-columns: 62px 1fr; }
.calendar-empty { margin: 0; color: #718078; font-size: 12px; }
.campaign-section { position: relative; min-width: 0; margin: 0; padding: 28px 30px 30px; border-radius: 20px; background: #3e73b2; color: #fff; overflow: hidden; }
.campaign-section:after { content: ""; position: absolute; width: 170px; height: 170px; right: 15px; top: 12px; border: 10px solid rgba(190,222,255,.3); border-radius: 50% 50% 50% 8%; transform: rotate(45deg); pointer-events: none; }
.campaign-droplet { position: absolute; right: 50px; top: 13px; z-index: 1; color: rgba(210,232,255,.75); font-size: 0; }
.campaign-droplet:before { content: ""; display: block; width: 90px; height: 115px; border: 6px solid rgba(210,232,255,.7); border-radius: 70% 70% 70% 12%; transform: rotate(45deg); }
.campaign-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.campaign-intro { padding: 0; min-width: 0; }
.campaign-intro h2 { margin: 13px 0 8px; font-size: clamp(29px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.campaign-intro p { margin: 0; color: #d9e4e7; font-size: 16px; }
.campaign-cta { flex: 0 0 auto; margin-top: 28px; border-color: #fff; white-space: nowrap; }
.campaign-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.campaign-step { min-height: 145px; padding: 18px; border-radius: 17px; background: rgba(19,67,123,.46); }
.campaign-step strong { display: block; margin-bottom: 12px; font-family: Montserrat, sans-serif; font-size: 27px; }
.campaign-step span { display: block; color: #fff; font-size: 14px; line-height: 1.35; }
.campaign-counter { position: relative; z-index: 1; margin: 22px 0 0; color: #e5f0ff; font-size: 14px; }
.campaign-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.campaign-gallery-dual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.campaign-media { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: #4d88bc; color: #e5f0ff; font-size: 13px; }
.campaign-media img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.campaign-media-empty { min-height: 220px; display: grid; place-items: center; padding: 24px; text-align: center; }
.graphic-landing-section { padding: 25px; border-radius: 20px; background: #fff; border: 1px solid #e8ece5; }
.graphic-landing-section .section-heading { margin-top: 0; }
.graphic-landing-gallery { margin-top: 5px; }
.graphic-landing-gallery .campaign-media { background: #edf1ed; border-color: #e3e9e2; }
.agenda-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.agenda-list { padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px solid #e8ece5; }
.agenda-label { display: block; margin-bottom: 8px; color: #6e7b73; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.agenda-row { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid #e5e9e2; color: #18241e; }
.agenda-row:last-child { border-bottom: 0; }
.agenda-row time { color: #2b6a4f; font-size: 12px; font-weight: 800; }
.agenda-row strong { font-size: 13px; line-height: 1.25; }
.agenda-visual { min-height: 300px; border-radius: 18px; background: #3c71aa; }
.landscapes-section .section-heading { align-items: center; }
.landscape-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.landscape-tile { min-height: 185px; padding: 12px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 16px; background: #ccd9e5 center/cover no-repeat; color: #17251f; position: relative; isolation: isolate; box-shadow: 0 8px 20px rgba(35,66,50,.10); transition: transform .25s ease, box-shadow .25s ease; }
.landscape-tile:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(12,32,24,.48)); }
.landscape-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 30px rgba(35,66,50,.18); }
.landscape-tile span { width: 100%; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.9); }
.landscape-tile strong, .landscape-tile small { display: block; }
.landscape-tile strong { font-size: 12px; }
.landscape-tile small { margin-top: 3px; color: #65736b; font-size: 10px; }
.landscape-tile span { transition: transform .25s ease; }
.landscape-tile:hover span { transform: translateY(-2px); }
.landscape-tile.placeholder { background: #d9e7d5; }
.landscape-tile.placeholder.blue { background: #d9e4e7; }
.landscape-tile.placeholder.orange { background: #e3d9c9; }
.landscape-tile.placeholder.pale { background: #d7e4e5; color: #607777; align-items: center; justify-content: center; font-size: 34px; }
.landscape-tile.placeholder.lilac { background: #e1deea; color: #685c7d; align-items: center; justify-content: center; font-size: 34px; }
.birthdays-section { margin-top: 46px; padding: 25px; border-radius: 20px; background: #fff; border: 1px solid #e8ece5; }
.birthday-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.birthday-card { min-width: 0; }
.birthday-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.birthday-open:hover .birthday-art { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(35,66,50,.18); }
.birthday-card-name { display: block; margin-top: 8px; color: #23372d; font-size: 12px; font-weight: 800; }
.birthday-art { min-height: 240px; display: flex; align-items: flex-end; padding: 11px; border-radius: 14px; background: linear-gradient(145deg,#c3993f,#f0d994); background-size: cover; background-position: center; color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.birthday-art span { display: block; width: 100%; padding: 7px; border-radius: 8px; background: rgba(255,255,255,.86); color: #253129; font-size: 10px; font-weight: 800; }
.birthday-placeholder { align-items: center; justify-content: center; text-align: center; background: linear-gradient(145deg,#b08b38,#e6c96c); }
.birthday-placeholder strong, .birthday-placeholder span { background: none; color: #fff; }
.birthday-placeholder strong { font-size: 17px; }
.birthday-placeholder span { margin-top: 7px; font-size: 10px; }
.birthday-meta { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-top: 8px; }
.birthday-meta time { color: #23372d; font-size: 11px; font-weight: 800; }
.birthday-meta a { padding: 5px 8px; border: 1px solid #32705a; border-radius: 8px; color: #246447; font-size: 10px; font-weight: 800; }
.birthday-greeting-link { padding: 5px 8px; border: 1px solid #32705a; border-radius: 8px; background: #fff; color: #246447; font-size: 10px; font-weight: 800; cursor: pointer; }
.birthday-greeting-link:hover { background: #246447; color: #fff; }
.birthday-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.birthday-archive-card { overflow: hidden; border: 1px solid #e1e7df; border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(7,59,63,.05); }
.birthday-archive-card .birthday-art { min-height: 270px; border-radius: 0; }
.birthday-archive-copy { padding: 15px; }
.birthday-archive-copy h2 { margin: 0 0 5px; color: #23372d; font-size: 18px; line-height: 1.15; }
.birthday-archive-copy p { margin: 0 0 4px; color: #527064; font-size: 12px; }
.birthday-archive-copy small { display: block; min-height: 28px; color: #7b887f; font-size: 11px; }
.birthday-archive-copy .text-link { display: inline-block; margin-top: 12px; }
.birthday-archive-card .birthday-open { padding: 0; }
.birthday-archive-card .birthday-card-name { padding: 0 15px; font-size: 17px; }
.birthday-archive-copy .birthday-greeting-link { margin-top: 12px; }
.birthday-greeting-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(9,25,19,.78); }
.birthday-greeting-modal[hidden] { display: none; }
.birthday-modal-open { overflow: hidden; }
.birthday-greeting-dialog { width: min(720px, 100%); max-height: min(860px, 92vh); overflow: auto; position: relative; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.birthday-greeting-close { position: absolute; top: 15px; right: 17px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf5ef; color: #245c43; font-size: 27px; line-height: 1; cursor: pointer; }
.birthday-greeting-heading { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; padding-right: 42px; }
.birthday-greeting-photo { min-height: 132px; border-radius: 17px; background: linear-gradient(135deg,#f2ce6b,#a96d32) center/cover no-repeat; }
.birthday-greeting-photo.is-empty { background: linear-gradient(135deg,#f2ce6b,#a96d32); }
.birthday-greeting-heading h2 { margin: 5px 0; color: #1e3228; font-family: Montserrat, sans-serif; font-size: 28px; line-height: 1.05; }
.birthday-greeting-heading p { margin: 0; color: #6d7d73; font-size: 13px; }
.birthday-greeting-list { display: grid; gap: 10px; max-height: 280px; overflow: auto; margin: 24px 0; padding: 3px; }
.birthday-greeting-message { padding: 14px 16px; border-left: 4px solid #f1c94c; border-radius: 12px; background: #f1f7f2; }
.birthday-greeting-message strong { color: #245e45; font-size: 13px; }
.birthday-greeting-message time { float: right; color: #8a978f; font-size: 10px; }
.birthday-greeting-message p { margin: 7px 0 0; color: #51655a; font-size: 13px; line-height: 1.45; white-space: pre-line; }
.birthday-greeting-empty { margin: 0; padding: 18px; border-radius: 12px; background: #f4f7f3; color: #718077; font-size: 13px; text-align: center; }
.birthday-greeting-form { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid #e4ece5; }
.birthday-greeting-form label { display: grid; gap: 5px; color: #2b5e47; font-size: 12px; font-weight: 800; }
.birthday-greeting-form input, .birthday-greeting-form textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #d7e4da; border-radius: 10px; background: #fbfdfb; color: #263a2f; font: inherit; font-size: 13px; }
.birthday-greeting-form textarea { resize: vertical; }
.birthday-greeting-form-actions { display: flex; align-items: center; gap: 12px; }
.birthday-greeting-form-actions [data-birthday-form-status] { color: #2e6b50; font-size: 12px; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social-card { min-height: 270px; padding: 15px; border: 1px solid #e1e7df; border-radius: 17px; background: #fff; }
.social-card-head { display: flex; align-items: center; gap: 9px; min-height: 48px; margin-bottom: 12px; }
.social-card-head > span:nth-child(2) { min-width: 0; flex: 1; }
.social-card-head strong, .social-card-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card-head strong { font-size: 13px; }
.social-card-head small { color: #78857d; font-size: 10px; }
.social-card-head b { padding: 7px 11px; border-radius: 9px; background: #27634b; color: #fff; font-size: 10px; white-space: nowrap; }
.social-avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 50%; background: #27634b; color: #fff; font-size: 12px; font-weight: 800; }
.social-card p { min-height: 38px; margin: 0 0 10px; font-size: 13px; line-height: 1.35; }
.social-card img, .social-placeholder { width: 100%; height: 155px; display: grid; place-items: center; object-fit: cover; border-radius: 10px; background: #d5e0d8; color: #436b55; font-size: 12px; }
.social-placeholder.collage { background: linear-gradient(135deg,#e0d1a6,#96b8c7 48%,#d2dce8); }
.social-placeholder.navy { background: linear-gradient(135deg,#22213e,#55599b); color: #fff; }
.social-placeholder.photo { background: linear-gradient(135deg,#aac9b1,#d4c0a7); }
.social-card small { display: block; margin-top: 9px; color: #78857d; font-size: 10px; }
.news-archive-card h1 { margin: 12px 0 34px; color: #17251f; font-family: Montserrat, sans-serif; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.065em; }
.news-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-archive-card-item { overflow: hidden; border: 1px solid #e1e9e2; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(29,72,50,.06); transition: transform .2s ease, box-shadow .2s ease; }
.news-archive-card-item:hover { transform: translateY(-5px); box-shadow: 0 17px 34px rgba(29,72,50,.12); }
.news-archive-image { height: 220px; display: flex; align-items: center; justify-content: center; position: relative; background: #dce9df center/cover no-repeat; color: #2d7659; text-decoration: none; }
.news-archive-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(13,37,27,.26)); }
.news-archive-image.is-empty { background: linear-gradient(135deg, #dcefe7, #b4d5c4); }
.news-archive-image.is-empty span { position: relative; z-index: 1; font-size: 42px; }
.news-archive-copy { min-height: 220px; padding: 20px; }
.news-archive-copy h2 { margin: 9px 0 10px; color: #182920; font-family: Montserrat, sans-serif; font-size: 22px; line-height: 1.08; letter-spacing: -.04em; }
.news-archive-copy h2 a { color: inherit; text-decoration: none; }
.news-archive-copy p { min-height: 58px; margin: 0; color: #65736b; font-size: 13px; line-height: 1.5; }
.social-follow-section { overflow: hidden; margin-top: 54px; border-radius: 22px; background: #fff; border: 1px solid #e6ebe7; }
.social-follow-hero { padding: 30px 24px 34px; background: linear-gradient(135deg, #1d3b82, #234b98); color: #fff; text-align: center; }
.social-follow-hero .section-overline { color: #fbd04d; }
.social-follow-hero h2 { margin: 5px 0 21px; color: #fff; font-family: Montserrat, sans-serif; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.055em; }
.social-network-links { display: flex; justify-content: center; gap: 13px; }
.social-network-links a { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #f4f7fb; color: #536071; font-size: 28px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.social-network-links a:hover { transform: translateY(-4px); background: #fff; }
.social-feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 28px 24px 5px; }
.social-feed-heading p { margin: 0; color: #65736b; font-size: 13px; }
.social-feed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 18px 24px 0; }
.social-post { min-width: 0; }
.social-post-media { height: 255px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: 2px; background: #d5e0d8 center/cover no-repeat; color: #fff; text-decoration: none; }
.social-post-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,35,28,.08), transparent 50%, rgba(14,35,28,.2)); pointer-events: none; }
.social-post-media.is-empty { background: linear-gradient(135deg,#d7e3b7,#8eb796); }
.social-post-action { position: absolute; z-index: 1; top: 11px; right: 11px; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 5px; color: #fff; font-size: 18px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.social-post-caption { display: flex; justify-content: space-between; gap: 8px; padding: 9px 2px 0; color: #2a5f49; font-size: 11px; }
.social-post-caption strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-post-caption small { color: #7b887f; }
.social-follow-actions { display: flex; justify-content: center; gap: 14px; padding: 24px; }
.social-more-button, .social-instagram-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 6px; font-size: 13px; font-weight: 800; text-decoration: none; }
.social-more-button { background: #303030; color: #fff; }
.social-instagram-button { background: #5a8dd1; color: #fff; }
.social-placeholder.green { background: linear-gradient(135deg,#1a624e,#70a964); }
.social-embed-section { margin-top: 54px; }
.social-embed-card { min-height: 160px; padding: 24px; border: 1px solid #e6ebe7; border-radius: 22px; background: #fff; overflow: hidden; }
.social-embed-card > * { max-width: 100%; }
.campaign-repository-link { position: relative; z-index: 1; display: inline-block; margin-top: 24px; color: #fff; font-size: 12px; font-weight: 800; text-decoration: underline; }
.mailing-repository .page-card { padding: clamp(24px, 4vw, 42px); }
.repository-intro { max-width: 700px; margin: 10px 0 22px; color: #65736b; }
.mailing-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.mailing-filters a { padding: 8px 13px; border: 1px solid #dce6df; border-radius: 999px; color: #27634b; font-size: 12px; font-weight: 800; }
.mailing-filters a.is-active, .mailing-filters a:hover { background: #27634b; color: #fff; border-color: #27634b; }
.mailing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mailing-card { overflow: hidden; border: 1px solid #dce7df; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(23,63,49,.06); }
.mailing-card-audit { border-color: #e4bf4a; box-shadow: 0 12px 32px rgba(228,181,47,.13); }
.mailing-card-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #edf3ee; text-decoration: none; }
.mailing-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; background: #edf3ee; transition: transform .25s ease; }
.mailing-card-image:hover img { transform: scale(1.025); }
.mailing-card-type { position: absolute; top: 13px; left: 13px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: #27634b; font-size: 10px; font-weight: 800; }
.mailing-card-image-empty { display: grid; width: 100%; height: 100%; place-items: center; padding: 22px; color: #6f8177; font-size: 13px; text-align: center; }
.mailing-card-copy { display: flex; min-height: 222px; flex-direction: column; padding: 19px; }
.mailing-card-copy > small { color: #78857d; font-size: 10px; }
.mailing-card-copy h2 { margin: 7px 0; font-size: 19px; line-height: 1.15; }
.mailing-card-copy p { margin: 0 0 10px; color: #65736b; font-size: 12px; line-height: 1.55; }
.mailing-card-copy .mailing-card-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mailing-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.mailing-subject { padding: 12px 15px; border-radius: 12px; background: #f3f7f1; color: #52675b; font-size: 13px; }
.mailing-download { background: #27634b; color: #fff; }
.site-footer { margin-top: 0; background: #14231c; }
.site-footer .footer-inner { min-height: 84px; }

/* Orden editorial del home y paleta RAP-E */
.mockup-home .container { display: flex; flex-direction: column; }
.mockup-home .welcome-block { order: 1; }
.mockup-home #noticias { order: 2; }
.mockup-home #accesos { order: 3; }
.mockup-home #campanas { order: 4; }
.mockup-home #auditoria { order: 5; }
.mockup-home #valores { order: 6; }
.mockup-home #fechas { order: 7; }
.mockup-home #paisajes { order: 8; }
.mockup-home #cumpleanos { order: 9; }
.mockup-home #agenda { order: 10; }
.mockup-home #videos { order: 11; }
.mockup-home #sabias-que { order: 12; }
.mockup-home #redes { order: 13; }
.mockup-home .birthday-greeting-modal { order: 99; }
.intranet-home-v14 { background: linear-gradient(180deg, #fffdf3 0%, #f5f8fc 49%, #f8f7ef 100%); }
.intranet-home-v14 .section-heading h2:after { background: linear-gradient(90deg, #f3c642, #1686b6, #138246); }
.intranet-home-v14 .access-block { background: #fffdf4; border-color: #ead276; }
.intranet-home-v14 .campaigns-block { background: #f3f8fc; border-color: #cbdfea; }
.intranet-home-v14 .dates-block { background: linear-gradient(135deg, #1c2343 0%, #164e78 62%, #087d62 100%); }
.intranet-home-v14 .landscapes-section { padding: 25px; border: 1px solid #d9e4ed; border-radius: 24px; background: #fff; }
.intranet-home-v14 .birthdays-section { background: #fffaf0; border-color: #ead276; }
.intranet-home-v14 .agenda-block .monthly-calendar-card { border-color: #cbdfea; background: #fff; }
.intranet-home-v14 .videos-section { padding: 25px; border: 1px solid #cbdfea; border-radius: 24px; background: #edf6fc; }
.intranet-home-v14 .sabias-section { padding: 25px; border: 1px solid #ead276; border-radius: 24px; background: #fff9df; }
.home-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-resource-card, .home-resource-empty-card { overflow: hidden; border: 1px solid #d8e2e8; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(28,35,67,.07); }
.home-resource-media { position: relative; display: block; min-height: 190px; overflow: hidden; background: #dceaf3; }
.home-resource-media img { display: block; width: 100%; height: 220px; object-fit: cover; }
.home-resource-media video { display: block; width: 100%; height: 220px; object-fit: cover; background: #152541; }
.home-video-embed { aspect-ratio: 16 / 9; background: #152541; }
.home-video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.home-resource-play { position: absolute; left: 50%; top: 50%; display: grid; width: 52px; height: 52px; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: #f3c642; color: #1c2343; font-size: 21px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.home-resource-copy { padding: 18px; }
.home-resource-copy h3 { margin: 0 0 8px; color: #1c2343; font-family: Montserrat, sans-serif; font-size: 18px; line-height: 1.15; }
.home-resource-copy p { min-height: 42px; margin: 0; color: #647386; font-size: 13px; line-height: 1.5; }
.home-resource-copy .text-link { color: #0d7448; }
.home-resource-empty { display: grid; min-height: 190px; place-items: center; padding: 25px; color: #647386; font-size: 13px; text-align: center; }
.home-resource-empty-card { display: flex; min-height: 190px; grid-column: 1 / -1; flex-direction: column; justify-content: center; padding: 28px; background: linear-gradient(135deg, #fff, #f8f0ca); color: #1c2343; }
.home-resource-empty-card strong { font-family: Montserrat, sans-serif; font-size: 20px; }
.home-resource-empty-card span { margin-top: 6px; color: #687589; font-size: 13px; }
.mockup-tag.yellow { background: #f3c642; color: #1c2343; }
.resource-detail-card h1 { margin-bottom: 24px; }
.resource-detail-video { max-width: 900px; overflow: hidden; margin-bottom: 28px; border-radius: 16px; background: #152541; }
.resource-detail-video iframe, .resource-detail-video video { display: block; width: 100%; min-height: 360px; border: 0; }
.resource-detail-image { max-width: 900px; margin: 0 0 28px; padding: 14px; border-radius: 16px; background: #edf4f9; }
.resource-detail-image img { display: block; width: 100%; max-height: 700px; object-fit: contain; border-radius: 9px; }

@media (max-width: 1000px) { .mockup-hero, .agenda-campaign-grid, .campaign-section, .agenda-grid { grid-template-columns: 1fr; } .hero-rail { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; } .rail-links { grid-column: span 1; } .landscape-strip { grid-template-columns: repeat(3, 1fr); } .birthday-strip { grid-template-columns: repeat(3, 1fr); } .birthday-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .mockup-home .container { width: min(100% - 28px, 680px); } .hero-feature { min-height: 460px; } .hero-feature-content { padding: 25px; } .hero-feature h1 { font-size: 37px; } .hero-rail, .news-grid, .social-grid, .home-resource-grid { grid-template-columns: 1fr; } .rail-links { grid-column: auto; } .campaign-section { padding: 22px 18px; } .campaign-head { display: block; margin-bottom: 18px; } .campaign-cta { margin-top: 15px; } .campaign-steps { grid-template-columns: 1fr; } .campaign-step { min-height: 0; } .campaign-gallery-dual { grid-template-columns: 1fr; } .birthday-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .landscape-strip { grid-template-columns: repeat(2, 1fr); } .birthday-strip { grid-template-columns: repeat(2, 1fr); } .birthday-art { min-height: 210px; } .intranet-home-v14 .videos-section, .intranet-home-v14 .sabias-section, .intranet-home-v14 .landscapes-section { padding: 20px; } .resource-detail-video iframe, .resource-detail-video video { min-height: 220px; } }
@media (max-width: 450px) { .landscape-strip, .birthday-strip { grid-template-columns: 1fr; } }

/* Portada por bloques · Somos Región Central */
.intranet-home-v14 { background: linear-gradient(180deg, #f7faf4 0%, #f3f7f5 100%); }
.welcome-block { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); min-height: 390px; overflow: hidden; border-radius: 28px; background: #173f31; box-shadow: 0 22px 60px rgba(21,70,50,.18); }
.welcome-copy { position: relative; z-index: 1; padding: clamp(34px, 5vw, 64px); color: #fff; background: linear-gradient(135deg, #174c37 0%, #087d62 62%, #079fba 100%); }
.welcome-copy:after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -100px; border: 18px solid rgba(255,255,255,.15); border-radius: 50%; pointer-events: none; }
.welcome-kicker, .section-overline { display: block; color: #fbd04d; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.welcome-copy h1 { position: relative; max-width: 680px; margin: 16px 0 16px; font-size: clamp(37px, 5vw, 64px); line-height: 1.02; letter-spacing: -.06em; }
.welcome-copy p { position: relative; max-width: 580px; margin: 0 0 26px; color: #e9fff4; font-size: 17px; line-height: 1.55; }
.welcome-image { min-height: 390px; position: relative; background: #d6e7dd center/cover no-repeat; }
.welcome-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,48,36,.02), rgba(10,41,36,.35)), linear-gradient(90deg, rgba(23,63,49,.28), transparent 44%); }
.welcome-image-label { position: absolute; z-index: 1; right: 20px; bottom: 20px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.90); color: #1d6047; font-size: 11px; font-weight: 800; }
.welcome-block .mockup-button { position: relative; z-index: 1; }
.welcome-block .mockup-button.ghost { border-color: rgba(255,255,255,.65); }
.access-block { padding: 25px; border-radius: 24px; background: #fff; border: 1px solid #e0ebe1; box-shadow: 0 12px 35px rgba(26,72,53,.06); }
.access-block .section-heading { margin: 0 0 18px; }
.access-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.access-card { min-height: 150px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 17px; border-radius: 17px; background: #f1f8f0; color: #1d4d39; transition: transform .22s ease, box-shadow .22s ease; }
.access-card:nth-child(2) { background: #e6f4fb; color: #155a78; }
.access-card:nth-child(3) { background: #fff4ca; color: #765a0c; }
.access-card:nth-child(4) { background: #fbe5d5; color: #8a472b; }
.access-card:nth-child(5) { background: #e9e5f7; color: #4c477a; }
.access-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(30,74,55,.14); }
.access-card.has-image { color: #fff; background-position: center; background-size: cover; }
.access-card.has-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,35,25,.85), transparent 70%); }
.access-card strong, .access-card small, .access-card .access-arrow, .access-icon { position: relative; z-index: 1; }
.access-card strong { font-family: Montserrat, sans-serif; font-size: 14px; line-height: 1.15; }
.access-card small { margin-top: 7px; font-size: 11px; opacity: .78; line-height: 1.25; }
.access-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.access-arrow { position: absolute; top: 14px; right: 15px; font-size: 20px; font-weight: 800; }
.access-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: auto; border-radius: 12px; background: rgba(255,255,255,.75); font-family: Montserrat, sans-serif; font-size: 19px; font-weight: 800; }
.access-card-sharepoint { background: linear-gradient(135deg, #277d72, #159eb6); color: #fff; }
.news-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.news-grid-four .news-card { min-height: 350px; }
.news-card-link { position: relative; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease; }
.news-card-link:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(27,76,54,.14); }
.news-card-overlay { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.news-card-image, .news-card-copy a { position: relative; z-index: 3; }
.news-card-link:focus-within { outline: 3px solid rgba(9,164,222,.45); outline-offset: 3px; }
.news-fallback { position: relative; }
.news-fallback-bar { height: 9px; background: #087d62; }
.news-card:nth-child(2) .news-fallback-bar { background: #09a4de; }
.news-card:nth-child(3) .news-fallback-bar { background: #e5b72e; }
.news-card:nth-child(4) .news-fallback-bar { background: #d85b3e; }
.news-fallback .news-card-copy { height: calc(100% - 9px); }
.news-fallback h3 { font-size: 17px; }
.agenda-block { display: grid; grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr); gap: 18px; align-items: start; }
.agenda-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; align-self: start; padding: 31px; border-radius: 22px; background: linear-gradient(145deg, #fbd04d, #f2ab45); color: #203629; }
.agenda-intro .section-overline { color: #70520a; }
.agenda-intro h2 { margin: 12px 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -.05em; }
.agenda-intro p { margin: 0 0 20px; font-size: 14px; line-height: 1.5; }
.agenda-intro .mockup-button { margin-top: 4px; border-color: #173f31; background: #173f31; color: #fff; }
.agenda-block .monthly-calendar-card { padding: 24px; }
.agenda-archive-card { padding: clamp(24px, 4vw, 48px); }
.agenda-archive-card h1 { margin-bottom: 10px; }
.agenda-archive-intro { max-width: 760px; margin: 0 0 24px; color: #64766c; font-size: 17px; line-height: 1.5; }
.agenda-archive-calendar { margin-top: 12px; }
.agenda-full-list { margin-top: 38px; }
.agenda-full-list .section-heading { margin-bottom: 18px; }
.agenda-full-list .section-heading h2 { margin-bottom: 6px; }
.agenda-list-items { display: grid; gap: 10px; }
.agenda-list-item { border: 1px solid #dfe9e1; border-radius: 15px; background: #f8faf7; overflow: hidden; }
.agenda-list-item summary { display: grid; grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr) 28px; gap: 14px; align-items: center; padding: 17px 18px; color: #18241e; cursor: pointer; list-style: none; }
.agenda-list-item summary::-webkit-details-marker { display: none; }
.agenda-list-item summary:hover { background: #eef6f0; }
.agenda-list-date { color: #2b6a4f; font-size: 12px; font-weight: 800; }
.agenda-list-title { display: flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 800; }
.agenda-list-title .dot { flex: 0 0 auto; }
.agenda-list-plus { color: #2b6a4f; font-size: 23px; font-weight: 400; text-align: center; }
.agenda-list-item[open] .agenda-list-plus { transform: rotate(45deg); }
.agenda-list-content { padding: 0 18px 18px; border-top: 1px solid #e2ebe3; color: #64766c; font-size: 13px; line-height: 1.55; }
.agenda-list-content p { margin: 14px 0 0; }
.agenda-list-image { display: block; width: min(100%, 520px); max-height: 360px; margin-top: 15px; border-radius: 12px; object-fit: contain; background: #edf3ee; }
.agenda-list-content .text-link { display: inline-block; margin: 14px 18px 0 0; color: #27634b; font-weight: 800; }
.event-detail-card > h1 { margin-bottom: 22px; }
.event-detail-image { max-width: 900px; margin: 0 0 30px; padding: 14px; border-radius: 18px; background: #edf4ef; }
.event-detail-image img { display: block; width: 100%; max-height: 680px; object-fit: contain; border-radius: 10px; }
.event-detail-content { min-width: 0; }
.campaigns-block { padding: 27px; border-radius: 24px; background: #eaf3ed; border: 1px solid #d7e7da; }
.campaigns-block .section-heading { margin: 0 0 18px; }
.campaign-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campaign-card { min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 25px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #3c73b4, #37619d); background-position: center; background-size: cover; overflow: hidden; position: relative; isolation: isolate; }
.campaign-card-link { position: absolute; inset: 0; z-index: 1; }
.campaign-card .mockup-tag, .campaign-card h3, .campaign-card p, .campaign-card .mockup-button { position: relative; z-index: 2; }
.campaign-card-dual { grid-column: 1 / -1; min-height: 0; padding: 0; background: #fff; color: #1b3026; border: 1px solid #d9e7dc; }
.campaign-card-dual:before { display: none; }
.campaign-dual-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 14px; background: #eaf3ed; }
.campaign-dual-images a { display: block; overflow: hidden; border-radius: 16px; background: #d7e7dc; }
.campaign-dual-images img { display: block; width: 100%; height: 330px; object-fit: cover; transition: transform .25s ease; }
.campaign-dual-images a:hover img { transform: scale(1.025); }
.campaign-dual-copy { padding: 22px 25px 25px; }
.campaign-dual-copy h3 { margin: 12px 0 8px; color: #183e2e; font-size: clamp(27px, 3.2vw, 43px); line-height: 1.02; }
.campaign-dual-copy p { max-width: 700px; margin: 0 0 18px; color: #64766c; }
.campaign-card:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,33,76,.82), rgba(25,105,156,.12)); }
.campaign-card-2 { background-color: #1d8067; background-image: linear-gradient(135deg, #1b8065, #087d9a); }
.campaign-card-2:before { background: linear-gradient(0deg, rgba(10,58,45,.84), rgba(5,122,143,.16)); }
.campaign-card h3 { max-width: 550px; margin: 14px 0 8px; font-size: clamp(27px, 3.2vw, 43px); line-height: 1.02; letter-spacing: -.05em; }
.campaign-card p { max-width: 520px; margin: 0 0 18px; color: #e9f6ff; font-size: 14px; }
.campaign-card .mockup-button { border: 0; }
.campaign-featured { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); overflow: hidden; border: 1px solid #d9e7dc; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(23,63,49,.08); }
.campaign-featured-media { min-height: 390px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e8f1eb; }
.campaign-featured-media img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: contain; transition: transform .25s ease; }
.campaign-featured-media:hover img { transform: scale(1.02); }
.campaign-featured-media > span { padding: 25px; color: #61756a; font-size: 14px; text-align: center; }
.campaign-featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4vw, 52px); color: #183e2e; }
.campaign-featured-copy h3 { max-width: 620px; margin: 15px 0 12px; font-family: Montserrat, sans-serif; font-size: clamp(32px, 4vw, 58px); line-height: 1.02; letter-spacing: -.06em; }
.campaign-featured-copy p { max-width: 570px; margin: 0 0 25px; color: #65776d; font-size: 15px; line-height: 1.6; }
.campaign-home-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 30px 0 15px; }
.campaign-home-heading h3 { margin: 4px 0 0; color: #183e2e; font-family: Montserrat, sans-serif; font-size: 24px; }
.campaign-home-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.campaign-home-card { overflow: hidden; border: 1px solid #dce7df; border-radius: 17px; background: #fff; box-shadow: 0 10px 24px rgba(23,63,49,.05); }
.campaign-home-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: #edf3ee; }
.campaign-home-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.campaign-home-image:hover img { transform: scale(1.025); }
.campaign-home-image > span { padding: 14px; color: #708078; font-size: 12px; text-align: center; }
.campaign-home-copy { padding: 15px; }
.campaign-home-copy .mockup-tag { font-size: 9px; }
.campaign-home-copy h3 { margin: 10px 0 13px; font-family: Montserrat, sans-serif; font-size: 18px; line-height: 1.12; }
.campaign-home-copy h3 a { color: #183e2e; text-decoration: none; }
.campaign-home-copy h3 a:hover { color: #287052; }
.campaign-home-copy .text-link { font-size: 11px; }
.campaign-home-card-empty { min-height: 180px; }
@media (max-width: 1100px) { .campaign-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) { .campaign-featured { grid-template-columns: 1fr; } .campaign-featured-media { min-height: 330px; } }
@media (max-width: 700px) { .campaign-home-heading { align-items: flex-start; flex-direction: column; gap: 10px; } .campaign-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .campaign-featured-media { min-height: 280px; } .campaign-featured-copy { padding: 26px 22px; } }
@media (max-width: 450px) { .campaign-home-grid { grid-template-columns: 1fr; } }
.dates-block { padding: 27px; border-radius: 24px; background: #183b31; color: #fff; }
.dates-block .section-heading { margin: 0 0 20px; }
.dates-block .section-overline { color: #fbd04d; }
.dates-block h2 { max-width: 760px; }
.dates-block .section-heading p { color: #cde2d8; }
.date-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.date-card { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; padding: 0; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #2f8c6c, #327c78); background-position: center; background-size: cover; isolation: isolate; }
.date-card:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,35,27,.04) 25%, rgba(10,35,27,.82) 100%); }
.date-card:nth-child(2) { background: linear-gradient(135deg, #2f7ca5, #5366a1); }
.date-card:nth-child(3) { background: linear-gradient(135deg, #bc8136, #bb5d3e); }
.date-card span { position: relative; z-index: 1; margin: 20px 20px auto; color: #fbd04d; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.date-card strong { position: relative; z-index: 1; margin: 0 20px; padding: 14px 15px 0; border-radius: 13px 13px 0 0; background: rgba(11,35,27,.68); font-family: Montserrat, sans-serif; font-size: 21px; line-height: 1.08; }
.date-card small { position: relative; z-index: 1; margin: 0 20px 20px; padding: 8px 15px 15px; border-radius: 0 0 13px 13px; background: rgba(11,35,27,.68); color: #f5fffb; font-size: 12px; line-height: 1.4; }
.date-card-fallback { min-height: 225px; }
.birthday-empty { min-height: 170px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; grid-column: 1 / -1; padding: 25px; border-radius: 16px; background: linear-gradient(135deg, #f7e3a8, #f2c963); color: #53420d; }
.birthday-empty strong { font-family: Montserrat, sans-serif; font-size: 22px; }
.birthday-empty span { font-size: 13px; }
.birthday-empty .mockup-button { margin-top: 8px; }
.social-profile-card { display: flex; flex-direction: column; justify-content: center; min-height: 175px; background: linear-gradient(135deg, #fff, #eaf5f0); }
.social-profile-card strong { font-family: Montserrat, sans-serif; color: #1c5d43; font-size: 21px; }
.social-profile-card span { margin: 7px 0 16px; color: #718078; font-size: 13px; }
.social-profile-card a { color: #246447; font-size: 12px; font-weight: 800; text-decoration: underline; }
.landscape-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.landscape-tile { cursor: zoom-in; }
.landscapes-archive-card h1 { margin: 14px 0 8px; color: #17251f; font-family: Montserrat, sans-serif; font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.06em; }
.landscapes-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.landscape-archive-card { min-height: 285px; display: flex; align-items: flex-end; overflow: hidden; padding: 16px; border-radius: 20px; color: #fff; background: #dce9df center/cover no-repeat; box-shadow: 0 12px 25px rgba(26,72,53,.08); transition: transform .22s ease; }
.landscape-archive-card:hover { transform: translateY(-5px); }
.landscape-archive-card span { display: block; width: 100%; padding: 15px; border-radius: 14px; background: rgba(255,255,255,.90); color: #1b3026; }
.landscape-archive-card strong, .landscape-archive-card small { display: block; }
.landscape-archive-card strong { font-family: Montserrat, sans-serif; font-size: 17px; }
.landscape-archive-card small { margin-top: 5px; color: #6c7e74; font-size: 12px; }
.landscape-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(9,25,19,.94); }
.landscape-lightbox[hidden] { display: none; }
.landscape-lightbox figure { max-width: min(1180px, 92vw); max-height: 90vh; margin: 0; text-align: center; }
.landscape-lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: 12px; object-fit: contain; box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.landscape-lightbox figcaption { margin-top: 12px; color: #fff; font-size: 14px; }
.landscape-lightbox-close { position: absolute; top: 18px; right: 24px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 30px; }
.iso-block { padding: 27px; border: 1px solid #e1e8e2; border-radius: 24px; background: #fff; }
.iso-block .section-heading { margin: 0 0 18px; }
.iso-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.iso-image { min-height: 235px; display: flex; align-items: flex-end; padding: 20px; border-radius: 18px; color: #fff; background: linear-gradient(0deg, rgba(18,52,39,.82), rgba(18,52,39,.08)), #dcebe0 center/cover no-repeat; text-decoration: none; transition: transform .2s ease; }
.iso-image:hover { transform: translateY(-4px); }
.iso-image span { font-family: Montserrat, sans-serif; font-size: 17px; font-weight: 800; }
.iso-empty { grid-column: 1 / -1; padding: 24px; border-radius: 16px; background: #f3f7f3; color: #687b70; font-size: 14px; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.news-detail-main { padding: 44px 0 82px; }
.news-detail-back { display: inline-flex; margin: 0 0 18px; color: #276449; font-size: 13px; font-weight: 800; text-decoration: none; }
.news-detail-card { overflow: hidden; border: 1px solid #dce8df; border-radius: 26px; background: #fff; box-shadow: 0 18px 50px rgba(26,72,53,.08); }
.news-detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 42px 0; }
.news-detail-topline time { color: #78877f; font-size: 12px; }
.news-detail-card > h1 { max-width: 920px; margin: 14px 42px 28px; color: #17251f; font-family: Montserrat, sans-serif; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.06em; }
.news-detail-cover { margin: 0; padding: 0; background: #edf4ef; }
.news-detail-cover img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.news-detail-cover figcaption { margin: 0; padding: 12px 42px; color: #1d6047; font-size: 11px; font-weight: 800; background: #f4f8f3; }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 44px; padding: 38px 42px 48px; }
.news-detail-content { max-width: 760px; color: #53635b; font-size: 17px; line-height: 1.75; }
.news-detail-content p { margin: 0 0 20px; }
.news-detail-content img { height: auto; max-width: 100%; border-radius: 16px; }
.news-detail-content figure { margin: 28px 0; }
.news-detail-content figcaption { margin-top: 8px; color: #78877f; font-size: 12px; }
.news-detail-aside { align-self: start; padding: 22px; border-radius: 18px; background: #eef6ef; color: #275943; }
.news-detail-aside strong { display: block; margin-bottom: 9px; font-family: Montserrat, sans-serif; font-size: 17px; }
.news-detail-aside p { margin: 0 0 18px; color: #60756a; font-size: 13px; line-height: 1.55; }
.news-detail-aside .mockup-button { display: inline-flex; font-size: 12px; }
.campaign-text-panel { min-height: 220px; padding: 24px 26px; border: 1px solid #dfeae2; border-radius: 18px; background: #fbfdfb; }
.campaign-content-label { display: block; margin-bottom: 14px; color: #e0b332; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.campaign-empty-copy { margin: 0; color: #6a7b71; font-size: 16px; line-height: 1.7; }
.campaign-secondary-image { margin: 28px 0 0; }
.campaign-secondary-image img { display: block; width: 100%; height: auto; border-radius: 16px; }
.news-gallery { max-width: 1040px; margin: 38px auto 0; padding: 28px 42px 46px; border-top: 1px solid #e0ebe3; }
.news-gallery-heading { display: flex; flex-direction: column; gap: 5px; margin-bottom: 15px; color: #1e5b43; }
.news-gallery-heading strong { font-family: Montserrat, sans-serif; font-size: 22px; }
.news-gallery-heading small { color: #78877f; font-size: 12px; }
.news-gallery-viewport { overflow: hidden; border-radius: 16px; background: #edf4ef; }
.news-gallery-track { display: flex; transition: transform .35s ease; }
.news-gallery-slide { flex: 0 0 100%; margin: 0; }
.news-gallery-slide a, .news-gallery-slide img { display: block; width: 100%; }
.news-gallery-slide img { max-height: 560px; object-fit: contain; background: #edf4ef; }
.news-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 13px; }
.news-gallery-controls > button { width: 38px; height: 38px; border: 1px solid #c8ddd0; border-radius: 50%; background: #fff; color: #1e5b43; cursor: pointer; font-size: 18px; }
.news-gallery-dots { display: flex; justify-content: center; gap: 7px; }
.news-gallery-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #bbcec2; cursor: pointer; }
.news-gallery-dots button.is-active { background: #e4b52f; transform: scale(1.35); }
.news-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 50px 70px; background: rgba(9,25,19,.94); }
.news-lightbox[hidden] { display: none; }
.news-lightbox-figure { display: flex; flex-direction: column; align-items: center; max-width: min(1100px, 88vw); max-height: 88vh; margin: 0; }
.news-lightbox-figure img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.news-lightbox-figure figcaption { margin-top: 12px; color: #eaf6ef; font-size: 12px; }
.news-lightbox-close { position: absolute; top: 18px; right: 24px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 30px; line-height: 1; }
.news-lightbox-nav { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font-size: 22px; }
.news-lightbox-nav:hover, .news-lightbox-close:hover { background: #286b4f; }
.news-lightbox-open { overflow: hidden; }
.campaign-gallery .news-gallery-slide img { max-height: 760px; }

@media (max-width: 1000px) { .access-grid { grid-template-columns: repeat(3, 1fr); } .news-grid-four { grid-template-columns: repeat(2, 1fr); } .agenda-block { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .welcome-block { grid-template-columns: 1fr; } .welcome-image { min-height: 240px; } .access-grid, .news-grid-four, .campaign-cards, .date-cards, .iso-images, .campaign-dual-images, .landscapes-archive-grid { grid-template-columns: 1fr; } .access-card { min-height: 135px; } .campaigns-block, .dates-block, .access-block, .iso-block { padding: 20px; } .agenda-intro { min-height: 0; } .calendar-detail-toggle { align-items: flex-start; flex-direction: column; gap: 3px; } .agenda-list-item summary { grid-template-columns: 1fr 24px; gap: 7px; } .agenda-list-date { grid-column: 1 / -1; } .campaign-dual-images img { height: 250px; } .landscape-actions { justify-content: flex-start; margin-top: 15px; } .landscape-lightbox { padding: 35px 12px; } .landscape-lightbox img { max-height: 76vh; } .news-detail-topline { align-items: flex-start; flex-direction: column; padding: 24px 22px 0; } .news-detail-card > h1 { margin: 12px 22px 22px; font-size: 40px; } .news-detail-cover { min-height: 0; padding: 0; } .news-detail-cover figcaption { padding: 10px 22px; } .news-detail-layout { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px 34px; } .news-gallery { padding: 28px 22px 34px; } .news-lightbox { gap: 8px; padding: 50px 10px 30px; } .news-lightbox-nav { width: 38px; height: 38px; } .news-lightbox-figure { max-width: 78vw; } .news-lightbox-figure img { max-height: 76vh; } }

/* v37 · paleta oficial RAP-E y contenidos ampliables */
.mockup-home.intranet-home-v14 {
    --rape-navy: #1c2343;
    --rape-yellow: #fcc300;
    --rape-red: #d83339;
    --rape-brown: #931211;
    --rape-blue: #09a4de;
    --rape-green: #0d8944;
    --rape-dark-green: #008040;
    background: linear-gradient(180deg, #f7f9fc 0%, #fffdf4 48%, #f5f8fb 100%);
}
.intranet-home-v14 .section-overline, .intranet-home-v14 .welcome-kicker { color: var(--rape-yellow); }
.intranet-home-v14 .section-heading h2:after { background: linear-gradient(90deg, var(--rape-yellow), var(--rape-blue), var(--rape-green)); }
.intranet-home-v14 .welcome-copy { background: linear-gradient(135deg, var(--rape-navy) 0%, #26366e 56%, var(--rape-blue) 100%); }
.intranet-home-v14 .welcome-block { background: var(--rape-navy); box-shadow: 0 22px 60px rgba(28,35,67,.18); }
.intranet-home-v14 .access-block { background: #fff; border-color: #d9e3ee; }
.intranet-home-v14 .access-card { background: #edf8f2; color: var(--rape-dark-green); }
.intranet-home-v14 .access-card:nth-child(2) { background: #e8f5fc; color: #155a78; }
.intranet-home-v14 .access-card:nth-child(3) { background: #fff6d6; color: #785c00; }
.intranet-home-v14 .access-card:nth-child(4) { background: #fbe8e4; color: var(--rape-brown); }
.intranet-home-v14 .access-card:nth-child(5) { background: #ecebfa; color: var(--rape-navy); }
.intranet-home-v14 .access-card-sharepoint { background: linear-gradient(135deg, var(--rape-dark-green), var(--rape-green)); color: #fff; }
.intranet-home-v14 .campaigns-block { background: #edf7fc; border-color: #b7dff0; }
.intranet-home-v14 .iso-block { background: #fff; border-color: #d9e3ee; }
.intranet-home-v14 .dates-block { background: linear-gradient(135deg, var(--rape-navy) 0%, #243d78 56%, var(--rape-dark-green) 100%); }
.intranet-home-v14 .landscapes-section { background: #fff; border-color: #c6dfee; }
.intranet-home-v14 .birthdays-section { background: #fff9e8; border-color: #f0d26c; }
.intranet-home-v14 .agenda-intro { background: linear-gradient(145deg, var(--rape-yellow), #f5a629); }
.intranet-home-v14 .agenda-block .monthly-calendar-card { border-color: #b7dff0; }
.intranet-home-v14 .videos-section { background: #edf7fc; border-color: #b7dff0; }
.intranet-home-v14 .sabias-section { background: #fff9e8; border-color: #f0d26c; }
.intranet-home-v14 .values-section { padding: 25px; border: 1px solid #efcbd0; border-radius: 24px; background: #fff; }
.intranet-home-v14 .values-section .section-heading { margin-top: 0; }
.intranet-home-v14 .text-link, .intranet-home-v14 .link-more { color: var(--rape-green); }
.intranet-home-v14 .mockup-tag.green { background: #d9f0df; color: var(--rape-dark-green); }
.intranet-home-v14 .mockup-tag.yellow { background: var(--rape-yellow); color: var(--rape-navy); }
.intranet-home-v14 .mockup-tag.red { background: #f4d3d5; color: var(--rape-brown); }

.home-video-card.is-playlist { grid-column: span 2; }
.home-video-card.is-playlist .home-resource-media { min-height: 360px; }
.home-video-card.is-playlist .home-video-embed { min-height: 360px; }
.home-video-card.is-playlist .home-video-embed iframe { min-height: 360px; }
.home-video-embed { width: 100%; overflow: hidden; border-radius: 0; }
.home-video-embed iframe { aspect-ratio: 16 / 9; height: auto; min-height: 240px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value-card { overflow: hidden; border: 1px solid #ead5d7; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(147,18,17,.07); }
.value-card-image { display: flex; min-height: 165px; align-items: flex-start; justify-content: flex-end; padding: 13px; background: #f4d3d5 center/cover no-repeat; }
.value-card-image:has(+ .value-card-copy) { position: relative; }
.value-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,35,67,.03), rgba(28,35,67,.4)); pointer-events: none; }
.value-card-mark { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--rape-yellow); color: var(--rape-navy); font-size: 20px; }
.value-card-copy { padding: 17px; }
.value-card-copy h3 { margin: 10px 0 7px; color: var(--rape-navy); font-family: Montserrat, sans-serif; font-size: 18px; line-height: 1.12; }
.value-card-copy h3 a { color: inherit; }
.value-card-copy p { min-height: 44px; margin: 0; color: #657386; font-size: 13px; line-height: 1.5; }
.values-empty-card { grid-column: 1 / -1; display: flex; min-height: 150px; flex-direction: column; justify-content: center; padding: 28px; border: 1px dashed #d9aeb3; border-radius: 18px; background: #fff8f8; color: var(--rape-navy); }
.values-empty-card strong { font: 700 20px Montserrat, sans-serif; }
.values-empty-card span { margin-top: 6px; color: #657386; }
.value-detail-card h1 { margin-bottom: 25px; }
.value-detail-image { max-width: 980px; margin: 0 0 28px; padding: 14px; border-radius: 18px; background: #fff8f8; border: 1px solid #ead5d7; }
.value-detail-image img { display: block; width: 100%; max-height: 780px; object-fit: contain; border-radius: 10px; }
.value-detail-content { max-width: 850px; color: #44536b; font-size: 16px; line-height: 1.7; }
.value-detail-content img, .value-detail-content iframe { max-width: 100%; }

@media (max-width: 900px) {
    .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-video-card.is-playlist { grid-column: span 2; }
}
@media (max-width: 700px) {
    .values-grid { grid-template-columns: 1fr; }
    .home-video-card.is-playlist { grid-column: auto; }
    .home-video-card.is-playlist .home-resource-media, .home-video-card.is-playlist .home-video-embed, .home-video-card.is-playlist .home-video-embed iframe { min-height: 240px; }
    .intranet-home-v14 .values-section { padding: 20px; }
}

/* v38 · home más vivo, Coly y archivos de contenido */
.mockup-home.intranet-home-v14 {
    background:
        radial-gradient(circle at 4% 5%, rgba(252,195,0,.17), transparent 20rem),
        radial-gradient(circle at 96% 27%, rgba(9,164,222,.13), transparent 24rem),
        linear-gradient(180deg, #f5f9ff 0%, #fffdf3 48%, #f4faf7 100%);
}
.mockup-home.intranet-home-v14 .home-section,
.mockup-home.intranet-home-v14 .birthdays-section {
    position: relative;
}
.mockup-home.intranet-home-v14 .section-heading h2,
.mockup-home.intranet-home-v14 .birthday-card-name { color: var(--rape-navy); }
.mockup-home.intranet-home-v14 .section-heading p { color: #52647b; }
.mockup-home.intranet-home-v14 #noticias {
    padding: 25px;
    border: 1px solid #d7e4ef;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(232,246,253,.9));
    box-shadow: 0 16px 38px rgba(28,35,67,.06);
}
.mockup-home.intranet-home-v14 #noticias .news-card { border-color: #d7e4ef; box-shadow: 0 12px 25px rgba(28,35,67,.08); }
.mockup-home.intranet-home-v14 #noticias .news-card:nth-child(4n+1) { border-top: 5px solid var(--rape-yellow); }
.mockup-home.intranet-home-v14 #noticias .news-card:nth-child(4n+2) { border-top: 5px solid var(--rape-blue); }
.mockup-home.intranet-home-v14 #noticias .news-card:nth-child(4n+3) { border-top: 5px solid var(--rape-green); }
.mockup-home.intranet-home-v14 #noticias .news-card:nth-child(4n) { border-top: 5px solid var(--rape-red); }
.mockup-home.intranet-home-v14 #noticias .news-card-image { height: 205px; }
.mockup-home.intranet-home-v14 .access-block { box-shadow: 0 16px 38px rgba(28,35,67,.08); }
.mockup-home.intranet-home-v14 .access-card { border: 1px solid rgba(13,137,68,.12); }
.mockup-home.intranet-home-v14 .access-card:nth-child(2) { border-color: rgba(9,164,222,.18); }
.mockup-home.intranet-home-v14 .access-card:nth-child(3) { border-color: rgba(252,195,0,.28); }
.mockup-home.intranet-home-v14 .campaigns-block {
    background: linear-gradient(135deg, #e7f6fc 0%, #f9fdff 52%, #eef9f0 100%);
    box-shadow: 0 16px 38px rgba(9,164,222,.08);
}
.mockup-home.intranet-home-v14 .campaigns-block:before,
.mockup-home.intranet-home-v14 .videos-section:before,
.mockup-home.intranet-home-v14 .sabias-section:before,
.mockup-home.intranet-home-v14 .values-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 5px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, var(--rape-yellow), var(--rape-red), var(--rape-blue), var(--rape-green));
}
.mockup-home.intranet-home-v14 .campaign-home-card,
.mockup-home.intranet-home-v14 .campaign-featured,
.mockup-home.intranet-home-v14 .iso-block,
.mockup-home.intranet-home-v14 .value-card,
.mockup-home.intranet-home-v14 .home-resource-card { box-shadow: 0 14px 30px rgba(28,35,67,.09); }
.mockup-home.intranet-home-v14 .dates-block { box-shadow: 0 18px 42px rgba(28,35,67,.18); }
.mockup-home.intranet-home-v14 .dates-block .date-card { border-color: rgba(255,255,255,.18); box-shadow: 0 10px 22px rgba(0,0,0,.14); }
.mockup-home.intranet-home-v14 .landscapes-section { box-shadow: 0 14px 32px rgba(9,164,222,.08); }
.mockup-home.intranet-home-v14 .landscape-tile { box-shadow: 0 10px 22px rgba(28,35,67,.14); }
.mockup-home.intranet-home-v14 .birthdays-section { box-shadow: 0 14px 32px rgba(252,195,0,.12); }
.mockup-home.intranet-home-v14 .agenda-block .agenda-intro { box-shadow: 0 14px 30px rgba(252,195,0,.22); }
.mockup-home.intranet-home-v14 .videos-section {
    position: relative;
    background: linear-gradient(135deg, #e5f5fc 0%, #fafdff 60%, #e8f7ef 100%);
    box-shadow: 0 16px 38px rgba(9,164,222,.1);
}
.mockup-home.intranet-home-v14 .sabias-section {
    position: relative;
    background: linear-gradient(135deg, #fff5c8 0%, #fffdf1 58%, #fff0e8 100%);
    box-shadow: 0 16px 38px rgba(252,195,0,.13);
}
.mockup-home.intranet-home-v14 .values-section {
    position: relative;
    background: linear-gradient(135deg, #fff3f3 0%, #fff 58%, #fff8dc 100%);
    box-shadow: 0 16px 38px rgba(216,51,57,.08);
}
.mockup-home.intranet-home-v14 .home-resource-card,
.mockup-home.intranet-home-v14 .value-card { transition: transform .24s ease, box-shadow .24s ease; }
.mockup-home.intranet-home-v14 .home-resource-card:hover,
.mockup-home.intranet-home-v14 .value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px rgba(28,35,67,.15); }
.mockup-home.intranet-home-v14 .home-resource-media { background: linear-gradient(135deg, #1c2343, #09a4de); }
.mockup-home.intranet-home-v14 .home-video-card .home-resource-copy { border-top: 4px solid var(--rape-blue); }
.mockup-home.intranet-home-v14 .home-sabias-card .home-resource-copy { border-top: 4px solid var(--rape-yellow); }
.mockup-home.intranet-home-v14 .home-resource-copy .text-link { color: var(--rape-green); }
.mockup-home.intranet-home-v14 .home-resource-play { background: var(--rape-yellow); color: var(--rape-navy); }
.mockup-home.intranet-home-v14 .mockup-tag.blue { background: #d7f0fb; color: #075a7d; }
.mockup-home.intranet-home-v14 .section-more-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 10px 14px;
    border: 1px solid rgba(13,137,68,.25);
    border-radius: 999px;
    background: #fff;
    color: var(--rape-green);
    box-shadow: 0 5px 14px rgba(13,137,68,.08);
    white-space: nowrap;
}
.mockup-home.intranet-home-v14 .section-more-link:hover { background: var(--rape-green); color: #fff; border-color: var(--rape-green); }

.resource-archive-page { background: linear-gradient(180deg, #f5f9ff, #fffdf3); }
.resource-archive-hero { padding: 38px; border-radius: 28px; background: linear-gradient(135deg, var(--rape-navy), #26366e 58%, var(--rape-blue)); color: #fff; box-shadow: 0 20px 48px rgba(28,35,67,.18); }
.resource-archive-hero h1 { max-width: 850px; margin: 8px 0 10px; color: #fff; font-size: clamp(38px, 6vw, 68px); line-height: .98; letter-spacing: -.06em; }
.resource-archive-hero p { max-width: 760px; margin: 0; color: #e8f5ff; font-size: 16px; }
.resource-archive-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.resource-archive-filters a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; }
.resource-archive-filters a:hover, .resource-archive-filters a.is-active { background: var(--rape-yellow); border-color: var(--rape-yellow); color: var(--rape-navy); }
.resource-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.resource-archive-card { overflow: hidden; border: 1px solid #d9e3ee; border-radius: 22px; background: #fff; box-shadow: 0 13px 30px rgba(28,35,67,.08); transition: transform .22s ease, box-shadow .22s ease; }
.resource-archive-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px rgba(28,35,67,.14); }
.resource-archive-card.is-video { border-top: 5px solid var(--rape-blue); }
.resource-archive-card.is-sabias { border-top: 5px solid var(--rape-yellow); }
.resource-archive-media { min-height: 220px; overflow: hidden; background: #eaf5fb; }
.resource-archive-media img, .resource-archive-media video { display: block; width: 100%; height: 230px; object-fit: cover; }
.resource-archive-media .home-video-embed iframe { display: block; width: 100%; min-height: 230px; border: 0; }
.resource-archive-copy { padding: 20px; }
.resource-archive-copy h2 { margin: 10px 0 8px; color: var(--rape-navy); font-family: Montserrat, sans-serif; font-size: 21px; line-height: 1.1; }
.resource-archive-copy h2 a { color: inherit; }
.resource-archive-copy p { min-height: 58px; margin: 0; color: #607088; font-size: 13px; line-height: 1.55; }
.resource-archive-empty { grid-column: 1 / -1; display: flex; min-height: 220px; flex-direction: column; justify-content: center; padding: 35px; border-radius: 22px; background: #fff; border: 1px dashed #b7dff0; color: var(--rape-navy); }
.resource-archive-empty strong { font: 700 24px Montserrat, sans-serif; }
.resource-archive-empty span { margin-top: 6px; color: #607088; }
.value-card-image { position: relative; }

@media (max-width: 900px) {
    .resource-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .mockup-home.intranet-home-v14 #noticias, .mockup-home.intranet-home-v14 .values-section { padding: 20px; }
    .mockup-home.intranet-home-v14 .section-more-link { align-self: flex-start; }
    .resource-archive-hero { padding: 27px 22px; }
    .resource-archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) { .news-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .social-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .news-archive-grid, .social-feed-grid { grid-template-columns: 1fr; } .news-archive-image { height: 240px; } .social-feed-heading { align-items: flex-start; flex-direction: column; } .social-network-links { gap: 7px; } .social-network-links a { width: 46px; height: 46px; font-size: 22px; } .social-post-media { height: 300px; } .social-follow-actions { align-items: stretch; flex-direction: column; } }
@media (max-width: 700px) { .date-card { min-height: 280px; } .birthday-greeting-modal { padding: 12px; } .birthday-greeting-dialog { padding: 21px; border-radius: 18px; } .birthday-greeting-heading { grid-template-columns: 88px 1fr; gap: 12px; } .birthday-greeting-photo { min-height: 88px; } .birthday-greeting-heading h2 { font-size: 21px; } .birthday-greeting-form-actions { align-items: flex-start; flex-direction: column; } }

/* v39 · presentación más viva y corrección persistente de Coly */
.mockup-home.intranet-home-v14 {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 8%, rgba(252,195,0,.22), transparent 19rem),
        radial-gradient(circle at 94% 18%, rgba(9,164,222,.16), transparent 25rem),
        linear-gradient(180deg, #f6fbff 0%, #fffdf4 44%, #f2faf5 100%);
}
.mockup-home.intranet-home-v14:before,
.mockup-home.intranet-home-v14:after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .36;
    pointer-events: none;
}
.mockup-home.intranet-home-v14:before { width: 210px; height: 210px; top: 29rem; right: -70px; background: rgba(216,51,57,.15); }
.mockup-home.intranet-home-v14:after { width: 170px; height: 170px; top: 82rem; left: -65px; background: rgba(13,137,68,.15); }
.mockup-home.intranet-home-v14 .container { position: relative; z-index: 1; }
.mockup-home.intranet-home-v14 .welcome-block {
    border: 2px solid rgba(9,164,222,.32);
    box-shadow: 0 24px 60px rgba(28,35,67,.2);
}
.mockup-home.intranet-home-v14 .welcome-copy {
    background: linear-gradient(135deg, #1c2343 0%, #26366e 52%, #09a4de 100%);
}
.mockup-home.intranet-home-v14 .welcome-copy:after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    bottom: -105px;
    border: 22px solid rgba(252,195,0,.24);
    border-radius: 50%;
    pointer-events: none;
}
.mockup-home.intranet-home-v14 .welcome-image:after { background: linear-gradient(90deg, rgba(28,35,67,.32), rgba(9,164,222,.02)); }
.mockup-home.intranet-home-v14 .home-section,
.mockup-home.intranet-home-v14 .birthdays-section {
    border-radius: 28px;
    border: 1px solid rgba(28,35,67,.09);
}
.mockup-home.intranet-home-v14 .section-heading h2 { font-size: clamp(26px, 3vw, 38px); }
.mockup-home.intranet-home-v14 .section-heading h2:after { height: 5px; box-shadow: 0 2px 8px rgba(9,164,222,.22); }
.mockup-home.intranet-home-v14 #accesos {
    background: linear-gradient(135deg, #fff 0%, #f3f9ff 55%, #fff7d8 100%);
    box-shadow: 0 16px 38px rgba(28,35,67,.08);
}
.mockup-home.intranet-home-v14 .access-card {
    min-height: 150px;
    border: 1px solid rgba(28,35,67,.1);
    box-shadow: 0 9px 20px rgba(28,35,67,.08);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.mockup-home.intranet-home-v14 .access-card:hover { transform: translateY(-7px) rotate(-.5deg); filter: saturate(1.08); box-shadow: 0 18px 30px rgba(28,35,67,.16); }
.mockup-home.intranet-home-v14 .access-card:nth-child(4n+1) { border-top: 5px solid var(--rape-green); }
.mockup-home.intranet-home-v14 .access-card:nth-child(4n+2) { border-top: 5px solid var(--rape-blue); }
.mockup-home.intranet-home-v14 .access-card:nth-child(4n+3) { border-top: 5px solid var(--rape-yellow); }
.mockup-home.intranet-home-v14 .access-card:nth-child(4n) { border-top: 5px solid var(--rape-red); }
.mockup-home.intranet-home-v14 .campaign-featured { border: 2px solid rgba(9,164,222,.24); box-shadow: 0 18px 38px rgba(28,35,67,.13); }
.mockup-home.intranet-home-v14 .campaign-featured-copy { background: linear-gradient(145deg, #fff 0%, #f4fbff 58%, #fff7d9 100%); }
.mockup-home.intranet-home-v14 .campaign-home-card { border: 1px solid rgba(28,35,67,.1); box-shadow: 0 10px 24px rgba(28,35,67,.1); }
.mockup-home.intranet-home-v14 .campaign-home-card:hover { transform: translateY(-6px); box-shadow: 0 20px 34px rgba(28,35,67,.16); }
.mockup-home.intranet-home-v14 .iso-block { background: linear-gradient(135deg, #fff 0%, #eef9ff 55%, #fdf0ed 100%); }
.mockup-home.intranet-home-v14 .dates-block { border: 0; background: linear-gradient(135deg, #1c2343 0%, #26366e 48%, #008040 100%); }
.mockup-home.intranet-home-v14 .date-card { border: 2px solid rgba(252,195,0,.45); box-shadow: 0 12px 25px rgba(0,0,0,.18); }
.mockup-home.intranet-home-v14 .date-card:hover { transform: translateY(-6px); border-color: var(--rape-yellow); }
.mockup-home.intranet-home-v14 .landscapes-section { background: linear-gradient(135deg, #fff 0%, #f3fbff 58%, #f0faef 100%); }
.mockup-home.intranet-home-v14 .landscape-tile { border: 2px solid rgba(9,164,222,.22); box-shadow: 0 12px 26px rgba(28,35,67,.13); }
.mockup-home.intranet-home-v14 .landscape-tile:hover { transform: translateY(-7px); border-color: var(--rape-green); }
.mockup-home.intranet-home-v14 .birthdays-section { background: linear-gradient(135deg, #fffdf3 0%, #fff7d8 100%); }
.mockup-home.intranet-home-v14 .birthday-card { border: 1px solid rgba(252,195,0,.35); box-shadow: 0 10px 22px rgba(147,18,17,.09); }
.mockup-home.intranet-home-v14 .agenda-block { border: 0; }
.mockup-home.intranet-home-v14 .agenda-intro { background: linear-gradient(145deg, #fcc300 0%, #f2a72b 100%); box-shadow: 0 18px 36px rgba(252,195,0,.26); }
.mockup-home.intranet-home-v14 .monthly-calendar-card { box-shadow: 0 15px 32px rgba(28,35,67,.1); }
.mockup-home.intranet-home-v14 .videos-section,
.mockup-home.intranet-home-v14 .sabias-section,
.mockup-home.intranet-home-v14 .values-section { border-width: 2px; }
.mockup-home.intranet-home-v14 .videos-section .section-overline { color: var(--rape-blue); }
.mockup-home.intranet-home-v14 .sabias-section .section-overline { color: var(--rape-brown); }
.mockup-home.intranet-home-v14 .values-section .section-overline { color: var(--rape-red); }
.mockup-home.intranet-home-v14 .home-resource-card,
.mockup-home.intranet-home-v14 .value-card { border: 1px solid rgba(28,35,67,.1); }
.mockup-home.intranet-home-v14 .home-resource-media img { transition: transform .35s ease; }
.mockup-home.intranet-home-v14 .home-resource-card:hover .home-resource-media img { transform: scale(1.045); }

@media (max-width: 700px) {
    .mockup-home.intranet-home-v14 .section-heading h2 { font-size: 28px; }
    .mockup-home.intranet-home-v14 .access-card { min-height: 130px; }
    .mockup-home.intranet-home-v14 .welcome-copy:after { width: 150px; height: 150px; right: -65px; bottom: -80px; border-width: 15px; }
}

/* v40 · composición basada en el mockup aprobado */
.mockup-home.intranet-home-v14 { font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; }
.mockup-home.intranet-home-v14 .welcome-copy h1 { font-weight: 800; }
.mockup-home.intranet-home-v14 .hero-title-highlight { color: var(--rape-yellow); }
.mockup-home.intranet-home-v14 #noticias { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.mockup-home.intranet-home-v14 #noticias .section-heading { margin-bottom: 13px; }
.mockup-home.intranet-home-v14 #noticias .section-heading h2,
.mockup-home.intranet-home-v14 #accesos .section-heading h2,
.mockup-home.intranet-home-v14 #campanas .section-heading h2,
.mockup-home.intranet-home-v14 #paisajes .section-heading h2,
.mockup-home.intranet-home-v14 #cumpleanos .section-heading h2 { color: var(--rape-navy) !important; }
.news-grid-mockup { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); grid-template-rows: repeat(3, minmax(78px, 1fr)); gap: 10px; }
.news-grid-mockup .news-card:first-child { grid-row: 1 / 4; min-height: 330px; position: relative; }
.news-grid-mockup .news-card:first-child .news-card-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; background-size: cover; }
.news-grid-mockup .news-card:first-child .news-card-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; padding: 22px; background: linear-gradient(180deg, transparent, rgba(28,35,67,.96)); color: #fff; }
.news-grid-mockup .news-card:first-child .news-card-copy h3 { max-width: 440px; margin: 8px 0; font-size: clamp(22px, 2.6vw, 32px); }
.news-grid-mockup .news-card:first-child .news-card-copy h3 a,
.news-grid-mockup .news-card:first-child .news-card-copy p,
.news-grid-mockup .news-card:first-child .news-card-copy .text-link { color: #fff; }
.news-grid-mockup .news-card:first-child .news-card-copy p { display: none; }
.news-grid-mockup .news-card:first-child .news-kicker { color: var(--rape-yellow); }
.news-grid-mockup .news-card:nth-child(n+2) { display: grid; grid-template-columns: 125px minmax(0, 1fr); min-height: 78px; border-radius: 14px; }
.news-grid-mockup .news-card:nth-child(n+2) .news-card-image { height: 100%; min-height: 78px; background-size: cover; }
.news-grid-mockup .news-card:nth-child(n+2) .news-card-copy { min-width: 0; padding: 12px 14px; }
.news-grid-mockup .news-card:nth-child(n+2) .news-kicker,
.news-grid-mockup .news-card:nth-child(n+2) .news-card-copy p,
.news-grid-mockup .news-card:nth-child(n+2) .text-link { display: none; }
.news-grid-mockup .news-card:nth-child(n+2) .news-card-copy h3 { margin: 0; font-size: 14px; line-height: 1.15; }
.news-grid-mockup .news-card:nth-child(n+2) .news-card-overlay { z-index: 4; }
.news-grid-mockup .news-card:nth-child(2) { border-left: 4px solid var(--rape-blue); }
.news-grid-mockup .news-card:nth-child(3) { border-left: 4px solid var(--rape-green); }
.news-grid-mockup .news-card:nth-child(4) { border-left: 4px solid var(--rape-yellow); }
.mockup-home.intranet-home-v14 #accesos { padding: 22px; }
.mockup-home.intranet-home-v14 #accesos .section-heading { margin-bottom: 12px; }
.mockup-home.intranet-home-v14 .access-card { min-height: 112px; padding: 14px; }
.mockup-home.intranet-home-v14 .access-card .access-icon { width: 28px; height: 28px; margin-bottom: auto; font-size: 14px; }
.mockup-home.intranet-home-v14 .access-card strong { font-size: 12px; }
.mockup-home.intranet-home-v14 .access-card small { font-size: 10px; }
.mockup-home.intranet-home-v14 #campanas { padding: 22px; }
.mockup-home.intranet-home-v14 .campaign-featured-media { min-height: 300px; }
.mockup-home.intranet-home-v14 .campaign-featured-copy h3 { font-size: clamp(29px, 3.5vw, 48px); }
.mockup-home.intranet-home-v14 .campaign-home-heading { margin: 22px 0 10px; }
.mockup-home.intranet-home-v14 .campaign-home-heading h3 { font-size: 18px; }
.mockup-home.intranet-home-v14 .campaign-home-card h3 { font-size: 12px; }
.mockup-home.intranet-home-v14 #valores { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 20px; align-items: center; padding: 20px 22px; }
.mockup-home.intranet-home-v14 #valores .section-heading { margin: 0; }
.mockup-home.intranet-home-v14 #valores .section-heading p { font-size: 11px; }
.mockup-home.intranet-home-v14 #valores .values-grid { grid-template-columns: 1fr; }
.mockup-home.intranet-home-v14 #valores .value-card { display: grid; grid-template-columns: 115px minmax(0, 1fr); }
.mockup-home.intranet-home-v14 #valores .value-card-image { min-height: 110px; }
.mockup-home.intranet-home-v14 #valores .value-card-copy { padding: 13px 16px; }
.mockup-home.intranet-home-v14 #valores .value-card-copy h3 { margin: 5px 0; font-size: 16px; }
.mockup-home.intranet-home-v14 #valores .value-card-copy p { min-height: 0; font-size: 11px; }
.mockup-home.intranet-home-v14 .dates-block { padding: 28px; }
.mockup-home.intranet-home-v14 .dates-block .section-heading h2 { color: #fff !important; font-size: clamp(28px, 4vw, 45px); line-height: 1.08; }
.mockup-home.intranet-home-v14 .dates-block .section-heading p { color: #dbe9ff !important; }
.mockup-home.intranet-home-v14 .dates-block .section-heading h2:after { background: linear-gradient(90deg, var(--rape-yellow), var(--rape-blue), var(--rape-green)); }
.mockup-home.intranet-home-v14 .date-card strong { font-size: 19px; }
.mockup-home.intranet-home-v14 #paisajes { padding: 22px; }
.mockup-home.intranet-home-v14 .landscape-strip { gap: 9px; }
.mockup-home.intranet-home-v14 .landscape-tile { min-height: 145px; border-radius: 13px; }
.mockup-home.intranet-home-v14 #cumpleanos { padding: 22px; }
.mockup-home.intranet-home-v14 #cumpleanos .section-heading { margin-bottom: 12px; }
.mockup-home.intranet-home-v14 .birthday-strip { gap: 9px; }
.mockup-home.intranet-home-v14 .birthday-card { border-radius: 12px; }
.mockup-home.intranet-home-v14 .birthday-art { min-height: 145px; }
.mockup-home.intranet-home-v14 #agenda { gap: 10px; }
.mockup-home.intranet-home-v14 .agenda-intro { padding: 22px; }
.mockup-home.intranet-home-v14 .agenda-intro h2 { font-size: 28px; }
.mockup-home.intranet-home-v14 .monthly-calendar-card { padding: 18px; }
.mockup-home.intranet-home-v14 #videos,
.mockup-home.intranet-home-v14 #sabias-que { padding: 22px; }
.mockup-home.intranet-home-v14 #videos .section-heading,
.mockup-home.intranet-home-v14 #sabias-que .section-heading { margin-bottom: 12px; }
.mockup-home.intranet-home-v14 .home-resource-media img,
.mockup-home.intranet-home-v14 .home-resource-media video { height: 170px; }
.mockup-home.intranet-home-v14 .home-resource-copy { padding: 13px; }
.mockup-home.intranet-home-v14 .home-resource-copy h3 { font-size: 13px; }
.mockup-home.intranet-home-v14 .home-resource-copy p { font-size: 11px; }
.mockup-home.intranet-home-v14 .section-more-link { font-size: 11px; }

@media (max-width: 800px) {
    .news-grid-mockup { grid-template-columns: 1fr; grid-template-rows: auto; }
    .news-grid-mockup .news-card:first-child { grid-row: auto; min-height: 300px; }
    .news-grid-mockup .news-card:nth-child(n+2) { min-height: 82px; }
    .mockup-home.intranet-home-v14 #valores { display: block; }
    .mockup-home.intranet-home-v14 #valores .values-grid { margin-top: 15px; }
}
@media (max-width: 550px) {
    .news-grid-mockup .news-card:nth-child(n+2) { grid-template-columns: 92px minmax(0, 1fr); }
    .news-grid-mockup .news-card:nth-child(n+2) .news-card-image { min-height: 82px; }
}

/* v41 · ajuste fino de imagen, contraste y tarjetas según el mockup aprobado */
.mockup-home.intranet-home-v14 .welcome-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 430px;
    background: var(--rape-navy);
}
.mockup-home.intranet-home-v14 .welcome-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #1c2343 0%, #202d5c 58%, #315e9b 100%);
}
.mockup-home.intranet-home-v14 .welcome-image {
    min-height: 430px;
    background-color: #2d5f9b;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.mockup-home.intranet-home-v14 .welcome-image:after {
    background: linear-gradient(90deg, rgba(28,35,67,.36), rgba(9,164,222,.02) 48%, rgba(28,35,67,.08));
}

/* La noticia destacada siempre ocupa todo su lienzo y deja el texto sobre una base oscura. */
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child {
    isolation: isolate;
    background: var(--rape-navy);
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child .news-card-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center top;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child .news-card-copy {
    min-height: 185px;
    background: linear-gradient(180deg, rgba(28,35,67,.08) 0%, rgba(28,35,67,.62) 35%, rgba(28,35,67,.98) 100%);
}

/* Cumpleaños: encabezado corto, tarjetas proporcionales y espacio útil para el saludo. */
.mockup-home.intranet-home-v14 #cumpleanos {
    padding: 24px;
    background: linear-gradient(135deg, #fffdf3 0%, #fff7d8 100%);
}
.mockup-home.intranet-home-v14 #cumpleanos .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
    margin-bottom: 16px;
}
.mockup-home.intranet-home-v14 #cumpleanos .section-heading p {
    max-width: 960px;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
}
.mockup-home.intranet-home-v14 #cumpleanos .section-heading > a {
    max-width: 150px;
    font-size: 12px;
    line-height: 1.35;
}
.mockup-home.intranet-home-v14 .birthday-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.mockup-home.intranet-home-v14 .birthday-card {
    overflow: hidden;
    border: 1px solid rgba(252,195,0,.42);
    border-radius: 17px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 9px 22px rgba(147,18,17,.08);
}
.mockup-home.intranet-home-v14 .birthday-art {
    min-height: 205px;
    height: 205px;
    border-radius: 15px 15px 0 0;
    background-position: center top;
}
.mockup-home.intranet-home-v14 .birthday-card-name {
    min-height: 39px;
    margin: 0;
    padding: 10px 12px 0;
    color: var(--rape-navy);
    font-size: 13px;
    line-height: 1.2;
}
.mockup-home.intranet-home-v14 .birthday-meta {
    margin-top: 0;
    padding: 9px 12px 12px;
}
.mockup-home.intranet-home-v14 .birthday-greeting-link {
    padding: 7px 10px;
    border-color: var(--rape-green);
    border-radius: 999px;
    color: var(--rape-green);
    font-size: 10px;
}

@media (max-width: 800px) {
    .mockup-home.intranet-home-v14 .welcome-block { grid-template-columns: 1fr; min-height: 0; }
    .mockup-home.intranet-home-v14 .welcome-image { min-height: 300px; }
    .mockup-home.intranet-home-v14 #cumpleanos .section-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
    .mockup-home.intranet-home-v14 .birthday-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
    .mockup-home.intranet-home-v14 .birthday-strip { grid-template-columns: 1fr; }
    .mockup-home.intranet-home-v14 .birthday-art { height: 230px; min-height: 230px; }
}

/* v42 · imágenes completas y composición estable, sin recortes ni filas estiradas */
.mockup-home.intranet-home-v14 .welcome-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 440px;
    background: var(--rape-navy);
}
.mockup-home.intranet-home-v14 .welcome-copy {
    min-width: 0;
    justify-content: center;
    background: linear-gradient(145deg, #1c2343 0%, #202d5c 58%, #315e9b 100%);
}
.mockup-home.intranet-home-v14 .welcome-image {
    min-width: 0;
    min-height: 440px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d5f9b;
}
.mockup-home.intranet-home-v14 .welcome-image-photo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
}
.mockup-home.intranet-home-v14 .welcome-image:after {
    background: linear-gradient(90deg, rgba(28,35,67,.28), rgba(9,164,222,0) 48%, rgba(28,35,67,.12));
}

/* Noticias: altura fija para que las tres tarjetas laterales no se vuelvan bloques blancos. */
.mockup-home.intranet-home-v14 .news-grid-mockup {
    height: 560px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child {
    min-height: 0;
    height: 100%;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child .news-card-image,
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) .news-card-image {
    display: block;
    overflow: hidden;
    background: #e8eef4;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    background: #e8eef4;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child .news-card-image img {
    background: #1c2343;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) {
    min-height: 0;
    height: 100%;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) .news-card-image {
    min-height: 0;
    height: 100%;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child .news-card-copy {
    min-height: 190px;
    background: linear-gradient(180deg, rgba(28,35,67,.06) 0%, rgba(28,35,67,.68) 38%, rgba(28,35,67,.98) 100%);
}

/* Cumpleaños: la pieza completa se muestra como imagen, no como fondo recortado. */
.mockup-home.intranet-home-v14 .birthday-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.mockup-home.intranet-home-v14 .birthday-open {
    display: block;
}
.mockup-home.intranet-home-v14 .birthday-art {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #edf1f4;
}
.mockup-home.intranet-home-v14 .birthday-art img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center top;
}
.mockup-home.intranet-home-v14 .birthday-art > span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.9);
    color: var(--rape-navy);
    font-size: 10px;
    font-weight: 800;
}
.mockup-home.intranet-home-v14 .birthday-card-name {
    flex: 1 1 auto;
}

@media (max-width: 800px) {
    .mockup-home.intranet-home-v14 .welcome-block { grid-template-columns: 1fr; min-height: 0; }
    .mockup-home.intranet-home-v14 .welcome-image { min-height: 310px; }
    .mockup-home.intranet-home-v14 .news-grid-mockup { height: auto; grid-template-rows: none; }
    .mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child { min-height: 390px; height: 390px; }
    .mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) { min-height: 105px; height: 105px; }
}
@media (max-width: 500px) {
    .mockup-home.intranet-home-v14 .birthday-art { height: auto; min-height: 0; }
}

/* v43 · portada hero sin bandas, portada de noticia visible y agenda bajo demanda */
.mockup-home.intranet-home-v14 .welcome-image-photo {
    object-fit: cover;
    object-position: center;
}
.mockup-home.intranet-home-v14 .welcome-image:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(28,35,67,.24), rgba(28,35,67,.04) 55%, rgba(28,35,67,.13));
    pointer-events: none;
}
.mockup-home.intranet-home-v14 .welcome-image:after {
    z-index: 1;
    background: linear-gradient(180deg, rgba(28,35,67,.05), rgba(28,35,67,.16));
    pointer-events: none;
}
.mockup-home.intranet-home-v14 .welcome-image-label { z-index: 2; }

.news-detail-cover {
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #edf4ef;
}
.news-detail-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 780px;
    object-fit: contain;
    background: #edf4ef;
}
.news-detail-cover figcaption {
    display: block;
    margin: 0;
    padding: 12px 42px;
    color: #1d6047;
    font-size: 11px;
    font-weight: 800;
    background: #f4f8f3;
}

.calendar-detail:empty { display: none; }
.calendar-detail:not(:empty) { margin-top: 10px; }

@media (max-width: 800px) {
    .mockup-home.intranet-home-v14 .welcome-image { min-height: 310px; }
    .news-detail-cover img { max-height: none; }
    .news-detail-cover figcaption { padding: 10px 22px; }
}

/* v44 · noticias más visuales y fechas especiales editables con imagen */
.mockup-home.intranet-home-v14 .news-grid-mockup {
    height: 500px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child {
    height: 500px;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) {
    display: grid;
    grid-template-columns: minmax(170px, 42%) minmax(0, 1fr);
    min-height: 0;
    height: 100%;
    align-items: stretch;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) .news-card-image {
    min-height: 0;
    height: 100%;
    background: #e6edf4;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) .news-card-image img {
    object-fit: contain;
    background: #e6edf4;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) .news-card-copy {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
}
.mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) .news-card-copy h3 {
    font-size: clamp(15px, 1.45vw, 20px);
    line-height: 1.15;
}

.special-date-card {
    overflow: hidden;
    padding: 0 0 42px;
    border-radius: 26px;
    background: #fff;
}
.special-date-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 44px 0;
}
.special-date-topline time {
    color: #52647b;
    font-size: 13px;
    font-weight: 700;
}
.special-date-card > h1 {
    max-width: 1050px;
    margin: 14px 44px 30px;
    color: var(--rape-navy, #1c2343);
    font-family: Montserrat, sans-serif;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.06em;
}
.special-date-cover {
    margin: 0;
    padding: 18px 44px;
    background: linear-gradient(135deg, #eef6fb, #fff8dc);
}
.special-date-cover img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    border-radius: 16px;
    background: #edf3f7;
}
.special-date-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 42px;
    padding: 38px 44px 0;
}
.special-date-content {
    max-width: 820px;
    color: #253b55;
    font-size: 18px;
    line-height: 1.75;
}
.special-date-content p { margin: 0 0 22px; }
.special-date-content strong, .special-date-content h2, .special-date-content h3 { color: var(--rape-navy, #1c2343); }
.special-date-aside {
    align-self: start;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(145deg, #e9f5ff, #edf8ef);
    color: #1c2343;
}
.special-date-aside strong { display: block; margin-bottom: 9px; font-family: Montserrat, sans-serif; font-size: 18px; }
.special-date-aside p { margin: 0 0 18px; color: #52647b; font-size: 13px; line-height: 1.55; }

@media (max-width: 800px) {
    .mockup-home.intranet-home-v14 .news-grid-mockup { height: auto; }
    .mockup-home.intranet-home-v14 .news-grid-mockup .news-card:first-child { height: 390px; }
    .mockup-home.intranet-home-v14 .news-grid-mockup .news-card:nth-child(n+2) { height: 125px; grid-template-columns: 38% minmax(0, 1fr); }
    .special-date-topline { align-items: flex-start; flex-direction: column; padding: 26px 22px 0; gap: 8px; }
    .special-date-card > h1 { margin: 12px 22px 24px; font-size: 40px; }
    .special-date-cover { padding: 12px 22px; }
    .special-date-layout { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px 0; }
    .special-date-content { font-size: 16px; }
}
