/*
Theme Name: PadelSeat Journal
Theme URI: https://padelseat.com/blog
Author: PadelSeat
Description: A quiet, responsive editorial home for the PadelSeat community. Includes the current PadelSeat app logo and custom court artwork.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: padelseat-journal
*/
:root{--paper:#fffdf7;--ink:#1a2a4f;--blue:#2e62d6;--yellow:#f7c043;--muted:#596377;--line:#e3e5e7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--blue)}img{max-width:100%;height:auto;display:block}button,input,textarea{font:inherit}a,button,input,textarea{outline-offset:5px}:focus-visible{outline:3px solid var(--blue)}.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.site-header{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:22px}.brand img{width:176px;height:auto}.brand-label{font-size:10px;letter-spacing:.2em;border-left:1px solid var(--line);padding-left:22px;font-weight:700}.site-header nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:600}.site-header nav a{text-decoration:none}.app-link{border:1px solid var(--line);padding:10px 16px;border-radius:100px}.secondary-nav ul{list-style:none;padding:0;display:flex;gap:24px;flex-wrap:wrap}.hero{position:relative;overflow:hidden;border-radius:18px;background:#f0f2ee;min-height:510px;display:flex;align-items:flex-start}.hero-art{position:absolute;inset:auto 0 0;width:100%;height:62%;object-fit:cover;object-position:center}.hero-copy{position:relative;z-index:1;padding:40px 44px 170px;background:linear-gradient(var(--paper) 0%,rgba(255,253,247,.97) 58%,transparent);width:100%}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:750}.hero h1{font-size:clamp(40px,5.1vw,65px);line-height:1.07;letter-spacing:-.055em;font-weight:650;margin:20px 0}.hero p:not(.eyebrow){font-size:16px;color:var(--muted);max-width:570px}.stories{padding-block:60px 88px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.section-top h1,.section-top h2{margin:0;font-size:27px;letter-spacing:-.035em}.search-form{display:flex;gap:6px;max-width:100%}.search-form input{width:180px;max-width:100%;background:transparent;border:1px solid var(--line);border-radius:8px;padding:10px 12px;min-width:0}.search-form button{background:var(--ink);color:white;border:0;border-radius:8px;padding:10px 14px;cursor:pointer}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.card-image{display:block;overflow:hidden;border-radius:12px;background:#edf0f3;aspect-ratio:1.5}.card-image img{width:100%;height:100%;object-fit:cover}.card-body{padding-top:20px}.post-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:11px;font-weight:600;color:var(--muted)}.post-meta a{color:var(--blue);text-decoration:none}.story-card h2{font-size:24px;line-height:1.28;letter-spacing:-.035em;margin:13px 0}.story-card h2 a{text-decoration:none}.excerpt{font-size:14px;color:var(--muted)}.empty-state{padding:56px 28px;border:1px solid var(--line);border-radius:14px;text-align:center}.empty-state h2{font-size:28px;letter-spacing:-.04em;margin:0}.empty-state p{color:var(--muted)}.text-link{font-weight:650;color:var(--blue)}.site-footer{display:grid;grid-template-columns:1fr auto;border-top:1px solid var(--line);padding-block:34px 24px;gap:24px}.site-footer strong{font-size:19px}.site-footer p{margin:6px 0;font-size:13px;color:var(--muted)}.footer-links{display:flex;gap:22px;align-items:center;font-size:13px;flex-wrap:wrap}.footer-links a{text-decoration:none}.copyright{grid-column:1/-1}.article-wrap{max-width:850px;padding-block:38px 80px}.back-link{font-size:14px;color:var(--muted)}.article-heading{margin:40px 0 32px}.article-heading h1{font-size:clamp(36px,5vw,60px);line-height:1.12;letter-spacing:-.05em;margin:20px 0}.byline{font-size:13px;color:var(--muted)}.featured-image{margin:0 0 40px}.featured-image img{border-radius:12px;width:100%}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.entry-content h2,.entry-content h3{line-height:1.25;letter-spacing:-.03em;margin-top:1.6em}.entry-content a{color:var(--blue)}.entry-content blockquote{border-left:4px solid var(--yellow);margin:30px 0;padding:8px 26px;font-size:24px}.entry-content table{border-collapse:collapse;width:100%;display:block;overflow:auto}.entry-content td,.entry-content th{padding:10px;border:1px solid var(--line)}pre{overflow:auto;padding:20px;background:#eef0f3}iframe{max-width:100%}.alignwide{width:100%}.alignfull{max-width:100%}.wp-caption,.wp-caption-text,.gallery-caption{max-width:100%;font-size:13px}.post-navigation{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:30px;margin-top:50px}.post-tags a,.page-numbers{display:inline-block;padding:5px 12px;border:1px solid var(--line);border-radius:6px;margin:4px;text-decoration:none}.pagination{margin-top:40px}.current{background:var(--ink);color:white}.not-found{margin:30px 0 70px}.not-found .search-form{justify-content:center;margin-top:28px}.comments-area{margin-top:50px}.comment-list{padding-left:24px}.comment-form textarea,.comment-form input{max-width:100%;border:1px solid var(--line);border-radius:6px;padding:10px}.comment-form textarea{width:100%}.comment-form label{display:block}.comment-form-cookies-consent label{display:inline}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:12px;left:12px;z-index:100;background:white;padding:12px}.sticky{border-bottom:3px solid var(--yellow)}.bypostauthor{border-left:2px solid var(--blue)}@media(max-width:800px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-label{display:none}.site-footer{grid-template-columns:1fr}.hero{min-height:480px}}@media(max-width:540px){.wrap{width:calc(100% - 36px)}.site-header{min-height:92px;gap:12px}.brand img{width:130px}.site-header nav{gap:13px;font-size:12px}.app-link{padding:8px 10px}.hero{min-height:480px}.hero-copy{padding:26px 23px 170px}.hero-copy br{display:none}.hero h1{font-size:43px}.hero-art{height:48%;object-position:65% center}.stories{padding-block:38px 52px}.section-top{align-items:stretch;flex-direction:column}.search-form label{flex:1}.search-form input{width:100%}.post-grid{grid-template-columns:1fr;gap:34px}.footer-links{gap:16px}.article-wrap{padding-top:20px}.article-heading{margin-top:28px}.entry-content{font-size:17px}.post-navigation{flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@font-face{font-family:"Badge";src:url("assets/badge-italic.ttf") format("truetype");font-style:italic;font-weight:400;font-display:swap}
h1,h2,h3,.hero h1,.article-heading h1,.section-top h1,.section-top h2{font-family:"Badge",Georgia,serif;font-style:italic;font-weight:400;font-synthesis:none;letter-spacing:-.015em}
.brand>a{display:flex;align-items:center;text-decoration:none;flex-shrink:0}.brand>a>img{width:176px;height:auto}
@media(max-width:540px){.brand>a>img{width:130px}.hero-copy br{display:initial}}

/* Premium journal finish shared with the PadelSeat landing page. */
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url('assets/nunito.woff2') format('woff2')}
:root{--paper:#fffdf7;--ink:#1a2a4f;--blue:#242424;--muted:#5b625e;--line:#e2dccf;--court-texture:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%20viewBox%3D%220%200%20200%20200%22%3E%3Cfilter%20id%3D%22grain%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.72%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Cpath%20fill%3D%22%23807760%22%20filter%3D%22url%28%23grain%29%22%20opacity%3D%22.22%22%20d%3D%22M0%200h200v200H0z%22%2F%3E%3C%2Fsvg%3E");--court-lines:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22840%22%20height%3D%221000%22%20viewBox%3D%220%200%20840%201000%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23b8ac8d%22%20stroke-width%3D%221.2%22%20transform%3D%22rotate%28-19%20420%20500%29%22%3E%3Crect%20x%3D%22190%22%20y%3D%2240%22%20width%3D%22460%22%20height%3D%22920%22%2F%3E%3Cpath%20d%3D%22M190%20500h460M190%20260h460M190%20740h460M420%20260v480%22%2F%3E%3Cpath%20d%3D%22M190%20492h460M190%20508h460%22%20stroke-dasharray%3D%222%206%22%20stroke-width%3D%22.65%22%2F%3E%3Crect%20x%3D%22176%22%20y%3D%2226%22%20width%3D%22488%22%20height%3D%22948%22%20stroke-opacity%3D%22.45%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--court-detail:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22760%22%20height%3D%22760%22%20viewBox%3D%220%200%20760%20760%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23c0b49b%22%20stroke-width%3D%221%22%20transform%3D%22rotate%2825%20380%20380%29%22%3E%3Crect%20x%3D%22170%22%20y%3D%22-40%22%20width%3D%22420%22%20height%3D%22840%22%2F%3E%3Cpath%20d%3D%22M170%20170h420M170%20380h420M170%20590h420M380%20170v420%22%2F%3E%3Cpath%20d%3D%22M170%20374h420M170%20386h420%22%20stroke-dasharray%3D%222%207%22%20stroke-width%3D%22.6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
body{font-family:'Nunito',system-ui,-apple-system,sans-serif;font-weight:600;background:var(--paper)}
a:hover{color:#66552d}:focus-visible{outline-color:#756439}
.site-header{min-height:96px;border-bottom:1px solid var(--line);margin-bottom:24px}
.app-link{background:#191919;border-color:#191919;color:#fff;padding:11px 20px}
.app-link:hover{background:#36332b;color:#fff}
.hero{isolation:isolate;min-height:440px;align-items:center;background:radial-gradient(ellipse at 87% 32%,#f2e6c7 0,transparent 49%),linear-gradient(115deg,#fffdf7 22%,#f3efe4 100%);border:1px solid #e6dfcf;border-radius:20px}
.hero-copy{padding:62px 64px;background:none;max-width:780px}
.hero h1{font-size:clamp(44px,5.5vw,70px);line-height:1.08;letter-spacing:-.025em;margin:22px 0}
.hero p:not(.eyebrow){font-size:18px;line-height:1.6;max-width:580px}
.eyebrow{color:#75694f;font-size:11px;letter-spacing:.17em;font-weight:800}
.hero::before,.article-heading::before,.site-footer::before{content:'';position:absolute;inset:0;background-image:var(--court-texture);background-size:200px 200px;opacity:.3;mix-blend-mode:multiply;pointer-events:none;z-index:0}
.hero::after{content:'';position:absolute;right:-105px;top:-300px;width:740px;height:940px;background:var(--court-lines) center/contain no-repeat;opacity:.4;pointer-events:none;z-index:0}
.hero-copy,.article-heading>*,.site-footer>*{position:relative;z-index:1}
.stories{padding-block:52px 80px}
.section-top{padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:32px}
.section-top h1,.section-top h2{font-size:34px;line-height:1.15}
.search-form input{background:#fff;border-color:var(--line);border-radius:100px;padding:10px 16px}
.search-form button{background:#191919;border-radius:100px;padding:10px 19px}
.story-card{border:1px solid #e4dfd4;border-radius:16px;overflow:hidden;background:#fffefa;box-shadow:0 8px 24px #3e352406}
.card-image{border-radius:0;background:#f3f0e7}
.card-court-art{position:relative;display:block;width:100%;aspect-ratio:1.5;overflow:hidden;background:radial-gradient(ellipse at 80% 20%,#efe4c6,transparent 70%),#f4f1e8}
.card-court-art::after{content:'';position:absolute;inset:-65% -15%;background:var(--court-detail) center/contain no-repeat;opacity:.45}
.card-body{padding:24px}
.story-card h2{font-size:27px;line-height:1.2;margin:14px 0}
.post-meta{font-size:11px;color:#777363;gap:10px}
.post-meta a{color:#5f573f;font-weight:800}
.excerpt{font-size:15px;color:#62675e;line-height:1.7}
.excerpt p{margin-bottom:0}
.site-footer{position:relative;isolation:isolate;overflow:hidden;border:1px solid #e2dccf;border-radius:18px;background:radial-gradient(ellipse at 15% 0,#fffdf6 0,transparent 65%),linear-gradient(110deg,#f1ede2,#f7f4eb);padding:36px 40px 24px;margin-bottom:24px}
.site-footer::after{content:'';position:absolute;width:470px;height:470px;right:-100px;top:-100px;background:var(--court-detail) center/contain no-repeat;opacity:.24;pointer-events:none;z-index:0}
.site-footer strong{font-size:20px}.site-footer p{color:#64665e}
.article-wrap{max-width:900px;padding-top:22px}
.article-heading{position:relative;isolation:isolate;overflow:hidden;padding:38px 40px;margin:28px -40px 40px;border:1px solid var(--line);border-radius:18px;background:radial-gradient(ellipse at 12% 0,#fffdf6 0,transparent 65%),linear-gradient(110deg,#f1ede2,#f7f4eb)}
.article-heading::after{content:'';position:absolute;right:-180px;top:-220px;width:630px;height:760px;background:var(--court-lines) center/contain no-repeat;opacity:.23;pointer-events:none;z-index:0}
.article-heading h1{font-size:clamp(38px,5vw,59px);line-height:1.13}
.entry-content{color:#343d42}.entry-content h2,.entry-content h3{color:var(--ink)}
.entry-content a{color:#5f4e25;text-decoration-thickness:1px}.entry-content a:hover{color:#171717}
.entry-content blockquote{background:#f5f1e6;border-color:#c3ac70;border-radius:0 12px 12px 0}
.entry-content th{background:#f3f0e7}pre{background:#f3f0e7;border-radius:10px}
@media(max-width:800px){.hero{min-height:420px}.hero-copy{padding:48px 38px}.hero::after{right:-270px;opacity:.3}.article-heading{margin-inline:0;padding:32px}.site-footer{padding:30px}}
@media(max-width:540px){.site-header{min-height:88px;margin-bottom:18px}.hero{min-height:430px;border-radius:16px}.hero-copy{padding:36px 25px}.hero h1{font-size:44px;line-height:1.1}.hero p:not(.eyebrow){font-size:16px}.hero::after{right:-355px;top:-240px;opacity:.27}.stories{padding-block:38px 52px}.card-body{padding:22px}.section-top h1,.section-top h2{font-size:30px}.site-footer{padding:26px 23px 20px}.article-heading{padding:26px 22px;margin-top:24px}.article-heading h1{font-size:38px}.article-heading::after{right:-350px;opacity:.18}}

/* Keep comparison labels intact and scroll the table within the article on phones. */
.entry-content .comparison-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:28px 0;border:1px solid var(--line);border-radius:12px;background:#fffefa;-webkit-overflow-scrolling:touch}
.entry-content table.sport-comparison{display:table;width:100%;min-width:650px;table-layout:fixed;border-collapse:collapse;margin:0;overflow:visible;font-size:16px;line-height:1.6}
.sport-comparison col.comparison-topic{width:120px}
.entry-content .sport-comparison th,.entry-content .sport-comparison td{padding:16px 18px;text-align:left;vertical-align:top;overflow-wrap:normal;word-break:normal;hyphens:none;border:1px solid var(--line)}
.entry-content .sport-comparison th[scope="row"]{white-space:nowrap;font-weight:800;background:#f8f5ed}
.entry-content .sport-comparison thead th{font-weight:800;background:#eee9dd}
@media(max-width:540px){.entry-content table.sport-comparison{min-width:620px;font-size:15px}.entry-content .sport-comparison th,.entry-content .sport-comparison td{padding:14px 16px}}
