/* WordPress adaptations to the House of Pillars workspace design. */
body.hopl-platform-page { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
.hopl-workspace { font-family: var(--font); }
.hopl-workspace :is(h1,h2,h3,h4) { font-family: inherit; font-weight: 700; }
.hopl-workspace .workspace-topbar .hop-language a { color:#756959; padding:4px 1px; font-weight:700; }
.hopl-workspace .workspace-topbar .hop-language a.active { color:#211e19; }
.hopl-workspace .workspace-search { margin:0; }
.hopl-workspace .workspace-search:focus-within { outline:2px solid var(--gold-dark); outline-offset:2px; }
.hopl-workspace .workspace-search input[type=search] { min-width:0; box-shadow:none; appearance:none; line-height:1.5; }
.hopl-workspace .workspace-search input[type=hidden] { display:none; }
.hopl-skip { position:fixed; top:8px; left:12px; z-index:100; padding:12px 18px; background:white; color:#181611; transform:translateY(-160%); }
.hopl-skip:focus { transform:none; }
.hopl-close { display:none; }
.hopl-menu-open { overflow:hidden; }
.hopl-workspace [hidden] { display:none!important; }
.hopl-licence-strip { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:9px 37px; background:#eee3ce; color:#695333; border-bottom:1px solid #e4dacf; font-size:10px; line-height:1.6; }
.hopl-licence-strip>span { display:flex; align-items:center; gap:8px; }
.hopl-licence-strip i { background:var(--gold-dark); width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.hopl-licence-strip a { font-weight:700; white-space:nowrap; }
.hopl-entry { max-width:560px; padding:clamp(18px,5vw,66px) 0; }
.hopl-entry h1,.workspace-content>h1 { font-size:clamp(34px,4vw,46px); margin:12px 0; }
.hopl-entry p { margin:12px 0; }
.hopl-entry #loginform { max-width:430px; background:white; border:1px solid var(--line); border-radius:8px; padding:18px 24px; margin:24px 0 12px; }
.hopl-entry #loginform label { display:block; margin:0 0 4px; }
.hopl-entry input[type=checkbox] { display:inline; width:auto; margin:0 6px 0 0; }
.hopl-entry input[type=submit],.hopl-btn,.hopl-plan button { display:inline-flex; width:auto; background:#111; color:var(--gold-light); font:600 14px/1.5 var(--font); border:1px solid #111; border-radius:3px; padding:10px 17px; cursor:pointer; }
.hopl-text { display:inline-block; margin:10px 12px 10px 0; text-decoration:underline; text-underline-offset:3px; }
.hopl-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; border:1px solid var(--line); background:white; border-radius:8px; padding:18px 22px; margin:12px 0; }
.hopl-row>div { min-width:0; overflow-wrap:anywhere; }
.hopl-row h3 { font-size:22px; margin:4px 0; }
.hopl-row small,.hopl-row span { color:var(--muted); font-size:13px; }
.hopl-actions,.hopl-nav { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.hopl-actions a:first-child:not(:only-child),.hopl-nav a { text-decoration:underline; text-underline-offset:3px; }
.hopl-nav { margin:16px 0; }
.hopl-nav a.on { font-weight:700; color:#6d4d2e; }
.hopl-plan { padding:16px 20px; margin:10px 0; background:white; border:1px solid var(--line); border-radius:7px; }
.hopl-plan summary { cursor:pointer; font-weight:600; }
.hopl-plan summary span { float:right; font-size:13px; color:var(--muted); }
.hopl-plan form { display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px; margin:16px 0 4px; }
.hopl-plan form p { width:100%; }
.hopl-plan label+label { margin:0; }
.hopl-workspace .gathering-card .text-link { margin-top:12px; }
.hopl-workspace .workspace-content { min-width:0; }
.hopl-workspace .gathering-photo img { width:100%; object-fit:cover; }
@media(min-width:1650px){.hopl-licence-strip{padding-inline:50px}}
@media(max-width:1200px){.hopl-licence-strip{padding-inline:26px}}
@media(max-width:760px){
  .hopl-licence-strip{padding:8px 18px;font-size:10px}
  .hopl-close{display:grid;place-items:center;position:absolute;right:6px;top:6px;min-width:40px;min-height:40px;color:var(--gold-light)}
  .hopl-workspace .workspace-search{margin-left:auto;flex:1;min-width:36px;max-width:230px}
  .hopl-workspace .workspace-search input[type=search]{width:100%}
  .hopl-plan label{width:100%}
  .hopl-workspace .side-item{min-height:43px}
  .hopl-workspace .user-avatar{flex:none}
}
