/* Editorial ocean layout with desktop navigation and a mobile side drawer. */
body.ocean-interface {
  --ocean-accent: #71c5ff;
  --ocean-link: #9cdfff;
  background-color: #07111f;
  color: #d7e5f1;
}
body.ocean-interface .ocean-header {
  position: relative;
  z-index: 2;
  color: #e2edf6;
  background: rgba(7,20,35,.94);
  box-shadow: inset 0 -1px rgba(146,213,242,.12);
}
.ocean-header__inner {
  width: min(1160px, calc(100% - 64px));
  min-height: 98px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.ocean-brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; text-decoration: none; }
.ocean-brand .header-image { display: block; width: 52px; height: 52px; object-fit: contain; }
.ocean-brand__wordmark { color: #f1f7fc; font-size: 21px; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.ocean-navigation { min-width: 0; }
.ocean-navigation ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; list-style: none; padding: 0; margin: 0; }
.ocean-navigation li { margin: 0; padding: 0; }
.ocean-navigation a {
  display: block;
  color: #b8ccdf;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  padding: 10px 11px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .16s, background-color .16s;
}
.ocean-navigation a:hover { color: #eefaff; background: rgba(85,172,226,.09); }
.ocean-navigation a[aria-current="page"] { color: #a5ddff; background: rgba(70,151,221,.13); }
.ocean-menu-open { overflow: hidden; }
body.ocean-interface .ocean-menu-trigger,
body.ocean-interface .ocean-menu__close {
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  color: #deeffb !important;
  background: transparent !important;
  border: 1px solid rgba(151,203,239,.23) !important;
  border-radius: 9px !important;
  padding: 9px 12px !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 13px;
}
body.ocean-interface .ocean-menu-trigger { display: none; }
body.ocean-interface .ocean-menu-trigger:hover,
body.ocean-interface .ocean-menu__close:hover { background: rgba(113,197,255,.1) !important; }
.ocean-menu {
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(370px, 90vw);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  padding: 26px 24px;
  padding-top: max(26px, env(safe-area-inset-top));
  padding-bottom: max(26px, env(safe-area-inset-bottom));
  color: #e7f3fb;
  background: #0b1c2e;
  border: 0;
  border-left: 1px solid #25445c;
  box-shadow: -18px 0 65px rgba(0,0,0,.28);
  overscroll-behavior: contain;
}
.ocean-menu[open] { animation: ocean-drawer-in .25s ease-out; }
.ocean-menu::backdrop { background: rgba(2,9,18,.65); backdrop-filter: blur(3px); }
.ocean-menu[open]::backdrop { animation: ocean-backdrop-in .25s ease-out; }
.ocean-menu__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid #243e52; }
.ocean-menu__heading > span { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
body.ocean-interface .ocean-menu__close { display: inline-flex; padding: 9px !important; width: 44px; }
.ocean-menu__navigation ul { list-style: none; padding: 20px 0; margin: 0; }
.ocean-menu__navigation li { margin: 0; border-bottom: 1px solid rgba(144,197,232,.1); }
.ocean-menu__navigation a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 12px; border-radius: 7px; color: #c8dfef; font-size: 15px; line-height: 1.5; text-decoration: none; }
.ocean-menu__navigation a:hover { color: #fff; background: rgba(113,197,255,.08); }
.ocean-menu__navigation a[aria-current="page"] { color: #a5ddff; background: rgba(70,151,221,.14); }
.ocean-menu__navigation a > span { color: #75afd6; font-size: 24px; line-height: 1; }
@keyframes ocean-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes ocean-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
body.ocean-interface #page { width: min(1120px, calc(100% - 64px)); max-width: none; margin: 38px auto 52px; }
body.ocean-interface .site-main { margin: 0; }
body.ocean-interface .inside-article {
  padding: 54px 64px 64px;
  border-radius: 20px;
  background: rgba(7,22,38,.64);
  box-shadow: inset 0 0 0 1px rgba(141,200,236,.11), 0 18px 50px rgba(0,0,0,.12);
}
body.ocean-interface .entry-header { max-width: 900px; margin-inline: auto; padding-bottom: 28px; border-bottom: 1px solid rgba(133,191,224,.15); }
body.ocean-interface .entry-title { margin: 0; color: #f2f7fc; font-size: clamp(32px,4vw,52px); line-height: 1.16; font-weight: 700; letter-spacing: -.045em; }
body.ocean-interface .entry-content { max-width: 900px; margin: 32px auto 0; font-size: 17px; line-height: 1.8; }
body.ocean-interface .entry-content p { margin-bottom: 1.45em; }
body.ocean-interface .entry-content :is(a,a:visited,a:hover,a:focus,a:active) { color: #9cdfff !important; }
body.ocean-interface .entry-content :is(h2,h3,h4) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  text-align: left !important;
  overflow: visible;
  letter-spacing: -.025em;
}
body.ocean-interface h2,
body.ocean-interface .entry-content h2 { text-align: center !important; }
body.ocean-interface .entry-content h2 { color: #f0f7fd; font-size: clamp(25px,3vw,32px); line-height: 1.3; font-weight: 650; margin: 52px 0 24px; }
body.ocean-interface .entry-content h3 { color: #d4edfc; font-size: 22px; line-height: 1.45; font-weight: 650; margin: 36px 0 17px; }
body.ocean-interface .entry-content h4 { color: #d4edfc; font-size: 19px; line-height: 1.45; margin: 30px 0 16px; }
body.ocean-interface .entry-content :is(h2,h3,h4) :is(a,a:visited,a:hover,a:focus,a:active) { color: inherit !important; }
body.ocean-interface .entry-content ul,
body.ocean-interface .entry-content ol { margin-left: 1.35em; }
body.ocean-interface .entry-content li + li { margin-top: .42em; }
body.ocean-interface .wp-block-button__link,
body.ocean-interface .entry-content .wp-block-button__link,
body.ocean-interface .entry-content .wp-block-button__link:visited,
body.ocean-interface .entry-content .wp-block-button__link:hover,
body.ocean-interface .entry-content .wp-block-button__link:focus,
body.ocean-interface .entry-content .wp-block-button__link:active,
body.ocean-interface button,
body.ocean-interface input[type="submit"] {
  color: #071b2c !important;
  background: linear-gradient(110deg,#58a7ff,#60daef) !important;
  border-radius: 10px !important;
  border: 0 !important;
  padding: 14px 28px !important;
  font-weight: 650 !important;
  letter-spacing: .015em;
  box-shadow: 0 7px 22px rgba(39,142,216,.16) !important;
}
body.ocean-interface .entry-content .wp-block-button__link:hover,
body.ocean-interface input[type="submit"]:hover { background: linear-gradient(110deg,#83bcff,#8cecf7) !important; color: #071b2c !important; }
body.ocean-interface .entry-content .wp-block-buttons { margin-block: 28px; }
body.ocean-interface .wp-block-image { margin-block: 26px; }
body.ocean-interface #ez-toc-container {
  display: block;
  width: 100%;
  padding: 25px 28px;
  margin-block: 32px;
  border: 1px solid #244257;
  border-radius: 14px;
  box-shadow: none;
  background: rgba(8,27,45,.79);
}
body.ocean-interface #ez-toc-container .ez-toc-title { margin: 0; font-size: 18px; font-weight: 650; }
body.ocean-interface #ez-toc-container .ocean-toc__summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; color: #dfedf7; }
body.ocean-interface #ez-toc-container .ocean-toc__summary::-webkit-details-marker { display: none; }
body.ocean-interface #ez-toc-container .ocean-toc__summary::after { content: ""; width: 9px; height: 9px; flex-shrink: 0; margin-right: 4px; border-right: 2px solid #8dcfff; border-bottom: 2px solid #8dcfff; transform: rotate(45deg) translateY(-3px); }
body.ocean-interface #ez-toc-container[open] .ocean-toc__summary::after { transform: rotate(225deg) translate(-2px,-1px); }
body.ocean-interface #ez-toc-container:not([open]) > nav { display: none !important; }
body.ocean-interface #ez-toc-container[open] > nav { display: block !important; margin-top: 20px; padding-top: 20px; border-top: 1px solid #244257; }
body.ocean-interface #ez-toc-container > nav > ul { columns: 2; column-gap: 34px; margin: 0; }
body.ocean-interface #ez-toc-container li { break-inside: avoid; }
body.ocean-interface #ez-toc-container a { font-size: 14px; line-height: 1.6; }
body.ocean-interface .wp-block-table { border-radius: 12px !important; box-shadow: none; border: 1px solid #27475b; }
body.ocean-interface .wp-block-table tr:first-child > * { background: #12374e !important; }
body.ocean-interface .wp-block-table th,
body.ocean-interface .wp-block-table td { text-align: left; }
body.ocean-interface .wp-block-table a,
body.ocean-interface .wp-block-table a:visited,
body.ocean-interface .wp-block-table a:hover,
body.ocean-interface .wp-block-table a:focus { color: #9cdfff !important; }
body.ocean-interface .site-footer,
body.ocean-interface .site-info { background: rgba(6,19,33,.96) !important; }
body.ocean-interface .site-info .copyright-bar { font-size: 13px; letter-spacing: .01em; }
body.ocean-interface .site-info .copyright-bar :is(a,a:visited,a:hover,a:focus,a:active) { color: #8dcfff !important; text-shadow: none !important; }
body.ocean-interface input,
body.ocean-interface textarea { border-radius: 8px; }
body.ocean-interface :focus-visible { outline: 2px solid #9cdfff; outline-offset: 4px; }
@media (max-width: 1080px) {
  .ocean-header__inner { gap: 16px; }
  .ocean-brand__wordmark { font-size: 19px; }
  .ocean-navigation a { font-size: 12px; padding: 9px 8px; }
}
@media (max-width: 1023px) {
  .ocean-header__inner { width: calc(100% - 36px); min-height: 84px; gap: 18px; }
  .ocean-navigation { display: none; }
  body.ocean-interface .ocean-menu-trigger { display: inline-flex; }
}
@media (max-width: 820px) {
  .ocean-brand .header-image { width: 44px; height: 44px; }
  body.ocean-interface #page { width: calc(100% - 28px); margin-block: 22px 30px; }
  body.ocean-interface .inside-article { padding: 30px 25px 38px; border-radius: 15px; }
  body.ocean-interface .entry-header { padding-bottom: 22px; }
  body.ocean-interface .entry-content { margin-top: 25px; font-size: 16px; line-height: 1.8; }
  body.ocean-interface .entry-content h2 { margin-top: 38px; font-size: 25px; }
  body.ocean-interface .entry-content h3 { font-size: 21px; }
}
@media (max-width: 560px) {
  body.ocean-interface .inside-article { padding-inline: 20px; }
  body.ocean-interface .entry-title { font-size: 34px; }
  body.ocean-interface #ez-toc-container { padding: 21px 18px; }
  body.ocean-interface #ez-toc-container > nav > ul { columns: 1; }
  body.ocean-interface .wp-block-table th,
  body.ocean-interface .wp-block-table td { padding: 12px 11px !important; font-size: 14px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .ocean-navigation a { transition: none; }
  .ocean-menu[open], .ocean-menu[open]::backdrop { animation: none; }
}
@media print {
  .ocean-header, .ocean-menu { display: none; }
  body.ocean-interface #page { width: 100%; margin: 0; }
  body.ocean-interface .inside-article { padding: 0; box-shadow: none; }
}
