
:root {
  --bg: #f3f0e9;
  --paper: #fbfaf6;
  --card: #f8f4ec;
  --teal: #285f69;
  --teal-dark: #1c4c55;
  --gold: #c9a84c;
  --gold-dark: #ae861e;
  --ink: #303033;
  --muted: #707687;
  --line: #ded8cd;
  --soft-line: rgba(48, 48, 51, 0.12);
  --shadow: 0 16px 38px rgba(39, 38, 33, 0.045);
  --radius: 18px;
  --max: 760px;
  --wide: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.74;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

.container {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: white;
  padding: .8rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.topbar {
  height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fbf9f4;
}

.topbar .container {
  font-weight: 800;
  color: #202020;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.25rem;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  color: var(--teal);
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.tm {
  font-size: .5em;
  vertical-align: super;
  margin-left: .02em;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.1rem);
}

.nav-links a {
  color: #687083;
  font-weight: 700;
  padding: .28rem 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.shop-nav {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: white;
  border-radius: 10px;
  padding: .82rem 1.55rem;
  font-weight: 800;
  white-space: nowrap;
  min-width: 164px;
}

.shop-nav:hover {
  background: var(--gold-dark);
  color: white;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: white;
  border-radius: 10px;
  padding: .62rem .9rem;
  color: var(--teal);
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.85rem, 5.4vw, 5.05rem);
}

h2 {
  font-size: clamp(1.82rem, 3.3vw, 2.72rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-top: 0;
}

.center {
  text-align: center;
}

.page-shell {
  padding: 5.4rem 0 6.2rem;
}

.hero {
  padding: 5rem 0 4.4rem;
  text-align: center;
}

.tagline {
  color: #707687;
  font-size: clamp(1.06rem, 1.85vw, 1.34rem);
  font-style: italic;
  margin: .2rem auto 2.2rem;
}

.logo-showcase {
  width: min(500px, 100%);
  margin: 0 auto 2.8rem;
  border: 2px dashed var(--gold);
  border-radius: 18px;
  background: rgba(248, 244, 236, .74);
  padding: 2.35rem 2rem;
}

.logo-showcase img {
  width: min(360px, 86%);
  margin: 0 auto;
}

.intro-text {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.55vw, 1.16rem);
}

.section {
  padding: 4.45rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.55rem;
}

.branch-grid {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.9rem;
}

.card {
  background: rgba(248, 244, 236, .88);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.branch-card {
  padding: 2.65rem 2.35rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.branch-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.branch-card p {
  color: #6d7283;
  font-size: .94rem;
}

.text-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--teal);
}

.text-link.gold {
  color: var(--gold-dark);
}

.resource-panel {
  width: min(880px, 100%);
  margin: 4rem auto 0;
  padding: 3.25rem 2.6rem;
  text-align: center;
}

.resource-panel .icon {
  font-size: 1.9rem;
  margin-bottom: .8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  padding: .84rem 1.35rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.primary:hover {
  color: white;
  background: var(--teal-dark);
}

.button.gold {
  color: white;
  background: var(--gold);
}

.button.gold:hover {
  color: white;
  background: var(--gold-dark);
}

.button.light {
  color: var(--teal);
  background: white;
  border: 1px solid rgba(201, 168, 76, 0.22);
}

.newsletter {
  width: min(880px, 100%);
  margin: 0 auto;
  padding-top: 3.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.newsletter-form {
  margin: 1.3rem auto 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .85rem;
  align-items: end;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: .9rem 1rem;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

label {
  text-align: left;
  color: var(--teal);
  font-weight: 700;
}

label span {
  display: block;
  margin-bottom: .35rem;
}

.small {
  font-size: .82rem;
  color: var(--muted);
}

.page-hero {
  text-align: center;
  margin-bottom: 3.2rem;
}

.page-hero p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  color: #6d7283;
  font-size: clamp(0.98rem, 1.45vw, 1.14rem);
}

.two-col {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: center;
}

.three-col {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
}

.paper-card {
  padding: 2.45rem;
  text-align: left;
}

.image-card {
  padding: .8rem;
}

.image-card img {
  width: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.book-cover {
  max-width: 360px;
  justify-self: center;
}

.book-cover img {
  object-fit: contain;
}

.landscape img {
  aspect-ratio: 16 / 10;
}

.feature-list {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1.25rem 1.4rem;
  text-align: left;
}

.stars {
  color: var(--gold);
  letter-spacing: .08em;
}

.phoebecat-img {
  max-height: 520px;
  object-fit: contain !important;
  margin: 0 auto;
}

.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.3rem;
}

.placeholder {
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 2.2rem;
  color: var(--muted);
  background: rgba(248, 244, 236, .70);
  text-align: center;
}

.headshot {
  width: min(340px, 82vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 8px solid white;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.contact-wrap {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.legal-content {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 2.8rem;
  text-align: left;
}

.footer {
  margin-top: 3rem;
  background: #244d56;
  color: rgba(255,255,255,.88);
  padding: 2.6rem 0;
}

.footer a {
  color: white;
  font-weight: 800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer .small {
  color: rgba(255,255,255,.72);
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 134px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 16px;
    padding: .75rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: .78rem;
  }

  .shop-nav {
    display: none;
  }

  .branch-grid,
  .two-col,
  .three-col,
  .newsletter-form,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .branch-card {
    min-height: auto;
  }

  .paper-card {
    text-align: center;
  }

  .contact-form label {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 30px, var(--wide));
  }

  .topbar {
    height: 46px;
  }

  .nav {
    min-height: 72px;
  }

  .nav-links {
    top: 118px;
    left: 15px;
    right: 15px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .logo-showcase {
    padding: 1.5rem;
  }

  .paper-card {
    padding: 1.5rem;
  }
}


/* Version 3.1 refinements */
body {
  font-size: 15px;
}

.branch-card p,
.paper-card p,
.feature-list li,
.subtitle,
.intro-text,
.resource-panel p,
.newsletter p,
.contact-form,
.legal-content p {
  font-size: 0.94rem;
}

.story-scene-card {
  overflow: hidden;
}

.story-scene-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.story-caption {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}


/* Version 3.2 typography refinement */
body {
  font-family: "Lora", Georgia, serif;
  line-height: 1.74;
}

.topbar,
.nav-links,
.shop-nav,
.menu-toggle,
.button,
input,
select,
textarea,
label,
.footer,
.small {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand,
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
}

p,
li,
.subtitle,
.intro-text,
.branch-card p,
.paper-card p,
.resource-panel p,
.newsletter p,
.legal-content p {
  letter-spacing: 0;
}

.branch-card p,
.paper-card p,
.feature-list li,
.subtitle,
.intro-text,
.resource-panel p,
.newsletter p,
.contact-form,
.legal-content p {
  font-size: 0.93rem;
  line-height: 1.72;
}

.story-scene-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}


/* Version 3.2.1 mobile menu fix */
@media (max-width: 980px) {
  .nav-links {
    z-index: 999;
  }

  .nav-links.open {
    display: flex !important;
  }

  .menu-toggle {
    cursor: pointer;
    position: relative;
    z-index: 1000;
  }
}


.mobile-shop-link {
  display: none;
}

@media (max-width: 980px) {
  .mobile-shop-link {
    display: block;
    background: var(--gold);
    color: white !important;
    border-radius: 10px;
    text-align: center;
    margin-top: .35rem;
    border-bottom: 0 !important;
  }
}


/* Version 3.3 Mobile Layout Polish - desktop styles remain unchanged */
@media (max-width: 980px) {
  .container,
  .narrow {
    width: min(100% - 34px, 760px);
  }

  .topbar {
    height: 42px;
  }

  .topbar .container {
    font-size: 0.82rem;
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    font-size: 1.38rem;
  }

  .menu-toggle {
    padding: 0.52rem 0.78rem;
    font-size: 0.86rem;
  }

  .nav-links {
    top: 108px;
  }

  .page-shell {
    padding: 3.6rem 0 4.6rem;
  }

  .hero {
    padding: 3.4rem 0 3.8rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.45rem);
    margin-bottom: 0.75rem;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  h3 {
    font-size: 1.18rem;
  }

  .tagline {
    font-size: 1rem;
    margin-bottom: 1.85rem;
  }

  .intro-text,
  .subtitle,
  .page-hero p {
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

  .logo-showcase {
    width: min(320px, 92%);
    padding: 1.35rem 1.25rem;
    margin-bottom: 2.25rem;
  }

  .logo-showcase img {
    width: min(230px, 84%);
  }

  .section {
    padding: 3.9rem 0;
  }

  .section-title {
    margin-bottom: 2.05rem;
  }

  .branch-grid,
  .two-col,
  .three-col,
  .contact-wrap {
    width: min(100%, 420px);
    gap: 1.65rem;
  }

  .branch-card {
    text-align: center;
    padding: 2.1rem 1.75rem;
    min-height: auto;
  }

  .branch-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .resource-panel {
    width: min(100%, 420px);
    margin-top: 3.1rem;
    padding: 2.35rem 1.6rem;
  }

  .newsletter {
    width: min(100%, 420px);
    padding-top: 2.75rem;
  }

  .newsletter-form {
    width: 100%;
    gap: 1.05rem;
  }

  .newsletter-form label,
  .contact-form label {
    text-align: left;
  }

  .paper-card {
    padding: 2rem 1.65rem;
  }

  .image-card {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .book-cover {
    width: min(100%, 280px);
  }

  .landscape {
    width: min(100%, 340px);
  }

  .landscape img {
    aspect-ratio: 4 / 3;
  }

  .phoebecat-img {
    max-height: 390px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .story-scene-card {
    width: min(100%, 340px);
  }

  .story-scene-card img {
    aspect-ratio: 4 / 3;
  }

  .headshot {
    width: min(240px, 76vw);
  }

  .placeholder {
    width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1.45rem;
  }

  .feature-list {
    width: min(100%, 420px);
    gap: 1.15rem;
  }

  .feature-list li {
    text-align: center;
    padding: 1.25rem 1.2rem;
  }

  .social-row {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .social-row .button {
    width: 100%;
  }

  .button {
    width: auto;
    min-height: 44px;
  }

  .contact-wrap {
    gap: 1.8rem;
  }

  .contact-form {
    gap: 1.1rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .footer {
    margin-top: 2.2rem;
    padding: 2.35rem 0;
    text-align: center;
  }

  .footer-grid {
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 760px);
  }

  .page-shell {
    padding-top: 3rem;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .branch-grid,
  .two-col,
  .three-col,
  .contact-wrap,
  .resource-panel,
  .newsletter,
  .feature-list {
    width: min(100%, 360px);
  }

  .paper-card {
    padding: 1.85rem 1.45rem;
  }

  .branch-card {
    padding: 1.95rem 1.45rem;
  }

  .image-card {
    width: min(100%, 320px);
  }

  .book-cover {
    width: min(100%, 245px);
  }

  .landscape,
  .story-scene-card {
    width: min(100%, 315px);
  }

  .phoebecat-img {
    max-height: 330px;
  }

  .headshot {
    width: min(215px, 72vw);
  }
}


/* Version 3.4 Hostinger contact form */
.contact-form-wrap {
  width: min(620px, calc(100% - 48px));
  margin: 0 auto;
}

.contact-form-card {
  text-align: left;
}

.direct-email {
  text-align: center;
  margin: 1.35rem 0 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .contact-form-wrap {
    width: min(100%, 420px);
  }
}

@media (max-width: 560px) {
  .contact-form-wrap {
    width: min(100%, 360px);
  }
}


/* Version 1.1 About content update */
.section-label {
  margin: 0 0 0.65rem;
  color: var(--gold-dark);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.9rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.16);
  color: var(--gold-dark);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-branch-note {
  max-width: 760px;
  margin-top: 2.2rem;
}


/* Version 1.2 four-branch and clothing page update */
.four-branch-grid {
  width: min(1080px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.four-branch-grid .branch-card {
  padding: 2.25rem 1.75rem;
}

.clean {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.clean li {
  margin-bottom: 0.6rem;
}

.clothing-branch-card {
  width: min(880px, 100%);
  margin: 1.65rem auto 0;
}

@media (max-width: 1100px) {
  .four-branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(720px, 100%);
  }
}

@media (max-width: 980px) {
  .four-branch-grid {
    width: min(100%, 420px);
    grid-template-columns: 1fr;
  }

  .clean {
    text-align: left;
  }

  .clothing-branch-card {
    width: min(100%, 420px);
  }
}

@media (max-width: 560px) {
  .four-branch-grid,
  .clothing-branch-card {
    width: min(100%, 360px);
  }
}


/* Version 1.2.3 TRUE compact 2x2 layouts */
.branch-two-by-two,
.about-two-by-two {
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.55rem !important;
  align-items: stretch !important;
}

.branch-two-card,
.about-branch-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 2rem 1.7rem !important;
}

.branch-two-card {
  text-align: left !important;
}

.about-branch-card {
  text-align: left !important;
}

.branch-two-card .branch-icon {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.about-two-by-two .clean {
  margin: 0.8rem 0 0 !important;
  padding-left: 1.1rem !important;
}

.about-two-by-two .clean li {
  margin-bottom: 0.45rem !important;
}

.about-branch-note {
  width: min(760px, 100%) !important;
  margin: 2.2rem auto 0 !important;
}

@media (max-width: 980px) {
  .branch-two-by-two,
  .about-two-by-two {
    width: min(100%, 420px) !important;
    grid-template-columns: 1fr !important;
    gap: 1.45rem !important;
  }

  .branch-two-card,
  .about-branch-card {
    text-align: center !important;
  }

  .branch-two-card .branch-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-two-by-two .clean {
    text-align: left !important;
  }
}

@media (max-width: 560px) {
  .branch-two-by-two,
  .about-two-by-two {
    width: min(100%, 360px) !important;
  }
}




/* Version 1.2.7 verified stable two-column branch layout */
#home-branches.stable-branch-grid,
#about-branches.stable-branch-grid {
  width: min(980px, 100%) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  align-items: stretch !important;
  justify-content: center !important;
}

#home-branches .stable-branch-card,
#about-branches .stable-branch-card {
  flex: 0 0 calc(50% - 1rem) !important;
  width: calc(50% - 1rem) !important;
  max-width: calc(50% - 1rem) !important;
  min-width: 0 !important;
  min-height: 430px !important;
  padding: 2.75rem 2.45rem !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

#home-branches .stable-branch-card h2,
#about-branches .stable-branch-card h2 {
  font-size: clamp(2.05rem, 2.8vw, 2.85rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 1rem !important;
}

#home-branches .stable-branch-card p,
#about-branches .stable-branch-card p {
  margin-bottom: 1rem !important;
}

#home-branches .stable-branch-card .clean,
#about-branches .stable-branch-card .clean {
  margin: 0.75rem 0 1.2rem !important;
  padding-left: 1.35rem !important;
  text-align: left !important;
}

#home-branches .stable-branch-card .clean li,
#about-branches .stable-branch-card .clean li {
  margin-bottom: 0.45rem !important;
}

#home-branches .stable-branch-card .text-link,
#about-branches .stable-branch-card .text-link {
  margin-top: auto !important;
}

@media (max-width: 700px) {
  #home-branches.stable-branch-grid,
  #about-branches.stable-branch-grid {
    width: min(100%, 360px) !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
  }

  #home-branches .stable-branch-card,
  #about-branches .stable-branch-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    padding: 2rem 1.55rem !important;
  }

  #home-branches .stable-branch-card h2,
  #about-branches .stable-branch-card h2 {
    font-size: clamp(1.75rem, 8vw, 2.3rem) !important;
  }
}
