/*
Theme Name: TableAce Blog
Theme URI: https://texasholdemgaming.com/
Author: TexasHoldemGaming
Description: A responsive TableAce journal theme matching the cream, forest green and gold sales site. Includes archives, accessible menus, sharing and configurable calls to action.
Version: 1.0.0
Requires at least: 6.6
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: tableace-blog
Tags: blog, custom-logo, custom-menu, featured-images, editor-style, wide-blocks
*/
:root{--ink:#152b25;--cream:#f5f2e9;--green:#183f34;--muted:#5b6962;--gold:#e6bc60;--line:#d5dad1}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}a{color:inherit;text-underline-offset:4px}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}h1,h2,h3,h4{line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}h1{font-size:clamp(38px,5.5vw,76px);margin:24px 0}h2{font-size:clamp(28px,3.6vw,48px)}p{margin:1em 0}:focus-visible{outline:3px solid #a76816;outline-offset:4px}[hidden]{display:none!important}.screen-reader-text{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{clip:auto;width:auto;height:auto;margin:0;left:15px;top:15px;z-index:1000;padding:12px 20px;background:var(--green);color:white}.site-header{border-bottom:1px solid #152b2518}.header-inner{max-width:1500px;margin:auto;padding:24px 5vw;display:flex;justify-content:space-between;align-items:center;gap:25px}.identity{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.brand{font-size:26px;font-weight:850;letter-spacing:-.055em;display:inline-flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap}.brand>span{background:var(--green);color:var(--gold);border-radius:12px;display:grid;place-items:center;width:38px;height:42px;font-size:29px}.blog-label{font-size:9px;font-weight:800;letter-spacing:.13em;text-decoration:none;border-left:1px solid #bbc9bd;padding-left:20px}.custom-logo{max-width:180px;max-height:60px;width:auto}.site-header nav,.site-header .menu{display:flex;gap:24px;align-items:center}.menu{list-style:none;padding:0;margin:0}.site-header nav a{font-size:13px;font-weight:750;text-decoration:none}.menu li{position:relative}.menu .sub-menu{padding:12px;list-style:none;position:absolute;left:0;top:100%;min-width:200px;z-index:20;background:#fffbf5;border:1px solid var(--line);display:none}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu .sub-menu .sub-menu{position:static}.menu .sub-menu a{display:block;padding:8px}.primary{background:var(--green);color:white;border:0;border-radius:9px;padding:16px 22px;text-decoration:none;font-size:14px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:25px}.primary:hover{background:#285843}.primary.compact{padding:11px 18px}.text-link{font-size:13px;font-weight:800}.journal-hero{max-width:1440px;margin:auto;padding:72px 5vw 82px;display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.journal-hero h1{max-width:750px}.journal-hero p{color:var(--muted);max-width:570px;font-size:18px}.beta-pill{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:850;letter-spacing:.14em;background:#e6eadd;border:1px solid #cbd4c6;border-radius:25px;padding:9px 13px}.beta-pill>span{height:7px;width:7px;border-radius:50%;background:#428164}.hero-note{background:#dce8dc;border-radius:22px;border:1px solid #c6d3c1;padding:32px;text-align:center;transform:rotate(-2deg);box-shadow:0 26px 65px #253f3418}.hero-suit{display:block;color:var(--green);font-size:110px;line-height:1.3}.journal-hero .hero-note p{font-size:24px;color:var(--ink);line-height:1.4}.hero-note em{font-family:Georgia,serif;color:#42735d;font-size:38px}.kicker{font-size:10px;font-weight:850;letter-spacing:.15em}.feature-ribbon{display:flex;justify-content:space-around;gap:16px;flex-wrap:wrap;background:var(--green);color:#e8e7d9;padding:25px 5vw;font-size:11px;font-weight:750;letter-spacing:.12em}.feature-ribbon i{color:var(--gold);font-style:normal}.listing-section{max-width:1440px;margin:auto;padding:70px 5vw 90px}.listing-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:28px}.listing-heading h1,.listing-heading h2{margin:10px 0 0;font-size:clamp(30px,4vw,48px)}.archive-description{max-width:650px;color:var(--muted)}.search-form{display:flex;max-width:100%;gap:8px}.search-form input{min-width:0;width:100%;background:#fffefa;border:1px solid #b9c6bb;border-radius:8px;padding:10px 12px}.search-form label{min-width:0}.search-form button,.copy-link{background:var(--green);color:#fff;border:0;padding:10px 16px;border-radius:8px;font-size:13px;font-weight:750}.category-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 30px}.category-nav a{font-size:12px;border:1px solid #c5d1c4;padding:6px 15px;border-radius:25px;text-decoration:none}.category-nav a:hover,.category-nav [aria-current]{background:var(--green);color:white}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-card{background:#fcfbf7;border:1px solid #e1e2d7;border-radius:18px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.post-card.sticky{border-color:#a77725}.card-image{display:block;aspect-ratio:900/580;overflow:hidden;background:#dce8dc}.card-image img{display:block;width:100%;height:100%;object-fit:cover}.card-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#dce8dc;color:var(--green);gap:8px}.post-card:nth-child(3n+2) .card-placeholder{background:#e9e2f0}.post-card:nth-child(3n+3) .card-placeholder{background:#f4dfcd}.card-placeholder span{font-size:76px;line-height:1}.card-placeholder small{font-size:8px;letter-spacing:.15em}.card-copy{padding:25px;display:flex;flex-direction:column;flex:1}.categories{font-size:10px;letter-spacing:.08em;font-weight:800;color:#36694f}.categories a{text-decoration:none}.post-card h2{font-size:26px;margin:13px 0}.post-card h2 a{text-decoration:none}.post-card h2 a:hover{text-decoration:underline}.post-meta{font-size:12px;color:var(--muted)}.excerpt{color:var(--muted);font-size:14px}.card-copy>.text-link{margin-top:auto}.pagination,.post-navigation{margin-top:40px}.nav-links{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.page-numbers{border:1px solid var(--line);padding:8px 14px;border-radius:8px;text-decoration:none}.page-numbers.current{background:var(--green);color:white}.article-main{max-width:1040px;margin:auto;padding:65px 5vw 80px}.article-header{max-width:800px;margin:0 auto 34px}.article-header h1{font-size:clamp(36px,5vw,64px)}.article-header .categories{margin-top:32px}.article-image{margin:0 0 35px}.article-image img{width:100%;border-radius:18px;display:block}.article-image figcaption{font-size:12px;text-align:center;color:var(--muted);margin-top:8px}.entry-content{max-width:800px;margin:auto;overflow-wrap:anywhere}.entry-content h2{font-size:34px;margin-top:1.5em}.entry-content h3{font-size:27px;margin-top:1.5em}.entry-content p,.entry-content li{line-height:1.85}.entry-content blockquote{border-left:4px solid var(--gold);margin:30px 0;padding:15px 25px;background:#e8ecdf;font-family:Georgia,serif;font-size:23px}.entry-content pre{overflow:auto;background:#e8ecdf;padding:20px;border-radius:10px}.entry-content table{border-collapse:collapse;width:100%}.entry-content th,.entry-content td{padding:10px;border:1px solid var(--line)}.wp-block-table{overflow-x:auto}.entry-content iframe{max-width:100%}.entry-content .alignwide{width:calc(100% + 60px);max-width:calc(100% + 60px);margin-left:-30px}.entry-content .alignfull{width:100%;margin-left:0}.alignleft{float:left;margin:0 24px 20px 0}.alignright{float:right;margin:0 0 20px 24px}.aligncenter{display:block;margin-inline:auto}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:12px;color:var(--muted)}.entry-content:after{content:"";display:block;clear:both}.wp-block-button__link{background:var(--green);color:white;border-radius:9px}.article-footer{max-width:800px;margin:40px auto 0;border-top:1px solid var(--line);padding-top:24px}.sharing{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.sharing strong{width:100%}.share-status{overflow-wrap:anywhere;max-width:100%}.tags{font-size:13px;margin-bottom:20px}.post-navigation .nav-previous,.post-navigation .nav-next{max-width:46%;overflow-wrap:anywhere}.post-navigation span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.comments-area{border-top:1px solid var(--line);margin-top:50px;padding-top:20px}.comments-area h2{font-size:30px}.comment-list{padding-left:22px}.comment-body{margin:24px 0}.comment-list .children{padding-left:20px}.comment-author .avatar{float:left;margin-right:12px;border-radius:50%}.comment-meta{font-size:12px}.comment-form textarea,.comment-form input:not([type=checkbox]):not([type=submit]){width:100%;padding:12px;border:1px solid #b9c6bb;border-radius:8px;background:#fffefa}.comment-form label{display:block}.comment-form .comment-form-cookies-consent label{display:inline}.form-submit input{background:var(--green);color:white;border:0;padding:14px 20px;border-radius:9px}.cta-band{background:#dce8dc;padding:65px max(5vw,20px);display:flex;justify-content:space-between;align-items:center;gap:40px}.cta-band h2{max-width:680px;margin:15px 0}.cta-band p{color:var(--muted);max-width:600px}.cta-band>.primary{flex-shrink:0}.site-footer{padding:40px 5vw;background:#10271f;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:30px;color:#d7e1d5}.site-footer p,.site-footer small{font-size:12px;color:#a0b4a3}.site-footer nav,.site-footer .menu{display:flex;flex-wrap:wrap;gap:20px}.site-footer nav a{font-size:12px;text-decoration:none}.empty-state{padding-block:55px}.menu-toggle{border:1px solid #a9b6ae;border-radius:8px;padding:8px 14px;background:transparent;font-size:13px}.bypostauthor{border-left:2px solid var(--gold);padding-left:12px}.wp-block-image img{height:auto}
@media(min-width:1600px){.cta-band,.site-footer{padding-inline:calc((100vw - 1300px)/2)}}
@media(max-width:1100px){.header-inner,.identity{gap:14px}.blog-label{display:none}.site-header nav,.site-header .menu{gap:16px}.journal-hero{gap:35px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.header-inner{padding:18px 20px;flex-wrap:wrap}.site-header nav{width:100%;flex-wrap:wrap}.site-header nav.enhanced{display:none}.site-header nav.enhanced.is-open{display:flex}.menu-toggle{margin-left:auto}.site-header .menu{width:100%;flex-direction:column;align-items:stretch;gap:0}.site-header .menu a{display:block;padding:10px 0}.menu .sub-menu{display:block;position:static;border:0;background:transparent;padding:0 0 0 18px}.journal-hero{padding:38px 20px 50px;grid-template-columns:1fr;gap:30px}.journal-hero h1{font-size:48px}.journal-hero p{font-size:16px}.hero-note{padding:20px;transform:none}.hero-suit{font-size:70px}.journal-hero .hero-note p{margin:8px 0;font-size:20px}.hero-note em{font-size:30px}.feature-ribbon{font-size:9px;padding:20px}.feature-ribbon i{display:none}.listing-section{padding:45px 20px 60px}.listing-heading{display:block}.listing-heading .search-form{margin-top:20px}.post-grid{grid-template-columns:1fr}.article-main{padding:40px 20px 55px}.article-header h1{font-size:38px}.entry-content .alignwide{width:100%;max-width:100%;margin-left:0}.alignleft,.alignright{float:none;margin:20px 0}.cta-band{padding:45px 20px;display:block}.cta-band>.primary{margin-top:15px}.site-footer{padding:35px 20px}.sharing{gap:16px}.post-navigation .nav-previous,.post-navigation .nav-next{max-width:100%}}
@media(min-width:761px){.menu-toggle{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
