/* MEDIADOS compact layout layer. Loaded last so all public templates share one density rhythm. */

/* Shared navigation, headings and vertical rhythm */
.nav{height:auto;min-height:72px}
.nav nav>a:not(.call):not(.medisan-nav),.desktop-nav>a:not(.call):not(.medisan-nav){padding-top:24px;padding-bottom:24px}
.section{padding-top:70px;padding-bottom:70px}
.page-hero{padding-top:54px;padding-bottom:46px}
.page-hero h1{font-size:clamp(38px,4.5vw,58px)}
.breadcrumbs{margin-top:18px}
.section-title{margin-bottom:30px}
.section-title h2,.split h2,.quote-grid h2,.contact h2,.services-lead h2,.service-detail h2,.service-feature h2,.management-section h2,.psogram-service h2,.services-final h2,.rehab-intro h2,.therapy-group h2,.bed-intro h2,.bed-care-group h2,.legal-lead h2,.faq-page h2,.contact-page h2{font-size:clamp(34px,3.6vw,50px)}
.split,.quote-grid,.contact-grid,.contact-page-grid,.services-lead-grid,.service-detail-head,.two-column-service,.nutrimove-grid,.management-grid,.psogram-service-grid,.nursing-intro-grid,.nursing-process-grid,.nursing-boundaries-grid,.atlas-intro-grid,.atlas-method-grid{gap:54px}
.trust{margin-top:32px;padding-top:18px;gap:28px}
.steps{margin-top:38px}
.btn{min-height:46px;padding-top:11px;padding-bottom:11px}

/* Home page */
.hero,.hero-inner{min-height:590px}
.hero-copy{padding-top:48px;padding-bottom:48px}
.hero h1{font-size:clamp(40px,5vw,62px)}
.hero .lead{margin-top:16px;margin-bottom:16px;line-height:1.6}
.hero .actions{margin-top:18px;margin-bottom:20px}
.hero-photo{height:89%}
.card-image{height:245px}
.card-body{padding:22px}
.psogram-image{min-height:520px}
.psogram-copy{padding:55px clamp(34px,5vw,70px)}
.quote-grid{gap:56px}
.article-grid{gap:17px}
.contact form{padding:30px}
.contact-links{margin-top:20px}
.medisan-image{min-height:320px}
.medisan-copy{padding:30px}

/* General content, articles, legal pages, FAQ and contact */
.article-layout{gap:50px}
.article-cover{max-height:420px;margin-bottom:18px}
.article-intro{margin-bottom:24px;padding:20px;font-size:19px}
.article-main .legacy-content,.news-content{line-height:1.72}
.article-main .legacy-content p,.news-content p{margin-bottom:1.1rem}
.aside-box,.news-aside{padding:24px}
.legal-grid{gap:44px}
.legal-content>section{margin-bottom:30px;padding:26px;scroll-margin-top:90px}
.cookie-cards{gap:14px}
.cookie-cards article{min-height:245px;padding:23px}
.cookie-cards h3{margin-top:26px}
.cookie-rules{padding:28px}
.faq-list summary{min-height:70px;padding:15px 20px}
.faq-list details>p{padding:0 65px 20px 20px}
.contact-page-actions{margin-top:20px}
.contact-page-actions a{padding:15px 18px}
.contact-facts>div{min-height:132px;padding:20px}
.career-box{margin-top:38px;padding:26px 30px}
footer{padding-top:48px}
.footer-grid{gap:38px}
.copyright{margin-top:36px;padding-top:17px}

/* News and editorial */
.news-hero{padding:3.5rem 0}
.news-hero-grid{gap:2.5rem}
.news-hero-copy{padding:2.5rem}
.news-hero h1{font-size:clamp(2.2rem,3.1vw,3.5rem);margin-bottom:1rem}
.event-photo-main,.event-photo-main img{min-height:420px}
.event-photo-card,.event-photo-card img{min-height:300px}
.event-gallery{margin:2rem 0}
.event-gallery figure:first-child img{min-height:480px}
.event-gallery figure:last-child img{min-height:340px}
.news-back{padding-bottom:2.5rem}

/* Services directory and service detail pages */
.services-lead{padding-bottom:48px}
.services-lead-grid>div:last-child>p{margin-bottom:20px;line-height:1.65}
.service-directory{padding-bottom:62px}
.service-directory a{min-height:94px;padding:17px}
.service-detail-head{margin-bottom:30px}
.nursing-grid{gap:13px}
.nursing-grid article{padding:20px}
.service-feature-image{min-height:570px}
.service-feature-copy{padding:52px clamp(32px,5vw,68px)}
.service-feature-copy>p:not(.kicker){margin:17px 0 23px;line-height:1.6}
.service-process{margin-bottom:23px}
.service-process li{padding-top:11px;padding-bottom:11px}
.service-photo,.nutrimove-photo,.psogram-service-grid>div:first-child{height:520px}
.service-intro{margin:15px 0;line-height:1.6}
.nutrimove-pillars{margin:18px 0 16px}
.nutrimove-pillars article{padding:15px}
.management-steps div{min-height:160px;padding:22px}
.management-steps h3{margin-top:18px}
.psogram-options{margin:18px 0 14px}
.psogram-options article{padding:17px}
.services-final{padding:52px 0}
.services-final .shell{gap:42px}
.nursing-suitable-grid article{min-height:175px;padding:22px}
.nursing-suitable-grid p{margin-top:34px}
.nursing-area-grid article{padding:24px}
.nursing-process li{padding:15px 0}
.nursing-source{padding:24px 0}

