/* Dear Darling — top tab bar (wordmark + Your story / Your profile / Your reviews).
   Loaded after index.html's own styles. Whiter, editorial: text tabs, burgundy underline on the active one.
   Gutter = max-width 1440px with clamp(20px,5.5vw,80px) side padding, the same as the review form and the story/profile pages. */
.ddtabs{
  background:#fff !important;
  border-bottom:1px solid #ECE4DD !important;
  padding:0 max(clamp(20px,5.5vw,80px), calc((100% - 1440px) / 2 + clamp(20px,5.5vw,80px))) !important;
  min-height:58px; gap:24px !important; flex-wrap:nowrap !important;
}
.ddtabs .wm{font-family:'Cormorant Garamond',Georgia,serif !important; font-size:28px !important; font-weight:500 !important; color:#1A1012 !important; white-space:nowrap;}
.ddtabs .wm i{color:#6D1A2A !important; font-style:italic;}
.ddtabs .tg{gap:32px !important; align-self:stretch; align-items:stretch !important;}
.ddtabs .tg button{
  font-family:'Jost',Arial,sans-serif !important; font-size:14.5px !important; font-weight:400 !important;
  letter-spacing:.01em !important; text-transform:none !important;
  color:#5E4A4F !important; background:none !important; border:0 !important; border-radius:0 !important;
  border-bottom:1.5px solid transparent !important; margin-bottom:-1px;
  padding:0 !important; min-height:44px; white-space:nowrap;
}
.ddtabs .tg button:hover{color:#6D1A2A !important; border-bottom-color:rgba(109,26,42,.3) !important;}
.ddtabs .tg button.on{color:#6D1A2A !important; border-bottom-color:#6D1A2A !important; background:none !important;}
.ddtabs .tg button:focus-visible{outline:2px solid #6D1A2A !important; outline-offset:4px;}
@media (max-width:640px){
  .ddtabs{flex-wrap:wrap !important; min-height:0; padding:14px clamp(20px,5.5vw,80px) 0 !important; gap:2px !important;}
  .ddtabs .wm{font-size:24px !important;}
  .ddtabs .tg{width:100%; gap:24px !important; overflow-x:auto; scrollbar-width:none;}
  .ddtabs .tg::-webkit-scrollbar{display:none;}
  .ddtabs .tg button{min-height:44px; font-size:14px !important; margin-bottom:0;}
}
