/*
Theme Name: Corsairium
Description: A responsive nautical guild theme with native WordPress editing.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: corsairium
*/
:root{--ink:#102b37;--deep:#071e29;--sea:#12576a;--paper:#f5f0e5;--gold:#bf944d;--line:#d8d4c8;--white:#fffdf7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.7 system-ui,-apple-system,sans-serif}a{color:#0c5367;text-underline-offset:4px}a:hover{color:#754b12}h1,h2,h3,h4{font-family:Georgia,serif;line-height:1.15;font-weight:normal}h1{font-size:clamp(2.4rem,6vw,4.8rem);margin:.3em 0}h2{font-size:2rem}h3{font-size:1.5rem}p{max-width:76ch}img{height:auto;max-width:100%}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.site-header{background:var(--deep);color:white;border-bottom:1px solid #49616a}.navline{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:96px}.brand{color:white;text-decoration:none;font:1.9rem Georgia,serif;white-space:nowrap}.brand small{display:block;font:10px/1.8 system-ui;letter-spacing:.22em;text-transform:uppercase;color:#d5b477}.site-nav{display:flex;gap:22px;flex-wrap:wrap;align-items:center}.site-nav a{color:#f7f4e9;font-size:14px;text-decoration:none}.site-nav a:hover{text-decoration:underline}.nav-account{border:1px solid #a48958;padding:7px 12px}.hero{position:relative;isolation:isolate;color:white;background:var(--deep);padding:76px 0 90px;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071e29f5 10%,#071e29b8 65%,#071e2980),var(--hero-image);background-size:cover;background-position:center}.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:50px;align-items:center}.hero p{max-width:600px;color:#e7e8e1}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;color:#dbb979}.hero .badge{display:block;max-height:300px;width:auto;margin:auto;filter:drop-shadow(0 12px 20px #0008)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.button,button,input[type=submit]{display:inline-block;border:1px solid var(--sea);background:var(--sea);color:white;padding:12px 22px;font:600 15px/1.5 system-ui;text-decoration:none;cursor:pointer;border-radius:2px}.button:hover,button:hover{background:#073947;color:white}.hero .button{background:#d6b478;color:#102b37;border-color:#d6b478}.hero .button.secondary{background:transparent;color:white;border-color:#7d929a}.section{padding:58px 0}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.section-head h2{margin:0 0 28px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:var(--white);border:1px solid var(--line);padding:28px}.card h3{margin:4px 0 16px}.card img{object-fit:contain;width:100%;max-height:180px}.card .number{font:13px system-ui;color:#74613f;letter-spacing:.1em}.band{background:var(--ink);color:var(--white);padding:48px 0}.band a{color:#ecd09a}.band .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px}.page-heading{background:var(--ink);color:white;padding:40px 0}.page-heading h1{font-size:clamp(2rem,5vw,3.5rem)}.main-content{padding:48px 0 70px;min-height:50vh}.entry-content{overflow-wrap:anywhere}.entry-content:after{content:'';display:block;clear:both}.entry-content .row{display:flex;flex-wrap:wrap;gap:20px;margin:0 0 20px}.entry-content .row>.col-md-12{width:100%}.entry-content .col-md-6{flex:1 1 45%}.entry-content .col-md-4{flex:1 1 28%}.entry-content .col-md-3{flex:1 1 21%}.entry-content .profile,.entry-content .callout{background:#fffdf7;padding:24px;border:1px solid var(--line);height:100%}.entry-content .profile{text-align:center}.entry-content .profile img{max-height:250px;object-fit:contain}.entry-content .text-center{text-align:center}.entry-content table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.entry-content td{padding:8px;border:1px solid var(--line)}.site-footer{background:var(--deep);color:#d1d9d7;padding:36px 0;font-size:14px}.site-footer a{color:#ecd09a}.footer-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:8px;background:white;padding:12px;z-index:100}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b16d14;outline-offset:4px}input,select,textarea{font:inherit;color:var(--ink);border:1px solid #8a9b9e;border-radius:2px;padding:10px;background:white;max-width:100%}select{width:100%}label{display:block}fieldset{border:1px solid var(--line);padding:24px;margin:24px 0;background:var(--white);min-width:0}legend{font:1.3rem Georgia,serif;padding:0 8px}.cg-notice{padding:16px 20px;background:#fff4d6;border-left:4px solid #99712c;margin:20px 0}.cg-notice.success{background:#e7f3ec;border-color:#33754f}.cg-question{padding:22px 0;border-bottom:1px solid var(--line)}.cg-question:last-child{border:0}.cg-question>label{font-weight:600;margin-bottom:12px}.cg-images{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:16px 0}.cg-images img{max-height:320px;max-width:min(100%,430px);object-fit:contain;background:white}.cg-meta{font-size:13px;color:#4b626b}.cg-table{width:100%;border-collapse:collapse}.cg-table th,.cg-table td{padding:14px;border-bottom:1px solid var(--line);text-align:left}.cg-scroll{overflow-x:auto}.cg-inline{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.cg-progress{height:8px;width:100%;accent-color:var(--sea)}.cg-officer-details{padding:20px;background:#fffdf7;border:1px solid var(--line);margin:16px 0}.cg-officer-details summary{cursor:pointer;font-weight:600}.cg-officer-details input[type=text],.cg-officer-details textarea{width:100%}.cg-check{display:flex;align-items:center;gap:12px}.cg-check input{width:20px;height:20px}.cg-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cg-help{font-size:14px}.search-form{display:flex;gap:10px}.search-field{width:100%}.cg-toolbar{position:sticky;bottom:0;background:#f5f0e5f5;padding:14px;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;flex-wrap:wrap;z-index:5}.cg-toolbar p{margin:0;font-size:14px}
@media(max-width:850px){.navline{align-items:start;padding:20px 0;flex-direction:column;gap:14px}.site-nav{gap:15px}.hero-grid{grid-template-columns:1fr}.hero .badge{max-height:180px}.hero{padding:44px 0}.cards{grid-template-columns:1fr 1fr}.band .wrap{display:block}.cg-grid{grid-template-columns:1fr}.entry-content .col-md-3{flex-basis:40%}}@media(max-width:540px){body{font-size:16px}.wrap{width:calc(100% - 32px)}.cards{grid-template-columns:1fr}.hero-grid{gap:20px}.hero .badge{max-height:140px}.hero h1{font-size:2.7rem}.section{padding:36px 0}.section-head{display:block}.entry-content .row>*{flex-basis:100%!important}.main-content{padding-top:28px}.cg-images img{max-height:260px}fieldset{padding:15px}.cg-table td,.cg-table th{padding:9px}.cg-toolbar button{padding:10px 12px}.site-nav a{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
