/* FILOUNGE · interfaz según maquetas aprobadas · web escritorio / móvil */
:root{--ref-deep:#062e45;--ref-ink:#071f39;--ref-teal:#078b84;--ref-gold:#c3a36d;--ref-light:#faf8f5;--ref-rule:#e4e6e5}
.page-home{background:#f7f7f6;color:#162b3c;font:400 13px/1.55 'DM Sans',sans-serif}
.page-home .topbar{margin-left:220px;background:#fcfbf9;border-bottom:1px solid #e5e4e3;box-shadow:none;position:sticky;top:0;z-index:30}
.page-home .top-inner{max-width:none;min-height:68px;height:68px;padding:0 22px;gap:18px}
.page-home .top-inner>.brand{display:none}
.page-home .top-nav{display:flex;gap:20px;align-items:center;margin-left:auto}
.page-home .top-nav a{display:flex;align-items:center;gap:5px;flex-direction:column;text-align:center;white-space:nowrap;font-size:10px;color:#46526a;font-weight:600;letter-spacing:0;min-width:56px}
.page-home .top-nav a svg{height:19px;width:19px;color:#122b41}
.page-home .top-nav a.active{color:#0a2641}
.page-home .top-nav a.active:after{display:none}
.page-home .top-nav a:hover{color:#07877e}
.page-home .ref-global-search{display:flex;align-items:center;gap:10px;background:#f1f1f2;border:1px solid #e4e4e5;border-radius:30px;padding:0 14px;height:40px;min-width:180px;width:clamp(190px,24vw,390px);color:#718296}
.page-home .ref-global-search input{border:0;background:transparent;width:100%;outline:0;font:400 11px 'DM Sans',sans-serif;color:#24384e}
.page-home .ref-global-search input::placeholder{color:#929ca7}
.page-home .account-actions{gap:10px;margin-left:0}
.page-home .account-label{max-width:80px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:11px}
.page-home .small-avatar{width:31px;height:31px;background:#e4d9c4;border:1px solid #c9bca9;border-radius:50%}
.page-home .login-link{font-size:11px}
.page-home .btn.btn-small{background:#0b2e43;border:0;border-radius:5px;min-height:36px;padding:9px 12px;font-size:10px;color:#fff}
.page-home .btn.btn-small:hover{background:#136076}
.page-home .account-actions .logout button{font-size:10px}
/* Desktop layout */
.reference-desktop{display:block}
.reference-mobile,.ref-mobile-head-icons{display:none}
.reference-rail{position:fixed;top:0;left:0;bottom:0;width:220px;overflow-y:auto;z-index:31;background:
 radial-gradient(ellipse at -45% 86%,#0d59726b,transparent 55%),linear-gradient(157deg,#041d34 0%,#052e48 70%,#042b43 100%);color:#f8f9fb;padding:20px 13px 18px;scrollbar-width:thin;scrollbar-color:#426173 transparent;display:flex;flex-direction:column}
.rail-brand{display:block;color:#fff!important;font:400 29px/1.2 'Libre Baskerville',Georgia,serif;letter-spacing:-1.6px;padding:2px 12px 23px;white-space:nowrap}
.rail-brand span{color:#cfbd6a}
.rail-brand small{display:block;font:400 10px/1.4 'DM Sans',sans-serif;letter-spacing:.3px;color:#c4cfdd;margin-top:7px;white-space:normal}
.rail-navigation{display:flex;flex-direction:column;gap:3px}
.rail-navigation a{display:flex;align-items:center;gap:13px;padding:10px 12px;border-radius:7px;color:#e7eff7;font-size:12px;font-weight:600;white-space:nowrap}
.rail-navigation a svg{color:#e8eff6;flex:none;width:18px;height:18px}
.rail-navigation a.is-here,.rail-navigation a:hover{background:#e7d4b5;color:#142e45}
.rail-navigation a.is-here svg,.rail-navigation a:hover svg{color:#122c43}
.rail-interests{margin:16px 6px}
.rail-interests>span{color:#d5dfe7;font-size:10px;font-weight:700;letter-spacing:.7px}
.rail-interests>div{margin-top:10px;display:flex;flex-wrap:wrap;gap:7px}
.rail-interests a{background:#184761;color:#e6edf3;border:1px solid #2e5a71;border-radius:30px;padding:5px 11px;font-size:10px}
.rail-interests a:hover{background:#316987}
.rail-bottom{margin:auto 9px 20px;min-height:170px;display:flex;flex-direction:column;justify-content:flex-end;color:#d2b781}
.rail-illustration{font:400 57px 'Libre Baskerville',serif;color:#d1b275;margin-bottom:4px;text-align:center}
.rail-bottom blockquote{font:italic 15px/1.55 'Libre Baskerville',serif;color:#fff0dc;margin:0 0 17px}
.rail-bottom>span{font-size:8px;letter-spacing:1.2px;color:#d5dfdc}
.rail-create{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:34px;padding:11px;color:#082e3c!important;background:linear-gradient(100deg,#01b7dc,#38c36e);font-weight:800;font-size:13px;margin:0 6px 0}
.rail-create:hover{filter:brightness(1.1)}
.reference-main{margin-left:220px;padding:13px 16px 42px;max-width:none}
.reference-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:15px;align-items:start}
.reference-content,.reference-right{min-width:0}
.reference-hero{height:284px;overflow:hidden;position:relative;border-radius:12px;background:#d5c7af;isolation:isolate}
.reference-hero-picture{position:absolute;inset:0;background-image:linear-gradient(90deg,#f6f0e8 0%,#f5eee5e8 36%,#f5eee565 66%,#051e2c29 100%),url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1280&q=88');background-position:center,center;background-size:cover;z-index:-2}
.reference-hero-picture:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(250,244,233,.75),transparent 70%);z-index:1}
.reference-hero-copy{position:relative;padding:27px 31px 16px;z-index:2;max-width:70%}
.ref-topword{color:#0b977e;font-size:9px;font-weight:800;letter-spacing:2.4px}
.reference-hero h1{font:400 clamp(26px,2.7vw,39px)/1.26 'Libre Baskerville',Georgia,serif;letter-spacing:-1.45px;color:#092b44;margin:11px 0 10px}
.reference-hero h1 em{font-style:normal;color:#967942}
.reference-hero-copy>p{font-size:12px;line-height:1.7;max-width:430px;color:#244358;margin:0}
.ref-hero-actions{display:flex;gap:12px;align-items:center;margin:18px 0 15px}
.ref-green-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(90deg,#10aaa4,#46bf65);border:0;color:#fff!important;border-radius:25px;min-height:36px;padding:10px 16px;font-size:11px;font-weight:800;white-space:nowrap}
.ref-green-button:hover{filter:brightness(.92)}
.ref-outline-button{display:inline-flex;align-items:center;justify-content:center;background:#fffcf7a8;color:#163142!important;border:1px solid #baa272;border-radius:24px;min-height:36px;padding:10px 19px;font-size:11px;font-weight:800}
.ref-hero-values{display:flex;align-items:center;gap:21px;flex-wrap:wrap;margin-top:13px;font-size:10px;font-weight:800;color:#152f40}
.ref-hero-values span{display:flex;gap:7px;align-items:center;white-space:nowrap}
.ref-hero-values svg{width:19px;height:19px}
.ref-hero-quote{position:absolute;right:14px;top:89px;color:#fcfaf4;max-width:150px;text-shadow:0 2px 7px #000b;font:italic 13px/1.6 'Libre Baskerville',Georgia,serif;text-align:center}
.ref-hero-quote span{display:block;font:800 8px 'DM Sans',sans-serif;letter-spacing:1px;color:#d0af72;margin-top:10px}
.reference-spotlight{border:1px solid #ebebec;border-radius:11px;background:#fff;padding:16px 16px 17px;margin-top:13px;box-shadow:0 6px 25px #18284708}
.ref-heading-row{display:flex;align-items:center;justify-content:space-between;gap:15px}
.ref-heading-row h2{margin:0;font:800 16px/1.4 'DM Sans',sans-serif;color:#132e43}
.ref-heading-row>a{display:flex;gap:5px;align-items:center;color:#365ce0;font-size:10px;font-weight:700}
.ref-content-tabs{display:flex;gap:22px;align-items:center;overflow-x:auto;border-bottom:1px solid #eceff1;margin:10px 0 13px;scrollbar-width:none}
.ref-content-tabs a{display:block;white-space:nowrap;font-size:10px;color:#314967;padding:8px 3px;font-weight:700;border-bottom:2px solid transparent}
.ref-content-tabs a.selected{border-bottom-color:#1c5ef4;color:#1b376d}
.ref-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ref-feature-card{border:1px solid #e5e8ec;border-radius:9px;min-width:0;overflow:hidden;background:#fff;box-shadow:0 3px 12px #16283d0a}
.ref-feature-image{height:110px;display:block;position:relative;overflow:hidden}
.ref-feature-image img{width:100%;height:100%;object-fit:cover}
.ref-feature-tag{position:absolute;bottom:5px;left:5px;background:#153d4d;color:#fff;border-radius:3px;padding:3px 5px;font-size:8px;font-weight:700;max-width:95%}
.ref-feature-body{padding:10px;display:flex;flex-direction:column;min-height:127px}
.ref-feature-body h3{font:800 12px/1.4 'DM Sans',sans-serif;color:#152e40;margin:0 0 10px;flex:1}
.ref-feature-body small{font-size:9px;color:#8d9aa6}
.ref-feature-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:9px;margin-top:8px;border-top:1px solid #f1f2f4}
.ref-feature-bottom a{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#294866;font-weight:600}
.ref-feature-bottom svg{width:15px;height:15px}
.reference-feed{margin-top:20px;background:#fff;border:1px solid #e7e7e7;border-radius:11px;padding:19px}
.reference-feed .post-card{margin-top:15px}
.ref-composer{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;border:1px solid #e8ebed;border-radius:9px;padding:14px;margin:14px 0}
.ref-composer label{display:block;font-weight:700;font-size:12px;width:100%}
.ref-composer textarea{background:#fafafa;border:1px solid #e1e4e6;border-radius:7px;padding:12px;flex:1;min-width:160px}
.ref-composer button{cursor:pointer}
.ref-feature-empty{background:#f7f8f8;border:1px solid #edf0f0;border-radius:8px;padding:20px;margin-top:13px}
.ref-feature-empty h3{font:700 17px/1.4 'Libre Baskerville',Georgia,serif;color:#19384a}
.ref-feature-empty p{font-size:12px;color:#687a82}
.ref-feature-empty>a{font-weight:700;color:#136774}
.reference-right{display:flex;flex-direction:column;gap:12px}
.ref-widget{background:#fff;border:1px solid #e7eaeb;border-radius:10px;padding:15px;box-shadow:0 5px 20px #101d2d05}
.ref-widget-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.ref-widget-title h2{margin:0;font-size:12px;font-weight:800;color:#132d40}
.ref-widget-title h2 small{color:#9b7f4e;font-size:8px;padding-left:2px}
.ref-widget-title>a{font-size:10px;color:#365bd9;white-space:nowrap}
.ref-campus-chip{display:flex;align-items:center;gap:9px;padding:10px 9px;background:#fafafa;border:1px solid #e7e9ed;border-radius:9px}
.ref-campus-symbol{height:36px;width:36px;display:grid;place-items:center;background:linear-gradient(160deg,#0d4d95,#11355a);border-radius:9px;color:#fff;flex:none}
.ref-campus-chip>span:nth-child(2){flex:1;min-width:0}
.ref-campus-chip strong,.ref-campus-chip small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-campus-chip strong{font-size:11px;color:#15304c}
.ref-campus-chip small{font-size:9px;color:#7c8fa4}
.ref-campus-chip b,.ref-academic-item b{color:#698095;font-size:16px}
.ref-academic-item{display:flex;align-items:center;gap:12px;padding:10px 5px;border-bottom:1px solid #eef0f1;color:#23415b}
.ref-academic-item:last-child{border-bottom:0}
.ref-academic-item svg{height:17px;width:17px}
.ref-academic-item span{flex:1;font-size:10px;font-weight:650}
.ref-academic-item b{font-weight:400}
.demo-mini-label{display:block;font-size:8px;color:#9e8e7f;font-weight:800;letter-spacing:.8px;margin:4px 0 7px}
.ref-event{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eceeef}
.ref-event:last-child{border-bottom:0}
.ref-event-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:40px;height:46px;background:#f4f5f6;border-radius:7px;color:#152f49}
.ref-event-date b{font-size:20px;line-height:1}
.ref-event-date small{font-size:8px}
.ref-event>span:last-child{flex:1;min-width:0}
.ref-event strong{display:block;font-size:11px;line-height:1.5}
.ref-event>span:last-child small{display:block;font-size:9px;margin-top:5px;color:#677f9c}
.ref-recommended{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #eff0f1}
.ref-recommended:last-child{border-bottom:0}
.ref-recommended>img{height:38px;width:38px;object-fit:cover;border-radius:8px;flex:none}
.ref-recommended>span{flex:1;min-width:0}
.ref-recommended strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
.ref-recommended small{font-size:8px;color:#7d90a4;display:block}
.ref-recommended>b{font-size:9px;padding:6px 8px;border-radius:5px;background:#f1eadc;color:#7e653f}
.reference-bottom-blocks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:17px}
.ref-lower-panel{min-width:0;border:1px solid #e6e8e7;background:#fff;border-radius:11px;overflow:hidden;display:flex;flex-direction:column}
.ref-lower-title{display:flex;align-items:flex-start;gap:11px;background:#06384e;color:#fff;padding:15px 14px;min-height:89px}
.ref-lower-title>div{min-width:0}
.ref-lower-icon{width:36px;height:36px;border:1px solid #a8ae88;border-radius:50%;flex:none;display:grid;place-items:center;color:#d9c886}
.ref-lower-title h2{font:400 16px/1.4 'Libre Baskerville',Georgia,serif;margin:0 0 4px;color:#fff}
.ref-lower-title p{font-size:10px;line-height:1.4;color:#cde6e5;margin:0}
.ref-lower-body{padding:13px;flex:1}
.ref-mini-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}
.ref-mini-tags a{background:#e9edf3;color:#1a3850;padding:5px 6px;border-radius:4px;font-size:9px}
.ref-mini-tags a:hover{background:#c9d9eb}
.ref-lower-thumbnails{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.ref-lower-thumbnails a{position:relative;height:110px;overflow:hidden;border-radius:6px;color:#fff}
.ref-lower-thumbnails img{width:100%;height:100%;object-fit:cover}
.ref-lower-thumbnails a:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#000b)}
.ref-lower-thumbnails a>span{position:absolute;bottom:7px;left:5px;right:5px;z-index:1;font-size:9px;font-weight:800;line-height:1.3}
.ref-lower-link{display:inline-block;font-size:10px;color:#2862bc;font-weight:800;margin-top:13px}
.ref-mini-community{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #edf1f1}
.ref-mini-community img{height:31px;width:31px;object-fit:cover;border-radius:50%;flex:none}
.ref-mini-community>span:nth-child(2){flex:1;min-width:0}
.ref-mini-community strong{font-size:10px;display:block}
.ref-mini-community small{font-size:9px;color:#788c9b;display:block}
.ref-mini-community>span:last-child{color:#315edb;font-size:9px;white-space:nowrap}
.ref-profile-cover{height:88px;background:linear-gradient(90deg,#173956ba,#17395644),url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=550&q=80');background-size:cover;background-position:center;border-radius:6px}
.ref-profile-row{display:flex;gap:9px;align-items:center;margin:-20px 8px 10px;position:relative}
.ref-profile-initial{height:50px;width:50px;display:grid;place-items:center;border-radius:50%;background:#e5dbce;border:4px solid #fff;font:700 25px 'Libre Baskerville',serif;color:#29475a}
.ref-profile-row>div:last-child{margin-top:19px}
.ref-profile-row strong,.ref-profile-row small{display:block}
.ref-profile-row strong{font-size:11px}
.ref-profile-row small{font-size:9px;color:#7c89a1}
.ref-profile-preview>p,.ref-lower-body>p{font-size:11px;color:#768997;line-height:1.5}
.ref-campus-image{height:100px;position:relative;overflow:hidden;border-radius:7px;margin-bottom:10px}
.ref-campus-image img{width:100%;height:100%;object-fit:cover}
.ref-campus-image span{position:absolute;top:8px;right:8px;background:#173f58ce;color:white;padding:3px 7px;font-size:9px;border-radius:4px}
.ref-lower-body>strong{font-size:11px;color:#203e53}
.page-home .site-footer{margin-left:220px;background:#062b40;padding-bottom:36px;border-top:2px solid #86a69d}
/* Alternate dedicated mobile experience matched to approved phone concept */
@media(min-width:1260px){.ref-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1650px){
.reference-main-grid{grid-template-columns:minmax(0,1fr) 330px}
.reference-main{padding:15px 24px 50px}
.reference-hero{height:335px}
.ref-feature-image{height:150px}
.ref-feature-body{min-height:148px}
}
@media(min-width:801px) and (max-width:1190px){
.reference-main-grid{grid-template-columns:minmax(0,1fr) 230px;gap:10px}
.reference-main{padding:12px}
.reference-hero-copy{max-width:84%}
.reference-hero h1{font-size:27px}
.ref-hero-quote{display:none}
.ref-hero-values{gap:11px}
.ref-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.reference-bottom-blocks{grid-template-columns:repeat(2,minmax(0,1fr))}
.page-home .top-nav{gap:8px}
.page-home .top-nav a{min-width:44px}
.page-home .ref-global-search{min-width:130px;width:20vw}
}
@media(max-width:800px){
.page-home .topbar{margin-left:0;height:64px;z-index:30;box-shadow:none;background:#fff}
.page-home .top-inner{height:64px;min-height:64px;padding:0 17px;gap:10px}
.page-home .top-inner>.brand{display:flex;font:400 25px/1.1 'Libre Baskerville',Georgia,serif;letter-spacing:-1.8px;color:#0d293e}
.page-home .brand-square,.page-home .brand small{display:none}
.page-home .brand-green{color:#b99a64}
.page-home .top-nav,.page-home .ref-global-search,.page-home .account-actions{display:none}
.page-home .ref-mobile-head-icons{display:flex;align-items:center;gap:17px;margin-left:auto}
.ref-mobile-head-icons>a{display:grid;place-items:center;color:#20374d}
.ref-mobile-head-icons>a:last-child{height:29px;width:29px;border-radius:50%;background:#ddcbbb;color:#294458}
.reference-desktop{display:none}
.reference-mobile{display:block;background:#fcfaf7;max-width:580px;min-height:90vh;margin:auto;padding:0 13px 95px}
.ref-mobile-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;align-items:center;padding:13px 0 12px}
.ref-mobile-menu>a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px;color:#273f53;font-weight:700;text-align:center;background:#f7f6f5;border-radius:11px;min-height:58px}
.ref-mobile-menu>a.selected{color:#0d2e53;background:#edf1f8}
.ref-mobile-menu>a svg{height:21px;width:21px}
.ref-mobile-hero{height:295px;position:relative;overflow:hidden;border-radius:11px;background:linear-gradient(135deg,#123d52,#417075);isolation:isolate}
.ref-mobile-hero-image{position:absolute;inset:0;background-image:linear-gradient(90deg,#07374fcb,#06465788 56%,#1e5e463a),url('https://images.unsplash.com/photo-1532012197267-da84d127e765?auto=format&fit=crop&w=850&q=85');background-size:cover;background-position:center;z-index:-1}
.ref-mobile-hero-image:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 65% 35%,transparent 15%,#052d3855 89%)}
.ref-mobile-hero-copy{padding:24px 19px;color:#fff;position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;height:100%}
.ref-mobile-hero-copy>span{font-size:9px;color:#e4cb85;letter-spacing:3px;font-weight:800}
.ref-mobile-hero-copy h1{font:400 clamp(28px,7.1vw,41px)/1.22 'Libre Baskerville',Georgia,serif;letter-spacing:-1.1px;color:#fff8eb;margin:23px 0 9px;text-shadow:0 2px 10px #092d42b5}
.ref-mobile-hero-copy h1 em{font-style:normal;color:#e1bc76}
.ref-mobile-hero-copy p{font-size:10px;color:#f0f8f3;max-width:170px;margin:0;line-height:1.55;text-shadow:0 1px 5px #092c3aa6}
.ref-mobile-hero-copy>a{position:absolute;right:17px;top:54%;transform:translateY(-50%);height:30px;width:30px;display:grid;place-items:center;border-radius:50%;border:1px solid #e2c990;background:#073649ae;color:#e7c886;font-size:20px;font-weight:600}
.ref-mobile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:11px 0 18px}
.ref-mobile-actions a{background:white;border:1px solid #f1f0ef;border-radius:9px;display:grid;justify-items:center;gap:9px;padding:17px 8px 15px;color:#152e41;box-shadow:0 4px 13px #18384b0b;font-size:11px;font-weight:800}
.ref-mobile-actions svg{height:22px;width:22px;color:#18364e}
.ref-mobile-section{padding:14px 2px 19px}
.ref-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.ref-mobile-heading h2{margin:0;font-size:14px;font-weight:800;color:#162c40}
.ref-mobile-heading a{font-size:10px;color:#4264d4;font-weight:600;white-space:nowrap}
.ref-demo-tag{display:inline-block;color:#8b876c;font-size:9px;letter-spacing:.8px;font-weight:750;margin-bottom:8px}
.ref-mobile-activity-row{display:flex;align-items:center;gap:12px;padding:9px 0;min-height:51px;color:#233848}
.ref-mobile-activity-symbol{background:#168363;color:#fff;border-radius:50%;display:grid;place-items:center;height:32px;width:32px;flex:none}
.ref-mobile-activity-symbol.ref-blue{background:#2b69d9}
.ref-mobile-activity-symbol.ref-purple{background:#7158cd}
.ref-mobile-activity-row>span:last-child{font-size:11px;font-weight:600}
.ref-mobile-activity-row small{display:block;font-size:10px;color:#718198;margin-top:3px}
.ref-mobile-alert{border-left:3px solid #19917a;background:#e9f5f1;display:flex;align-items:center;gap:10px;font-size:10px;padding:11px;margin-bottom:10px}
.ref-mobile-alert a{color:#17726a;margin-left:auto;font-weight:700}
.ref-mobile-community-row{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}
.ref-mobile-community-row>a{min-width:105px;width:105px;flex-shrink:0;color:#1b3545}
.ref-mobile-community-row img{width:100%;height:83px;object-fit:cover;border-radius:9px;display:block;margin-bottom:7px}
.ref-mobile-community-row strong{font-size:10px;line-height:1.3;display:block;min-height:27px}
.ref-mobile-community-row small{display:block;font-size:9px;color:#7688a0;margin-top:3px}
.ref-mobile-posts{padding-bottom:25px}
.ref-mobile-post-form{background:#fff;border:1px solid #e5e8e9;border-radius:11px;padding:14px;display:grid;gap:9px;margin-bottom:15px}
.ref-mobile-post-form label{font-size:11px;font-weight:700}
.ref-mobile-post-form textarea{width:100%;border:1px solid #e4e7e9;background:#f8f9fa;border-radius:7px;font:400 12px 'DM Sans',sans-serif;padding:10px}
.ref-mobile-post-form button{justify-self:end;background:#0e958a;color:#fff;border:0;border-radius:15px;padding:9px 15px;font-size:11px}
.ref-mobile-demo-post{background:#fff;border:1px solid #e9eaed;border-radius:11px;padding:13px;margin-bottom:12px}
.ref-mobile-post-head{display:flex;align-items:center;gap:10px}
.ref-mobile-avatar{height:33px;width:33px;display:grid;place-items:center;flex:none;border-radius:50%;background:#dfe9f0;color:#134963;font-size:10px;font-weight:800}
.ref-mobile-post-head>div:last-child{flex:1}
.ref-mobile-post-head strong{font-size:10px;color:#173950;display:block}
.ref-mobile-post-head small{font-size:9px;color:#728293;display:block;margin-top:2px}
.ref-mobile-demo-post h3{font-size:12px;color:#102f49;margin:10px 0 7px}
.ref-mobile-demo-post p{font-size:11px;line-height:1.5;color:#3e5361;margin:0 0 11px}
.ref-mobile-post-image{display:block;max-height:180px;overflow:hidden;border-radius:8px}
.ref-mobile-post-image img{width:100%;height:170px;object-fit:cover;display:block}
.ref-mobile-post-footer{display:flex;gap:27px;padding-top:11px}
.ref-mobile-post-footer a{display:flex;align-items:center;gap:5px;font-size:10px;color:#506f83}
.page-home .mobile-nav{height:69px;padding:6px 5px calc(8px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -5px 25px #0e2c3d10;border-top:1px solid #e6e8eb;z-index:40}
.page-home .mobile-nav>a{font-size:9px;color:#2d4761;font-weight:750;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:54px}
.page-home .mobile-nav>a svg{height:22px;width:22px;color:#1a3b58}
.page-home .mobile-nav>a.ref-mobile-add svg{width:43px;height:43px;border-radius:50%;padding:10px;background:linear-gradient(135deg,#b99448,#d5bc78);color:#fff;box-shadow:0 4px 12px #73612830}
.page-home .mobile-nav>a.ref-mobile-add{position:relative}
.page-home .mobile-nav>a.ref-mobile-add span{position:absolute;bottom:-9px;color:#586981;font-size:9px}
.page-home .mobile-nav>a.selected{color:#155bd0}
.page-home .site-footer{margin-left:0;padding:30px 15px 115px}
}
@media(max-width:380px){
.page-home .top-inner>.brand{font-size:22px}
.ref-mobile-menu{gap:4px}
.ref-mobile-menu>a{font-size:9px}
.ref-mobile-hero{height:267px}
.ref-mobile-hero-copy h1{margin-top:17px}
.ref-mobile-actions a{padding:14px 7px}
.ref-mobile-community-row>a{min-width:100px;width:100px}
}
@media(min-width:801px) and (max-height:760px){
.reference-rail{position:fixed}
.rail-navigation a{padding:7px 12px}
.rail-interests{margin:7px 6px}
.rail-bottom{min-height:85px}
.rail-bottom blockquote{font-size:12px}
.rail-illustration{font-size:30px}
}
@media(prefers-reduced-motion:reduce){.page-home *{transition:none!important}}

/* Navegación y catálogo: rutas reales con la misma identidad */
.ref-subpage{max-width:1310px;margin:0 auto;min-height:65vh;padding:50px 25px 90px}
.ref-subpage-head{background:#0b3348;color:#fff;border-radius:10px;position:relative;padding:43px clamp(23px,5vw,66px);margin-bottom:28px;overflow:hidden;background-image:linear-gradient(90deg,#103043ec,#123647bd),url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1400&q=80');background-size:cover;background-position:center}
.ref-subpage-head .overline{color:#d0b685}
.ref-subpage-head h1{font:400 clamp(30px,3.6vw,48px)/1.3 'Libre Baskerville',Georgia,serif;color:#fff;margin:17px 0}
.ref-subpage-head p{font-size:13px;line-height:1.8;max-width:750px;color:#deedf0}
.ref-subpage-head>form{display:flex;align-items:center;gap:12px;max-width:850px;margin-top:21px}
.ref-subpage-head>form>input{background:#fff;min-width:0;flex:1;min-height:44px;border-radius:6px;border:0;padding:10px 15px;font:400 13px 'DM Sans',sans-serif;outline:none}
.ref-subpage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ref-subpage-block{background:#fff;border:1px solid #e5e7e7;border-radius:9px;padding:21px;min-width:0}
.ref-subpage-block h2{font:400 20px/1.4 'Libre Baskerville',serif;color:#143448;margin:4px 0 18px}
.ref-subpage-block>a{display:flex;gap:10px;align-items:center;min-height:60px;border-bottom:1px solid #eceeef;padding:9px 0;font-size:12px;color:#1a3f56}
.ref-subpage-block>a>span{flex:1;min-width:0;font-weight:700}
.ref-subpage-block>a small{display:block;font-weight:400;color:#8a95a2;font-size:10px;margin-top:4px}
.ref-subpage-block>a svg{flex:none;color:#547381}
.ref-subpage-block>p{color:#677c8d;font-size:12px;line-height:1.8}
.ref-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ref-library-grid>a{background:white;border:1px solid #e5e8e8;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;padding-bottom:18px}
.ref-library-grid img{width:100%;height:160px;object-fit:cover}
.ref-library-grid span,.ref-library-grid strong,.ref-library-grid small{margin:11px 17px 0}
.ref-library-grid span{font-size:9px;color:#3b8775;font-weight:800;letter-spacing:.5px}
.ref-library-grid strong{font-size:14px;color:#19344a;line-height:1.5;flex:1}
.ref-library-grid small{color:#365faf;font-size:11px;font-weight:700;margin-top:20px}
.ref-discussion-feed{max-width:800px;margin:auto}
.ref-event-demo{padding:25px;border:1px solid #e0e5e5;background:#fff;border-radius:8px}
.ref-event-demo>div{display:flex;align-items:end;gap:5px;margin:17px 0 10px}
.ref-event-demo b{font-size:36px;color:#14374e;line-height:1}
.ref-event-demo small{font-size:10px;color:#7b8b97}
.ref-event-demo h2{font:400 20px/1.5 'Libre Baskerville',serif;color:#1a3b4e}
.ref-event-demo p{font-size:12px;color:#6f8595}
@media(max-width:950px){.ref-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ref-subpage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ref-subpage{padding:25px 14px 100px}.ref-subpage-head{padding:28px 22px;border-radius:6px}.ref-subpage-head h1{font-size:30px}.ref-subpage-head>form{display:block}.ref-subpage-head>form>input{display:block;width:100%;margin-bottom:10px}.ref-subpage-grid{grid-template-columns:1fr}.ref-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ref-library-grid img{height:105px}.ref-library-grid span,.ref-library-grid strong,.ref-library-grid small{margin-left:11px;margin-right:11px}.ref-library-grid strong{font-size:12px}.ref-library-grid span{font-size:8px}}
/* Mobile: logo y controles visibles sin ocupar la cabecera con botones de escritorio */
@media(max-width:800px){
.page-home .top-inner .ref-mobile-head-icons{display:flex}
.page-home .topbar .account-actions{display:none}
.page-home .topbar .ref-global-search,.page-home .topbar .top-nav{display:none}
}

/* Fotografías extraídas de las maquetas facilitadas por el propietario de FILOUNGE. */
@media(min-width:801px){
.reference-hero-picture:after{
 content:'';position:absolute;z-index:0;right:0;top:0;bottom:0;width:41%;
 background-image:url('/assets/hero-estudiante-referencia.jpg');
 background-size:cover;background-position:50% 39%;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 30%);
 mask-image:linear-gradient(to right,transparent 0%,#000 30%);
}
.reference-hero-picture:before{
 background:linear-gradient(to right,rgba(246,238,227,.93) 0%,rgba(246,238,227,.14) 64%,transparent 91%);z-index:1;
}
.reference-hero-quote{z-index:5;background:#14304094;padding:9px;border-radius:7px}
}
@media(max-width:800px){
.ref-mobile-hero-image:after{
 content:'';position:absolute;z-index:0;right:0;top:0;bottom:0;width:53%;
 background-image:url('/assets/hero-movil-referencia.jpg');
 background-size:cover;background-position:center 43%;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 36%);
 mask-image:linear-gradient(to right,transparent 0%,#000 36%);
}
.ref-mobile-hero-image:before{z-index:1;background:linear-gradient(90deg,#07394ca1,transparent 85%)}
.ref-mobile-hero{background:linear-gradient(120deg,#093b53,#0e6373)}
}
/* Presentación especial a menor altura móvil. */
@media(max-width:500px) and (max-height:760px){
.ref-mobile-hero{height:250px}
.ref-mobile-hero-copy h1{margin-top:14px;font-size:29px}
.ref-mobile-hero-copy{padding-top:17px}
.ref-mobile-menu{padding-top:7px;padding-bottom:6px}
}
