/* Tirumala Campus Facilities. Colours and fonts follow the theme variables with fallbacks. */
.tmfc-page{--fc-navy:var(--navy,#0B2A5B);--fc-gold:var(--gold,#E3A72B);--fc-red:var(--red,#B3122E);--fc-mist:var(--mist,#F3F7FB);--fc-line:var(--line,#DCE5EE);--fc-muted:var(--muted,#586577);--fc-serif:var(--serif,"Libre Baskerville",Georgia,serif);--fc-shadow:var(--shadow,0 16px 44px rgba(11,42,91,.12))}
.tmfc-page{padding:56px 0 80px}
.tmfc-lead{max-width:860px;margin:0 0 34px;font-size:18px;line-height:1.75;color:var(--ink,#1B2535)}
.tmfc-content{max-width:860px;margin:-10px 0 36px;font-size:16.5px;line-height:1.75}
.tmfc-crumbs{font-size:14px;margin:0 0 26px;color:var(--fc-muted)}
.tmfc-crumbs a{color:var(--fc-navy);font-weight:600;text-decoration:none}
.tmfc-crumbs a:hover{color:var(--fc-red)}
.tmfc-sep{margin:0 6px;color:var(--fc-gold)}
.tmfc-h2{font-family:var(--fc-serif);color:var(--fc-navy);font-size:clamp(22px,2.4vw,28px);margin:10px 0 22px;padding-bottom:12px;position:relative}
.tmfc-h2:after{content:"";position:absolute;left:0;bottom:0;width:50px;height:3px;background:var(--fc-gold)}
.tmfc-h2 span{font-family:var(--sans,"Source Sans 3",sans-serif);font-size:15px;color:var(--fc-muted);font-weight:600}
.tmfc-grid{display:grid;grid-template-columns:repeat(var(--tmfc-cols,3),minmax(0,1fr));gap:26px;margin-bottom:46px}
.tmfc-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--fc-line);transition:transform .3s ease,box-shadow .3s ease}
.tmfc-card:hover{transform:translateY(-4px);box-shadow:var(--fc-shadow)}
.tmfc-card-img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--fc-mist);border-bottom:3px solid var(--fc-gold)}
.tmfc-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.tmfc-card:hover .tmfc-card-img img{transform:scale(1.05)}
.tmfc-badge{position:absolute;right:12px;bottom:12px;background:rgba(6,27,58,.85);color:#fff;font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:999px}
.tmfc-card-body{display:flex;flex-direction:column;flex:1;padding:20px 22px 22px}
.tmfc-card-title{margin:0 0 8px;font-family:var(--fc-serif);font-size:20px;line-height:1.3}
.tmfc-card-title a{color:var(--fc-navy);text-decoration:none}
.tmfc-card-desc{margin:0 0 14px;color:var(--fc-muted);font-size:15.5px;line-height:1.65}
.tmfc-subs{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tmfc-subs a{display:inline-block;padding:5px 11px;border-radius:999px;background:var(--fc-mist);border:1px solid var(--fc-line);color:var(--fc-navy);font-size:13px;font-weight:600;text-decoration:none}
.tmfc-subs a:hover{border-color:var(--fc-navy)}
.tmfc-more{margin-top:auto;color:var(--fc-red);font-weight:700;font-size:14.5px;text-decoration:none}
.tmfc-more:hover{color:var(--fc-navy)}
.tmfc-others{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:50px;padding-top:24px;border-top:1px solid var(--fc-line)}
.tmfc-others-label{font-weight:700;color:var(--fc-navy);margin-right:6px}
.tmfc-others a{padding:7px 14px;border-radius:999px;background:var(--fc-mist);border:1px solid var(--fc-line);color:var(--fc-navy);font-weight:600;font-size:14px;text-decoration:none}
.tmfc-others a:hover{background:var(--fc-navy);color:#fff}
.tmfc-empty{padding:24px;border:1px dashed var(--fc-line,#DCE5EE);text-align:center}
@media (max-width:1024px){.tmfc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.tmfc-page{padding:36px 0 56px}.tmfc-grid{grid-template-columns:1fr;gap:18px}.tmfc-lead{font-size:16.5px}}
.tmfc-embed{padding:0}
/* Hero fallback (the Tirumala theme styles .tma-plain-hero itself). */
.tmfc-hero{background:linear-gradient(135deg,var(--navy-deep,#061B3A),var(--navy,#0B2A5B));padding:58px 0 52px;color:#fff}
.tmfc-hero .eyebrow{display:inline-block;font-weight:700;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--gold-soft,#F6D776);margin-bottom:14px}
.tmfc-hero h1{font-family:var(--serif,"Libre Baskerville",Georgia,serif);font-weight:700;font-size:clamp(30px,4vw,48px);line-height:1.15;margin:0;color:#fff}
