/* Psychology by Bogdanova Science: copied/adapted from the canonical Philosophy by Bogdanova homepage card styles (26 October 2026). Presentation-only. */
/* Psychology Science: philosophy-matched, presentation-only homepage cards.
   The new taxonomy does not publish routes or links. */
.psych-science{background:var(--ivory);color:var(--sapphire)}
.psych-science-inner{max-width:1164px}
.psych-foundations{text-align:center;padding:27px 0 71px}
.psych-psyche-card{display:block;width:min(470px,100%);margin:0 auto 22px;padding:20px 25px 22px;border:1px solid var(--border);border-radius:17px;background:#fff}
.psych-psyche-card h2{font:500 clamp(43px,5.5vw,60px)/1.08 var(--display);letter-spacing:-.035em;margin:0;color:var(--sapphire)}
.psych-psyche-card p{margin:7px 0 0;color:var(--muted);font:400 clamp(19px,2.5vw,24px)/1.3 var(--serif)}
.psych-order-cards,.psych-program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.psych-order-card{display:flex;min-height:148px;flex-direction:column;align-items:center;justify-content:center;padding:26px 18px;background:#fff;border:1px solid var(--border);border-radius:17px;text-align:center}
.psych-order-card h3{font:500 clamp(28px,3vw,38px)/1.1 var(--display);letter-spacing:-.032em;margin:0 0 9px;color:var(--sapphire)}
.psych-order-card p{font:400 clamp(16px,1.9vw,22px)/1.3 var(--serif);color:#667889;margin:0}
.psych-equal{margin:25px auto 0;color:var(--muted);font:400 clamp(15px,1.6vw,18px)/1.5 var(--serif)}
.psych-programs{padding:38px 0 28px;text-align:center}
.psych-areas{padding:49px 0 83px;text-align:center}
.psych-science-intro{max-width:790px;margin:0 auto 30px}
.psych-science-intro .fine{display:block;font-size:11px;letter-spacing:.2em}
.psych-science-intro h2{font:500 clamp(39px,5vw,56px)/1.1 var(--display);letter-spacing:-.025em;margin:8px 0 12px;color:var(--sapphire)}
.psych-science-intro p{font:400 clamp(17px,2vw,20px)/1.5 var(--serif);color:var(--muted);margin:0 auto;max-width:760px}
.psych-program-card,.psych-science-tile{min-width:0;min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px 15px;border:1px solid var(--border);border-radius:16px;background:#fff;text-align:center}
.psych-program-card h3,.psych-science-tile h3{font:500 clamp(24px,2.7vw,35px)/1.1 var(--display);letter-spacing:-.02em;color:var(--sapphire);margin:0}
.psych-program-card p,.psych-science-tile p{font:400 clamp(15px,1.6vw,18px)/1.3 var(--serif);color:#667889;margin:0}
.psych-science-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.psych-science-grid>.psych-science-tile:last-child{grid-column:2}
.psych-science-note{max-width:770px;margin:24px auto 0;color:var(--muted);font:400 15px/1.6 var(--serif)}
@media(max-width:600px){
  .psych-foundations{padding:24px 0 45px}
  .psych-psyche-card{margin-bottom:14px;padding:17px}
  .psych-order-cards,.psych-program-grid,.psych-science-grid{grid-template-columns:1fr;gap:12px}
  .psych-order-card{min-height:124px;padding:18px}
  .psych-equal{margin-top:21px}
  .psych-programs{padding:26px 0 12px}
  .psych-areas{padding:31px 0 55px}
  .psych-science-intro{margin-bottom:22px}
  .psych-program-card,.psych-science-tile{min-height:110px;padding:18px 15px}
  .psych-program-card h3,.psych-science-tile h3{font-size:30px}
  .psych-program-card p,.psych-science-tile p{font-size:17px}
  .psych-science-grid>.psych-science-tile:last-child{grid-column:auto}
}

/* Match the philosophy homepage: the fundamental Science block follows the hero without a divider. */
main:has(.psych-foundations)>.hero{border-bottom:0}

/* Mirror Philosophy: every Science card is a single whole-surface anchor. */
.psych-science a.psych-psyche-card,
.psych-science a.psych-order-card,
.psych-science a.psych-program-card,
.psych-science a.psych-science-tile{
  color:inherit;text-decoration:none;cursor:pointer;
  transition:border-color .15s ease,background-color .15s ease
}
.psych-science a.psych-psyche-card:hover,
.psych-science a.psych-psyche-card:focus-visible,
.psych-science a.psych-psyche-card:active,
.psych-science a.psych-order-card:hover,
.psych-science a.psych-order-card:focus-visible,
.psych-science a.psych-order-card:active,
.psych-science a.psych-program-card:hover,
.psych-science a.psych-program-card:focus-visible,
.psych-science a.psych-program-card:active,
.psych-science a.psych-science-tile:hover,
.psych-science a.psych-science-tile:focus-visible,
.psych-science a.psych-science-tile:active{
  border-color:var(--gold);background:#fffdf9
}
.psych-science a.psych-psyche-card:focus-visible,
.psych-science a.psych-order-card:focus-visible,
.psych-science a.psych-program-card:focus-visible,
.psych-science a.psych-science-tile:focus-visible{
  outline:3px solid var(--gold);outline-offset:3px
}

/* Homepage search: one visible, brand-gold focus ring; native blinking caret. */
.hero .psych-home-search:focus-within{
  border-color:var(--gold);
  outline:0;
  box-shadow:0 0 0 1px var(--gold);
}
.hero .psych-home-search input:focus,
.hero .psych-home-search input:focus-visible{
  outline:0;
  box-shadow:none;
  caret-color:var(--sapphire);
}
@media(forced-colors:active){
 .hero .psych-home-search:focus-within{
  outline:2px solid Highlight;outline-offset:2px;box-shadow:none;
 }
}
