/*
Theme Name: Sobina Pharma
Description: Block theme for Sobina Pharma PLC.
Version: 5.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: sobina-pharma
*/
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.sobina-header {
  padding: .45rem clamp(1rem, 4.7vw, 4rem);
  border-bottom: 1px solid #dbe7de;
  box-shadow: 0 3px 18px #163e2c0d;
}
.sobina-brand img { width: 196px; height: 58px; object-fit: cover; }
.sobina-primary .wp-block-navigation__submenu-container {
  min-width: 13rem;
  padding-block: .4rem;
  border-color: #dbe7de;
  border-radius: 10px;
  box-shadow: 0 10px 30px #17392e1a;
}
.sobina-primary a:hover { color: #176244; }
.sobina-primary .wp-block-navigation__responsive-container.is-menu-open {
  background: #f8f8f1;
  color: #132e25;
}
.sobina-landing-hero { background: #10392d !important; color: #fff; }
.sobina-landing-hero .wp-block-heading { color: #fff; }
.sobina-landing-hero p.has-text-color { color: #d7e7df !important; }
.sobina-landing-hero p:first-child { color: #dfcb96 !important; }
.sobina-landing-hero img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.sobina-landing-hero .wp-block-button:first-child a { background: #e5c17b !important; color: #122f24 !important; }
.sobina-landing-hero .wp-block-button:nth-child(2) a { background: #244f40 !important; color: #fff !important; }
.sobina-experience {
  background: #f8f8f1;
  padding: clamp(2.5rem, 5.2vw, 4.8rem) clamp(1.1rem, 4.7vw, 4rem);
}
.sobina-experience-inner { max-width: 1176px; margin-inline: auto; }
.sobina-experience h2 {
  margin: 0 0 1.5rem;
  color: #10392d;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.sobina-home-finder { margin: 0 0 1.75rem; }
.sobina-path-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding-bottom: 1rem;
}
.sobina-path-tabs[hidden], .sobina-path-panel[hidden] { display: none; }
.sobina-path-tabs button {
  border: 1px solid #c7d9ce;
  border-radius: 10px;
  background: #fff;
  color: #10392d;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: .62rem 1rem;
}
.sobina-path-tabs button[aria-selected="true"] { background: #10392d; border-color: #10392d; color: #fff; }
.sobina-path-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.2rem 2rem;
  align-items: center;
  padding: clamp(1.1rem, 3.3vw, 2rem);
  border: 1px solid #d4e1d8;
  border-radius: 15px;
  background: #fff;
}
.sobina-path-panel h3 { margin: 0 0 .45rem; color: #10392d; font-size: 1.3rem; }
.sobina-path-panel p { margin: 0; color: #4b6358; }
.sobina-path-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.sobina-path-links a {
  padding: .52rem .8rem;
  border-radius: 8px;
  background: #e9f2eb;
  color: #174c37;
  font-weight: 650;
  text-underline-offset: .2em;
}
.sobina-publishing-card { box-shadow: 0 4px 18px #17392e0d; }
.sobina-publishing-card:focus-within { border-color: #7ca592; }
@media (max-width: 920px) {
  .sobina-primary .wp-block-navigation__responsive-container-open { display: flex !important; }
  .sobina-primary .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .sobina-primary .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; }
}
@media (max-width: 640px) {
  .sobina-path-panel { grid-template-columns: 1fr; }
  .sobina-brand img { width: 174px; height: 52px; }
}
.wp-block-details { padding: .8rem 0; border-bottom: 1px solid #cedbd0; }
.wp-block-details summary { color: #103b2e; cursor: pointer; font-weight: 650; }
.wp-block-details[open] summary { margin-bottom: 1rem; }
.wp-block-details summary:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid #176244;
  outline-offset: 4px;
}
.wp-block-button__link { text-decoration: none; }
.wp-block-button__link:hover { filter: brightness(.92); }
.wp-block-template-part footer a { color: #dbeec4; }