/* PSOgram NEXT */
.pso-hero{padding:4.2rem 0}
.pso-hero-grid{gap:4rem}
.pso-hero h1{font-size:clamp(2.8rem,6vw,5.4rem);margin-bottom:1rem}
.pso-hero-actions{margin-top:1.4rem}
.pso-variants-head,.pso-flow-head{margin-bottom:2rem}
.pso-variant{min-height:25rem;padding:2rem}
.pso-variant h3{margin:1.8rem 0 .8rem}
.pso-variant ul{margin:.9rem 0 1.4rem}
.pso-flow-grid article{min-height:12rem;padding:1.5rem 1.2rem}
.pso-flow-grid h3{margin:1.8rem 0 .6rem}
.pso-tools-grid{gap:4rem}
.pso-tool-list article{min-height:9rem;padding:1.2rem}
.pso-tool-list h3{margin:1.5rem 0 .5rem}
.pso-detail-hero{padding:3.5rem 0}

/* Atlas and assessment-scale pages */
.atlas-history{padding:68px 0}
.atlas-history-head{margin-bottom:34px}
.atlas-timeline article{min-height:205px;padding:23px 20px}
.atlas-timeline h3{margin-top:38px}
.atlas-catalog-head{margin-bottom:30px}
.atlas-tools{padding:20px}
.atlas-count{margin:16px 0}
.atlas-card{min-height:270px;padding:21px}
.atlas-card h3{margin:28px 0 8px}
.atlas-method-list article{min-height:180px;padding:22px}
.atlas-method-list h3{margin:28px 0 8px}
.scale-layout{gap:48px}
.scale-lead{padding:26px}
.scale-lead>p{margin-bottom:20px;font-size:23px}
.scale-main>section:not(.scale-lead){padding:27px}
.scale-aside-box{padding:20px}

/* NutriMove standalone page */
.hero:has(.heroGrid){min-height:0}
.heroGrid{min-height:470px}
.heroCopy{padding-top:38px;padding-bottom:34px}
.heroVisual{min-height:470px}
.sectionHead{gap:44px;margin-bottom:25px}
main:has(.overviewGrid) .cards article{min-height:315px;padding:22px}
.overviewGrid{gap:45px}
.processCard{padding:27px 30px}
.processCard ol{margin-top:18px}
.closingGrid{gap:38px}
.contactCard{padding:30px}
footer:has(.footerGrid){padding-top:34px}

@media (max-width:800px){
  .section{padding-top:50px;padding-bottom:50px}
  .page-hero{padding-top:42px;padding-bottom:36px}
  .page-hero h1{font-size:clamp(34px,8vw,46px)}
  .hero,.hero-inner{min-height:0}
  .hero-photo{height:250px}
  .hero-copy{padding:205px 0 36px}
  .service-feature-image{min-height:420px}
  .service-photo,.nutrimove-photo,.psogram-service-grid>div:first-child{height:420px}
  .footer-grid{gap:26px}
  .pso-hero-grid,.pso-tools-grid{gap:2.5rem}
  .pso-variant{min-height:0}
}

@media (max-width:600px){
  .nav{min-height:66px;height:66px}
  .section{padding-top:42px;padding-bottom:42px}
  .page-hero{padding-top:34px;padding-bottom:30px}
  .breadcrumbs{margin-top:14px}
  .section-title{margin-bottom:24px}
  .section-title h2,.split h2,.quote-grid h2,.contact h2,.services-lead h2,.service-detail h2,.service-feature h2,.management-section h2,.psogram-service h2,.services-final h2,.rehab-intro h2,.therapy-group h2,.bed-intro h2,.bed-care-group h2,.legal-lead h2,.faq-page h2,.contact-page h2{font-size:clamp(29px,8.5vw,37px)}
  .hero-photo{height:220px}
  .hero-copy{padding:178px 0 30px}
  .hero h1{font-size:clamp(36px,10.5vw,43px)}
  .card-image{height:230px}
  .card-body{padding:19px}
  .psogram-image{min-height:330px}
  .psogram-copy,.service-feature-copy{padding:40px 20px}
  .contact form{padding:23px 19px}
  .article-cover{max-height:330px}
  .article-layout{gap:32px}
  .legal-content>section,.cookie-rules{padding:21px 17px;margin-bottom:22px}
  .faq-list summary{min-height:62px;padding:13px 16px}
  .faq-list details>p{padding:0 16px 18px}
  .contact-facts>div{min-height:0}
  .career-box{margin-top:28px;padding:22px 19px}
  footer{padding-top:36px}
  .copyright{margin-top:25px}
  .news-hero{padding:2rem 0 2.4rem}
  .news-hero-copy{padding:1.25rem}
  .event-photo-main,.event-photo-main img{min-height:250px}
  .event-gallery figure:first-child img{min-height:420px}
  .event-gallery figure:last-child img{min-height:250px}
  .service-directory{padding-bottom:46px}
  .service-directory a{min-height:88px;padding:15px}
  .service-feature-image,.service-photo,.nutrimove-photo,.psogram-service-grid>div:first-child{height:300px;min-height:0}
  .nursing-grid article,.nursing-area-grid article{padding:19px}
  .management-steps div{min-height:0;padding:20px}
  .services-final{padding:42px 0}
  .pso-hero{padding:3rem 0}
  .pso-detail-hero{padding:2.6rem 0}
  .pso-flow-grid article{min-height:0;padding:1.2rem}
  .atlas-history{padding:48px 0}
  .atlas-timeline article,.atlas-card,.atlas-method-list article{min-height:0}
  .scale-main>section:not(.scale-lead),.scale-lead{padding:21px 18px}
  .heroGrid{min-height:0}
  .heroCopy{padding:34px 0 28px}
  .heroVisual{min-height:300px}
  main:has(.overviewGrid) .cards article{min-height:0;padding:21px 18px}
  .processCard,.contactCard{padding:23px 19px}
}
