/* Shared Acta Est design roles: neutral surfaces, blue text and site accents. */
:root {
  --site-accent: #B52A2D;
  --site-accent-hover: #8C2023;
  --site-blue: #01354A;
  --site-neutral: #AAAAAA;
}
.cover-2 .navbar-dark .navbar-nav .nav-link,
.cover-2 .jumbotron-heading,
.cover-2 p.lead {
  color: var(--site-blue);
  text-shadow: none;
}
.cover-2 .navbar-nav .nav-link { border-bottom-color: var(--site-accent); }
.cover-2 .navbar-nav .nav-link:hover,
.cover-2 .navbar-nav .nav-link:focus-visible { border-bottom-width: 3px; }
.cover-2 .navbar-dark .navbar-toggler {
  background-color: var(--site-blue);
  border-color: var(--site-blue);
  min-width: 44px;
  min-height: 44px;
}
.cover-2 .navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.cover-2 .navbar-nav { flex-wrap: wrap; }
.cover-2 .navbar-collapse { min-width: 0; }
body section .divider, .footer-5 .divider { background-color: var(--site-neutral); }
body section .btn-danger, body section .btn-success {
  background-color: var(--site-accent);
  border-color: var(--site-accent);
  color: #fff;
}
body section .btn-danger:hover, body section .btn-success:hover {
  background-color: var(--site-accent-hover);
  border-color: var(--site-accent-hover);
  color: #fff;
}
#contact, #contact .container .contact-details { background-color: var(--site-accent); }
#contact .divider { background-color: #fff; }
body section:not(.cover-2):not(#contact) a[href]:not(.btn):not(.nav-link):not(.list-group-item),
.footer-5 .copyright a[href] { color: #005ca9; text-decoration: underline; }
body section:not(.cover-2):not(#contact) a[href]:not(.btn):not(.nav-link):not(.list-group-item):hover,
.footer-5 .copyright a[href]:hover { color: #004477; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--site-blue); outline-offset: 3px; }
@media (max-width: 991.98px) {
  .cover-2 { overflow-x: clip; }
  .cover-2 .cover-container { display: block; width: 100%; max-width: 100%; }
  .cover-2 .cover-inner { display: block; width: 100%; min-width: 0; }
  .cover-2 .cover-inner .row > [class*="col-"] { min-width: 0; max-width: 100%; }
  .cover-2 .logo { margin-left: 0 !important; margin-right: 0 !important; }
  .cover-2 .logo img { max-width: 100%; height: auto; }
  .cover-2 .jumbotron-heading { white-space: normal; }
}

/* Theaterstudio pause notice and links to the current Acta Est projects. */
.studio-pause-copy { margin: 1.5rem 0; color: #01354A; }
.studio-pause-copy p { color: inherit; font-size: 1rem; line-height: 1.65; margin-bottom: 1rem; }
.studio-pause-copy .studio-pause-outlook { font-weight: 600; }
.studio-projects { display: grid; gap: .85rem; margin: 1.5rem 0 2rem; }
.cover-2 a.studio-project { display: flex; align-items: center; gap: 1rem; min-height: 88px; padding: 1rem 1.2rem; background: #fff; color: #01354A; border: 1px solid #e1e4e6; border-radius: 14px; box-shadow: 0 3px 12px rgba(1,53,74,.08); text-align: left; text-decoration: none; transition: box-shadow .18s ease, border-color .18s ease; }
.studio-project img { display: block; flex-shrink: 0; width: 48px; height: 42px; object-fit: contain; }
.studio-project-brand { display: block; font-size: .75rem; line-height: 1.4; letter-spacing: .08em; }
.studio-project-name { display: block; font-size: 1.05rem; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.studio-project-arrow { margin-left: auto; font-size: 1.3rem; }
.cover-2 a.studio-project:hover { background: #fff; color: #01354A; box-shadow: 0 5px 16px rgba(1,53,74,.15); }
.cover-2 a.studio-project-theater:hover { border-color: #9587B6; }
.cover-2 a.studio-project-praxis:hover { border-color: #006600; }
.cover-2 a.studio-project:focus-visible { outline: 3px solid #01354A; outline-offset: 3px; }

/* Keep the hero within the viewport and give its copy the same breathing room as the body. */
html, body { max-width: 100%; overflow-x: clip; }
.cover-2 .cover-container { display: block; width: 100%; max-width: 100%; }
.cover-2 .cover-inner { display: block; min-width: 0; }
.cover-2 .cover-inner > .row { margin-left: 0; margin-right: 0; align-items: flex-start; }
.cover-2 .cover-inner > .row > [class*="col-"] { min-width: 0; }
.cover-2 .logo { margin-left: 0 !important; margin-right: 0 !important; }
.cover-2 .studio-intro { padding-left: clamp(24px, 3.5vw, 48px); padding-right: clamp(24px, 3.5vw, 48px); }
.cover-2 .jumbotron-heading { white-space: normal; overflow-wrap: break-word; }
.studio-pause-copy { margin-top: 2rem; margin-bottom: 2rem; }
.studio-pause-copy p { margin-bottom: 1.4rem; line-height: 1.75; }
.studio-projects { min-width: 0; }
.studio-project > span { min-width: 0; }
@media (max-width: 575.98px) {
  .cover-2 .cover-inner { padding-left: 0; padding-right: 0; }
  .cover-2 .studio-intro { padding-left: 32px; padding-right: 32px; }
  .cover-2 .jumbotron-heading { font-size: 2rem; }
  .cover-2 a.studio-project { padding: 1rem; gap: .75rem; }
}

@media (max-width: 767.98px) {
  #ch .img-rounded { max-width: 100%; height: auto; }
}
