/*
Theme Name: Nautica Store
Description: Tema per Nautica Store Cagliari con WooCommerce.
Version: 1.7.4
Text Domain: nautica-store
*/
:root{--navy:#102f40;--accent:#0B71B3;--line:#d8e2e5;--sea:var(--accent);--paper:#f5f8f8;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--navy);font:400 1rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
button:not(:disabled),select{cursor:pointer}
img,video,iframe{max-width:100%}
img{height:auto}
a{color:var(--accent);text-underline-offset:.18em}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.ns-reading{max-width:78ch;margin:clamp(2rem,5vw,5rem) auto;padding-inline:1.25rem;min-height:36vh}
.ns-reading h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.08;letter-spacing:-.04em}
.screen-reader-text:not(:focus){position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.aligncenter{display:block;margin-inline:auto}
.alignleft{float:left;margin-right:1.25rem}
.alignright{float:right;margin-left:1.25rem}
body.wp-theme-nautica-store *,
body.wp-theme-nautica-store *::before,
body.wp-theme-nautica-store *::after { border-radius: 0 !important; }
body.wp-theme-nautica-store { accent-color:var(--accent); --wp--preset--color--accent:var(--accent); --wc-primary:var(--accent); }

.ns-journal { margin-block:clamp(2rem,5vw,5rem); }
.ns-journal header { margin-bottom:2rem; }
.ns-journal header h1 { margin:0; font-size:clamp(2rem,5vw,3.5rem); line-height:1.12; }
.ns-journal header p { margin:.65rem 0; }
.ns-journal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.2rem,3vw,3rem); }
.ns-journal-grid a { display:block; color:inherit; text-decoration:none; }
.ns-journal-grid img { display:block; width:100%; aspect-ratio:1.7; object-fit:cover; }
.ns-journal-grid h2 { margin:.8rem 0 .4rem; line-height:1.2; font-size:clamp(1.2rem,2vw,1.6rem); }
.ns-journal-grid a span { color:var(--accent); }
.ns-journal-grid a:hover h2 { text-decoration:underline; }
.ns-journal .pagination { margin-top:2rem; }
.ns-journal .nav-links { display:flex; flex-wrap:wrap; gap:1rem; }
@media(max-width:960px){ .ns-journal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px){ .ns-journal-grid { grid-template-columns:1fr; } }
.ns-reading .ns-about-image { display:block; width:100%; aspect-ratio:2.8; object-fit:cover; margin-block:2rem; }
.ns-reading figure:has(img[src*="ship-wheel.png"]), .ns-reading figure:has(img[src*="headset-1.png"]) { margin:1.5rem 0 .5rem; width:3rem; }
