/* PharmaStudyHub lightweight Gutenberg homepage pattern */
.psh-home{--psh-g:#145c43;--psh-gd:#0b3f30;--psh-gl:#eaf5ee;--psh-lime:#c9e8a5;--psh-ink:#14251e;--psh-muted:#65756c;--psh-line:#dce8df;color:var(--psh-ink);padding-bottom:2.5rem}
.psh-home a{color:var(--psh-g);text-decoration:none}
.psh-home a:hover{text-decoration:underline}
.psh-hero{padding:clamp(1.5rem,5vw,3.6rem);border:1px solid #dbece0;border-radius:26px;background:radial-gradient(ellipse at 95% 0%,rgba(201,232,165,.55),transparent 38%),linear-gradient(120deg,#f0faf3,#fff 57%,#f4faf4);overflow:hidden}
.psh-hero-columns{gap:2rem!important;margin-bottom:0!important}
.psh-eyebrow{display:inline-block;margin:0 0 1rem;padding:.45rem .7rem;border-radius:99px;background:#dcefe2;color:var(--psh-gd);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.psh-hero-title{max-width:720px;margin:0 0 1rem;font-size:clamp(2.35rem,5vw,4.15rem);font-weight:850;line-height:1.03;letter-spacing:-.06em;color:#12231c}
.psh-hero-title span{color:var(--psh-g)}
.psh-hero-copy{max-width:620px;margin:0 0 1.2rem;color:#52645a;font-size:1.08rem;line-height:1.7}
.psh-search{max-width:640px;margin:1rem 0!important}
.psh-search .wp-block-search__inside-wrapper{gap:.5rem;padding:.35rem;border:1px solid #d8e5dc;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(17,68,44,.055)}
.psh-search input.wp-block-search__input{min-width:0;border:0;border-radius:10px;padding:.7rem .8rem;font-size:.92rem}
.psh-search .wp-block-search__button{margin:0;border:0;border-radius:10px;background:var(--psh-g);color:#fff;padding:.75rem 1rem;font-weight:750}
.psh-popular{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.8rem 0 0;font-size:.78rem}
.psh-popular a{padding:.35rem .6rem;border:1px solid var(--psh-line);border-radius:99px;background:rgba(255,255,255,.8);color:#365747}
.psh-book-art{position:relative;max-width:330px;margin:1rem auto;padding:1rem 0}
.psh-book{display:flex;align-items:center;gap:.6rem;min-height:3.5rem;margin:.45rem 0!important;padding:.8rem .9rem;border-radius:5px 12px 12px 5px;box-shadow:0 8px 16px rgba(11,63,48,.12);font-size:.76rem;font-weight:850;line-height:1.2;color:#fff}
.psh-book span{margin-left:auto;color:var(--psh-lime);font-size:1.1rem}
.psh-book-one{width:92%;margin-left:5%!important;background:#145c43}
.psh-book-two{width:100%;background:#fff;color:#254638;border:1px solid #d9e4dc}
.psh-book-three{width:95%;margin-left:2%!important;background:#286e51}
.psh-book-four{width:88%;margin-left:8%!important;background:#0b3f30}
.psh-float-note{position:absolute;right:-.4rem;top:-.3rem;padding:.6rem .9rem;border-radius:14px;background:var(--psh-g);color:#fff;box-shadow:0 10px 22px rgba(11,63,48,.14);transform:rotate(3deg)}
.psh-float-note p{margin:0;font-size:.8rem;line-height:1.4}
.psh-float-note small{color:#d6efbf}
.psh-quick-links{gap:.75rem!important;margin:1.1rem 0 2.2rem!important}
.psh-quick-links>.wp-block-column{min-width:0}
.psh-quick-card{height:100%;padding:1rem .8rem;border:1px solid var(--psh-line);border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(18,55,37,.025)}
.psh-quick-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 0 .7rem;border-radius:14px;background:var(--psh-gl);color:var(--psh-g);font-size:1.25rem;font-weight:800}
.psh-quick-card h3{margin:0 0 .3rem;font-size:.88rem;line-height:1.25}
.psh-quick-card p:not(.psh-quick-icon){margin:.3rem 0;color:var(--psh-muted);font-size:.74rem;line-height:1.4}
.psh-card-link{margin-top:.6rem!important;font-size:.8rem;font-weight:800}
.psh-section{margin-top:2.2rem}
.psh-section h2{margin-bottom:.35rem;font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.04em}
.psh-section>p{color:var(--psh-muted);font-size:.9rem}
.psh-section-heading{align-items:end;gap:1rem!important;margin-bottom:1rem!important}
.psh-section-link{margin:0 0 .3rem;text-align:right;font-size:.85rem;font-weight:800}
.psh-year-cards,.psh-resource-cards,.psh-article-cards{gap:1rem!important;margin-top:1rem!important}
.psh-year{height:100%;padding:1.4rem;border:1px solid var(--psh-line);border-radius:20px;background:linear-gradient(135deg,#fff7ec,#fff)}
.psh-year-second{background:linear-gradient(135deg,#edf5ff,#fff)}
.psh-pill{display:inline-block;margin:0 0 .65rem;padding:.3rem .65rem;border-radius:99px;background:#f5b35c;color:#56350c;font-size:.73rem;font-weight:850}
.psh-year-second .psh-pill{background:#c9defd;color:#184d8c}
.psh-year h3{margin:.2rem 0 .4rem;font-size:1.2rem;letter-spacing:-.025em}
.psh-year>p:not(.psh-pill){color:var(--psh-muted);font-size:.88rem}
.psh-subject-list{font-size:.82rem}
.psh-subject-list li{margin:.3rem 0}
.psh-subject-list li::marker{color:var(--psh-g)}
.psh-resource-card{height:100%;padding:1.1rem;border:1px solid var(--psh-line);border-radius:16px;background:#fff}
.psh-resource-card h3{margin:.2rem 0 .4rem;font-size:.98rem;line-height:1.3}
.psh-resource-card p:not(.psh-quick-icon):not(.psh-article-tag){margin:.3rem 0 0;color:var(--psh-muted);font-size:.82rem}
.psh-article-tag{display:inline-block;margin:0 0 .55rem;padding:.25rem .5rem;border-radius:99px;background:var(--psh-gl);color:var(--psh-g);font-size:.68rem;font-weight:850;text-transform:uppercase}
.psh-community{gap:1.2rem;margin-top:2rem;padding:1.6rem 1.8rem;border-radius:20px;background:var(--psh-gd);color:#fff}
.psh-community h2{margin:0 0 .4rem;color:#fff;font-size:clamp(1.25rem,2.5vw,1.6rem);letter-spacing:-.03em}
.psh-community p{margin:0;color:#d7e9de;font-size:.9rem}
.psh-community-button .wp-block-button__link{border-radius:11px;background:var(--psh-lime);color:var(--psh-gd);font-weight:850;padding:.8rem 1rem}
@media(max-width:781px){
 .psh-hero{padding:1.4rem}
 .psh-hero-columns{gap:.5rem!important}
 .psh-hero-title{font-size:clamp(2.2rem,8vw,3.2rem)}
 .psh-hero-art-column{margin-top:.8rem}
 .psh-book-art{max-width:290px;margin:1rem auto}
 .psh-quick-links{flex-wrap:wrap!important}
 .psh-quick-links>.wp-block-column{flex:1 1 calc(33.333% - .75rem)!important}
 .psh-section-heading{align-items:flex-start}
 .psh-section-link{text-align:left}
 .psh-year-cards>.wp-block-column,.psh-resource-cards>.wp-block-column,.psh-article-cards>.wp-block-column{flex-basis:calc(50% - .5rem)!important}
}
@media(max-width:520px){
 .psh-hero{border-radius:20px;padding:1.25rem}
 .psh-hero-title{font-size:2.35rem}
 .psh-hero-copy{font-size:.98rem}
 .psh-search .wp-block-search__inside-wrapper{flex-wrap:wrap}
 .psh-search .wp-block-search__input{flex:1 1 100%}
 .psh-search .wp-block-search__button{width:100%}
 .psh-quick-links>.wp-block-column{flex:1 1 calc(50% - .5rem)!important}
 .psh-year-cards>.wp-block-column,.psh-resource-cards>.wp-block-column,.psh-article-cards>.wp-block-column{flex-basis:100%!important}
 .psh-year{padding:1.1rem}
 .psh-community{padding:1.3rem;align-items:flex-start!important}
 .psh-community .wp-block-buttons,.psh-community .wp-block-button,.psh-community .wp-block-button__link{width:100%}
}
