/*
Theme Name: ひまねこch
Description: 黄色と黒、猫の案内を引き継いだ専用テーマの初回試作。
Version: 0.2.0
Requires PHP: 8.1
Text Domain: himatsubushi
*/
.wp-article-content{font-size:18px;line-height:1.95;overflow-wrap:anywhere}
.wp-article-content p{margin:0 0 1.2em}
.wp-article-content h2{font-size:21px;margin:1.7em 0 .65em}
.wp-article-content h2:first-child{margin-top:0}
.wp-article-content blockquote{margin:18px 0;padding:20px 24px;border-left:4px solid var(--category);background:#f4f7f4;border-radius:0 8px 8px 0}
.wp-article-content blockquote.best-answer,.wp-article-content blockquote.is-style-best-answer{border:1px solid #ecd98c;background:#fffbec;border-radius:10px}
.wp-article-content blockquote p:last-child{margin-bottom:0}
.wp-article-content cite{display:block;font-size:14px;font-style:normal;color:#62695f;margin-top:12px}
.wp-article-content a,.source-details a{color:#1c5980;text-decoration:underline;text-underline-offset:3px}
.source-details{border-top:1px solid var(--line);padding-top:18px;margin-top:28px;font-size:14px;color:#62695f;line-height:1.9;overflow-wrap:anywhere}
.source-details h2{font-size:16px;margin-bottom:6px}
.source-details dl{display:flex;flex-wrap:wrap;gap:4px 24px;margin:10px 0}
.source-details dl>div{display:flex;flex-wrap:wrap;gap:4px 10px}
.source-details dt{font-weight:700}.source-details dd{margin:0}
.wp-article-content .source-note{font-size:14px;line-height:1.8;color:#62695f}
.draft-label{font-size:12px;padding:4px 8px;background:#fff0ba;color:#513c00;border-radius:4px}
.local-toolbar{background:#202724;color:#fff;padding:8px 16px;text-align:center;font-size:14px}.local-toolbar a{color:#fff344;text-decoration:underline;margin-left:12px}
.category-inner{display:flex;flex-wrap:wrap;justify-content:center}.category-link{min-width:148px}
.question-main.no-photo{grid-template-columns:minmax(0,1fr)}
.card-bottom{justify-content:space-between}.card-bottom>.button:only-child{margin-left:auto}
.entry-meta{font-size:13px;color:#62695f;display:flex;flex-wrap:wrap;gap:8px 20px}
.entry-meta a{text-decoration:underline}.answer-preview p{font-weight:600}
.next-reading{margin-top:32px}
.next-intro{gap:22px;padding:24px 24px 16px;align-items:center}
.next-intro .cat-art{width:112px;flex:0 0 112px;align-self:center}
.next-intro h2{min-width:0;width:fit-content;margin:0;padding:7px 12px 9px;background:var(--yellow);border-radius:4px;font-size:32px;font-weight:900;line-height:1.35;letter-spacing:-.02em;text-wrap:balance}
.next-intro h2 span{display:inline-block}
.next-link{grid-template-columns:minmax(0,1fr) 32px;gap:24px;margin:0 20px 20px;padding:22px 24px}
.next-link .next-reading-intro{display:block;margin-bottom:8px;font-size:15px;font-weight:500;line-height:1.65;color:var(--yellow)}
.next-link>span{min-width:0;overflow-wrap:anywhere}
.next-link strong{display:block;font-size:22px;line-height:1.6}
.next-link>.icon{width:32px;height:32px}
.related a>span{min-width:0;overflow-wrap:anywhere}
.related .related-category{font-weight:700;text-underline-offset:3px}
.question-card .answer-preview{align-items:center}
.question-preview{display:block;-webkit-line-clamp:unset}
.page-navigation .current{background:var(--ink);color:white}
.side-random{display:block}.hero-random .button{display:inline-flex}
.side-random .random-read-line{display:flex;align-items:center;gap:10px}
.side-random .random-read-line .icon{width:34px;height:34px}
.side-random .cat-guide-left{display:block;position:absolute;right:6px;bottom:8px;width:114px;height:126px;object-fit:contain}
.empty-state p{color:#62695f}.login-note{margin-block:24px}
.thumbnail img{width:100%;height:100%;object-fit:cover}
/* ロゴだけを荒めの字形に。本文は読みやすい通常書体を維持する。 */
.header-inner{min-height:104px}
.brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:8px;letter-spacing:normal;font-weight:900;line-height:1;flex-shrink:0}
.brand .brand-wordmark{display:inline-flex;align-items:center;gap:8px;font-size:42px;line-height:1;letter-spacing:normal}
.brand .brand-name{display:block;letter-spacing:-.035em}
.brand-name-art{display:block;width:4em;height:auto;object-fit:contain}
.brand .brand-channel{display:inline-grid;place-items:center;background:var(--ink);color:var(--yellow);font-size:.7em;font-weight:900;font-style:italic;letter-spacing:-.045em;line-height:1;padding:.12em .2em .18em;border-radius:.17em .24em .18em .22em;transform:rotate(-7deg)}
.brand small,.site-footer .brand small{margin:0;font-size:24.5px;letter-spacing:0;line-height:1.4;font-weight:800}
.site-footer .brand-channel{background:var(--yellow);color:var(--ink)}
.site-footer .brand-name-art{filter:invert(1)}
.hero-copy h1{font-weight:800;letter-spacing:-.025em;line-height:1.35}
.hero-copy p{font-size:17px;font-weight:500;letter-spacing:.015em;line-height:1.8}
.hero-copy .intro-phrase{display:inline-block}
.question-preview,.answer-preview p{font-size:17px}
.card-bottom .button{font-size:16px}
.entry-meta,.card-top time,.draft-label{font-size:14px}
.results-heading h2{font-size:20px}
.side-random small,.side-recommend p{font-size:16px}
.side-recommend h2{font-size:19px}
.ranking-panel{scroll-margin-top:70px}
.ranking-empty{padding:22px 17px;font-size:14px;line-height:1.8}
.ranking-empty p+p{margin-top:8px;color:#62695f}
.feed-tabs{scroll-margin-top:54px}
.feed-tab{font-size:15px}
.feed-tab[aria-current="page"]{background:var(--ink);color:var(--yellow);border-color:var(--ink);box-shadow:inset 0 -3px var(--yellow)}
.feed-description{color:#62695f;font-size:14px;line-height:1.7;margin:-3px 0 16px}
.ranking-periods{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:8px 10px 0}
.ranking-periods a{display:grid;place-items:center;min-height:44px;background:#f3f4ef;font-size:14px;border-radius:5px}
.ranking-periods a[aria-current="true"]{background:#fff0b2;box-shadow:inset 0 -3px #dfbd1f}
.feed-periods{padding:0;margin:0 0 20px}
.empty-state .button{margin:16px 6px 0}
.rank-list .rank-text{font-size:14px;line-height:1.65}
.rank-list .rank-count{display:block;font-size:12px;font-weight:400;color:#62695f;margin-top:4px}
.ranking-empty{padding-top:18px}
.side-subtitle{font-size:12px;color:#62695f}
.notice-title{font-size:19px;padding:16px 17px 9px}
.notice-title:after{content:"";display:block;margin-top:7px;width:40px;height:3px;background:var(--yellow)}
.notice-content{padding:0 17px 18px;font-size:14px;line-height:1.8}
.notice-content a{display:flex;align-items:center;gap:8px;margin-top:12px;text-decoration:underline;text-underline-offset:3px}
.feed .cat-guide{margin-top:28px}
.question-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.page-layout .article-header h1{font-size:28px;overflow-wrap:anywhere}
.category-inner{justify-content:flex-start}
.category-link{flex:1 1 148px;padding-inline:12px;max-width:240px}
.desktop-nav{gap:22px;white-space:nowrap}
@media(max-width:850px){
 .sidebar{display:block}
 .sidebar>:not(.ranking-panel){display:none}
 .article-layout .sidebar{padding-top:0}
}
.tag{font-size:14px}
@media(max-width:560px){
 .header-inner{min-height:94px}
 .brand .brand-wordmark{font-size:38px;gap:7px}
 .brand small,.site-footer .brand small{font-size:22.2px}
 .hero-inner{grid-template-columns:minmax(0,1fr);gap:0;padding-top:6px}
 .hero-copy{display:contents}
 .hero-copy h1{grid-column:1;grid-row:1;font-size:clamp(26px,7.1vw,32px);line-height:1.4;letter-spacing:-.025em;margin:0 0 14px}
 .hero-copy p{grid-column:1;grid-row:2;font-size:16px;line-height:1.8;margin:0;padding:0;max-width:none}
 .hero-cat{grid-column:1;grid-row:3;justify-self:end;align-self:end;width:100px;margin-top:4px;transform:none}
 .hero-random{grid-column:1;grid-row:4}
 .hero-random p{display:none}.hero-random{padding-top:0}
 .hero-random .button{min-height:52px;font-size:18px;letter-spacing:.025em}
 .category-inner{justify-content:flex-start;padding-block:8px}
 .category-link{font-size:14px;flex:1 1 calc(50% - 8px);min-width:0;max-width:none;min-height:48px}
 .feed-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .feed-tab{font-size:14px;min-height:48px}
 .feed-description{font-size:13px}
 .page-layout .article-header h1{font-size:24px}
 .results-heading{margin-bottom:12px}.results-heading h2{font-size:19px}.results-heading span{font-size:13px}
 .question-heading h3{font-size:21px}.question-preview,.answer-preview p{font-size:16px}
 .tag,.card-top time,.draft-label,.entry-meta{font-size:13px}
 .wp-article-content{font-size:18px}
 .wp-article-content h2{font-size:21px}.wp-article-content blockquote{padding:16px}
 .local-toolbar{font-size:12px;text-align:left}.source-details{font-size:14px}
 .question-card .answer-preview{align-items:flex-start}
 .next-reading{margin-top:24px}
 .next-intro{gap:12px;padding:18px 14px 14px}
 .next-intro .cat-art{width:86px;flex-basis:86px}
 .next-intro h2{padding:7px 8px 9px;font-size:25px;line-height:1.4}
 .next-link{gap:14px;margin:0 12px 12px;padding:18px 16px}
 .next-link strong{font-size:19px}
}

/* 元モックアップの配置。後から採用したロゴと本文サイズは維持。 */
.header-inner{min-height:94px;gap:24px}
.desktop-nav{gap:19px}
.desktop-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px 0;font-size:13px;line-height:1.3;position:relative}
.desktop-nav .nav-item>.icon{width:23px;height:23px;stroke-width:2.5}
.desktop-nav .nav-item[aria-current]:after{content:"";position:absolute;height:3px;background:var(--ink);left:0;right:0;bottom:4px}
.header-inner>.search-form{min-width:160px;flex:1;max-width:290px;margin-left:auto}
.hero{position:relative;overflow-x:clip;overflow-y:visible;background:radial-gradient(ellipse at 45% 65%,#fff985 0,transparent 57%),var(--yellow)}
.hero-inner{position:relative;grid-template-columns:42% 29% 29%;gap:0;min-height:180px;isolation:isolate}
.hero-copy{position:relative;z-index:2;padding:10px 0 18px}
.hero-copy h1{font-size:clamp(35px,3.6vw,44px);font-weight:950;line-height:1.28;letter-spacing:-.055em;transform:rotate(-2deg);transform-origin:0 50%;margin:0 0 11px;text-shadow:.4px 0 currentColor,-.4px 0 currentColor}
.hero-copy h1>span{display:table;white-space:nowrap;position:relative;isolation:auto}
/* Both brush strokes share the headline stacking context beneath both text lines. */
.hero-copy h1>span:before{content:"";position:absolute;z-index:-1;inset:calc(-.12em - var(--hima-brush-extra,.138em)) -.24em calc(-.13em - var(--hima-brush-extra,.138em)) -.32em;background:url("assets/hero-brush-v002.svg") center/100% 100% no-repeat;pointer-events:none}
.hero-copy h1>span:first-child:before{bottom:calc(-.4em - var(--hima-brush-extra,.138em));transform:rotate(.55deg)}
.hero-copy h1>span:first-child{font-size:1.15em;margin-bottom:var(--hima-headline-gap,-.12em)}
.hero-copy h1>span+span{margin-left:0}
.hero-copy p{font-size:16px;font-weight:700;line-height:1.5;margin:0;padding-left:0}
.hero-cat{position:relative;z-index:3;width:calc(100% + 24px);max-width:355px;justify-self:center;align-self:end;transform:none;pointer-events:none}
/* Keep the ledge behind the cat so its paws rest over the edge. */
.hero-cat:before{content:"";position:absolute;z-index:-1;bottom:0;left:50%;width:200vw;height:15px;transform:translateX(-50%);background:#c6b6a7;border-top:2px solid #1b1d1a;box-shadow:inset 0 4px #e5dacc;pointer-events:none}
.hero-cat .cat-art{display:block;width:100%;height:auto}
.hero-cat .cat-note{right:6%;left:auto;top:0;font-size:15px;font-weight:800;line-height:1.3;transform:rotate(5deg) translate(32%,-25%)}
.hero-random{padding:0 0 12px 10px;z-index:4}
.hero-random p{font-size:15px;line-height:1.5;margin-bottom:9px;font-weight:800}
.hero-random .button{min-height:65px;font-size:19px;gap:10px;padding:14px 17px;white-space:nowrap}
.hero-random .button>.icon:first-child{width:34px;height:34px;flex-shrink:0;color:var(--yellow)}
.hero-random .button>.icon:last-child{width:22px;height:22px;color:var(--yellow)}
.hero-paw{position:absolute;z-index:1;pointer-events:none}
.hero-paw .icon{width:32px;height:32px;fill:currentColor;stroke:none}
.hero-paw-one{left:35%;bottom:22px;transform:rotate(-15deg)}
.hero-paw-two{right:1%;top:0;transform:rotate(16deg)}
.category-inner{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding-block:18px 16px}
.category-link{max-width:none;min-width:0;min-height:60px;gap:9px;padding:8px;justify-content:flex-start;box-shadow:0 3px 12px #20272004;border-color:#eef0e9}
.category-icon{width:42px;height:44px;flex:0 0 42px;border-radius:12px;box-shadow:inset 3px 0 #ffffff27}
.category-icon .icon{width:26px;height:26px}
.category-copy{min-width:0;text-align:left;line-height:1.4}
.category-copy strong{display:block;font-size:13px;font-weight:800;overflow-wrap:anywhere}
.category-copy small{display:block;margin-top:2px;color:#667069;font-size:13px;font-weight:400}
.category-pending{background:#fafbf8}
.layout{grid-template-columns:minmax(0,1fr) 292px;gap:22px;padding-top:18px}
.feed{position:relative;scroll-margin-top:50px}
.feed-tabs{margin-bottom:15px;gap:7px}
.feed-tab{min-height:48px;font-size:15px;border-radius:9px 9px 0 0}
.results-heading.sr-only,.feed-description.sr-only{margin:0}
.question-card{padding:17px 18px 13px;margin-bottom:15px;border-color:#e7eae4;box-shadow:0 2px 5px #18201705}
.question-main{grid-template-columns:minmax(0,1fr) 130px;gap:16px}
.question-heading h3{font-size:22px;line-height:1.4}
.question-main>.thumbnail{height:118px;border-radius:7px;overflow:hidden}
.question-card .answer-preview{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:12px;padding:11px 12px;margin-top:13px}
.answer-preview p{font-size:17px;line-height:1.75}
.best-label{font-size:12px;padding:5px 7px;line-height:1.7}
.best-label svg{width:16px;height:16px}
.card-bottom{gap:12px;margin-top:0;padding-top:20px}
.card-bottom>.button{border-radius:6px;font-size:15px;min-height:43px}
.side-random{min-height:206px;padding:17px 15px}
.side-random strong{font-size:34px;margin-top:11px;letter-spacing:-.04em}
.side-random small{font-size:15px;position:relative;z-index:2}
.side-random .cat-guide-left{width:157px;height:172px;right:-11px;bottom:0;object-position:bottom right}
.side-random .random-read-line{gap:13px}
.side-random .random-read-line .icon{width:38px;height:38px}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 18px}
@media(min-width:851px) and (max-width:1100px){
 .header-inner{gap:19px}.desktop-nav{gap:16px}
 .header-inner>.search-form{max-width:235px}
 .brand .brand-wordmark{font-size:42px}
 .hero-random .button{font-size:17px;padding:12px 14px;gap:8px}
 .hero-cat .cat-note{font-size:14px;right:9%}
 .hero-copy h1>span:before{right:-.08em}
 .category-inner{gap:8px}.category-link{padding:7px;gap:7px}
 .category-icon{width:38px;flex-basis:38px;height:42px}.category-copy strong{font-size:12px}
 .layout{grid-template-columns:minmax(0,1fr) 284px;gap:20px}
 .question-heading h3{font-size:21px}
}
@media(max-width:850px){
 .header-inner{min-height:94px}.header-inner>.search-form{max-width:none}
 .hero-inner{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0 12px}
 .hero-copy h1{font-size:clamp(29px,4.4vw,37px)}
 .hero-copy h1>span:before{right:-.1em}
 .hero-cat{grid-column:2;grid-row:1;width:100%;max-width:270px;transform:none}
 .hero-cat:before{height:9px}
 .hero-cat .cat-note{display:none}.hero-paw-two{display:none}
 .hero-random{grid-row:2;grid-column:1/-1;padding:8px 0 20px}
 .hero-random .button{width:min(440px,100%);min-height:54px;font-size:18px}
 .hero-random p{display:none}
 .hero-paw-one{left:54%;bottom:90px}
 .category-inner{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-block:14px}
 .category-copy strong{font-size:14px}
 .layout{grid-template-columns:minmax(0,1fr);padding-top:17px}
 .question-main{grid-template-columns:minmax(0,1fr) 125px}
}
@media(max-width:560px){
 .header-inner{gap:10px}.brand .brand-wordmark{font-size:38px}
 .hero-inner{grid-template-columns:minmax(0,1fr);gap:0;padding-top:10px}
 .hero-copy{display:contents}
 .hero-copy h1{grid-row:1;grid-column:1;font-size:clamp(24px,6.8vw,34px);line-height:1.3;letter-spacing:-.06em;margin:0 0 16px;transform:rotate(-2deg)}
 .hero-copy p{grid-row:2;grid-column:1;font-size:16px;font-weight:600;line-height:1.6;padding:0;max-width:none;align-self:start;margin:0}
 .hero-copy .intro-phrase{display:inline-block}
 .hero-cat{grid-row:3;grid-column:1;justify-self:end;align-self:end;width:156px;max-width:48%;margin:0 -3px 0 0;transform:none}
 .hero-random{grid-column:1;grid-row:4;padding:12px 0 20px}
 .hero-random .button{min-height:52px;font-size:18px}
 .hero-paw-one{display:none}
 .category-inner{grid-template-columns:repeat(2,minmax(0,1fr));padding-block:12px;gap:7px}
 .category-link{min-height:56px;padding:7px;gap:8px;border-radius:9px}
 .category-icon{width:34px;height:38px;flex-basis:34px;border-radius:9px}
 .category-icon .icon{width:23px;height:23px}
 .category-copy strong{font-size:13px}.category-copy small{font-size:12px}
 .feed-tabs{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}
 .feed-tab{font-size:14px}
 .question-card{padding:15px 13px 12px}
 .question-main{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:11px}
 .question-main>.thumbnail{display:block;height:84px}
 .question-heading h3{font-size:21px;line-height:1.45}
 .question-preview,.answer-preview p{font-size:16px}
 .question-card .answer-preview{grid-template-columns:minmax(0,1fr);gap:7px;padding:11px}
 .best-label{justify-self:start;padding:3px 6px;font-size:12px}
 .card-bottom{padding-top:16px;flex-wrap:wrap;gap:8px}
 .card-bottom .entry-meta{font-size:12px}.card-bottom>.button{margin-left:auto;font-size:14px}
}
@media(max-width:360px){
 .hero-cat{width:136px}
 .question-main{grid-template-columns:minmax(0,1fr)}
 .question-main>.thumbnail{width:100%;height:132px;order:-1}
}
@media(min-width:851px) and (max-width:980px){
 .hero-copy h1{font-size:31px}
 .hero-paw-one{display:none}
 .question-main{grid-template-columns:minmax(0,1fr) 110px;gap:12px}
 .question-main>.thumbnail{height:104px}
}

/* Final mockup sidebar: a reclining cat, a two-line action, and dated notices. */
.side-random{isolation:isolate}
.side-random strong{position:relative;z-index:1;width:max-content}
.side-random .random-read-line{gap:10px}
.side-random .random-read-line .icon{width:50px;height:50px;padding:6px;border-radius:50%;color:var(--yellow);background:var(--ink)}
.side-random-cat{position:absolute;right:0;bottom:0;width:140px;pointer-events:none;z-index:0}
.side-random .side-random-cat .cat-art{display:block;position:static;width:100%;height:auto;transform:none}
.notice-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px 10px}
.notice-header .notice-title{padding:0;font-size:19px;flex-shrink:0}
.notice-all{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700}
.notice-all .icon{width:17px;height:17px}
.notice-all:hover,.notice-list a:hover{text-decoration:underline;text-underline-offset:3px}
.notice-list{list-style:none;margin:0;padding:0 16px 12px;font-size:13px;line-height:1.7}
.notice-list li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.notice-list li:not(:has(time)){grid-template-columns:1fr}
.notice-list time{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;padding-top:2px;white-space:nowrap}
.notice-list a,.notice-list span{overflow-wrap:anywhere}
.notice-empty{margin:0;padding:0 16px 18px;font-size:13px;color:var(--muted)}

/* Keep the six category labels together at the narrow desktop breakpoint. */
@media(min-width:851px) and (max-width:980px){
 .category-link{padding-inline:6px;gap:6px}
 .category-icon{width:32px;flex-basis:32px}
 .category-copy strong{white-space:nowrap}
}

/* Reader comments follow the article's yellow and black palette. */
.page-layout .wp-article-content{font-size:17px;line-height:1.9;overflow-wrap:anywhere}
.page-layout .wp-article-content h2{font-size:23px;margin:30px 0 14px;padding-bottom:8px;border-bottom:3px solid var(--yellow)}
.page-layout .wp-article-content ul{padding-left:1.5em}
.page-layout .wp-article-content li{margin-bottom:12px}
.page-layout .wpcf7{margin-top:24px}
.page-layout .wpcf7 label{display:block;font-size:16px;font-weight:700}
.page-layout .wpcf7 input:not([type=submit]),.page-layout .wpcf7 select,.page-layout .wpcf7 textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:6px;padding:12px;border:1px solid #8d9690;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-weight:400;line-height:1.6}
.page-layout .wpcf7 input:focus-visible,.page-layout .wpcf7 select:focus-visible,.page-layout .wpcf7 textarea:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.page-layout .wpcf7 input[type=submit]{min-height:48px;padding:12px 25px;border:0;border-radius:7px;background:var(--ink);color:var(--yellow);font:inherit;font-weight:800;cursor:pointer}
.page-layout .wpcf7 .wpcf7-not-valid-tip{font-size:14px}
.page-layout .wpcf7 .wpcf7-response-output{margin:20px 0;padding:14px;font-size:16px}
.page-layout .contact-preview-note{background:#fff6c8;border-left:4px solid #d3ae00;padding:14px;font-size:15px}
@media(max-width:560px){.page-layout .wp-article-content{font-size:16px}.page-layout .wpcf7 input[type=submit]{width:100%}}
.reader-comments{margin-top:30px;padding:25px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}
.reader-comments-heading{border-bottom:3px solid var(--yellow);padding-bottom:13px;margin-bottom:20px}
.reader-comments-heading h2{font-size:23px;line-height:1.4}
.reader-comments-heading p{margin-top:5px;color:#4e5654;font-size:15px}
.reader-comments-count{font-size:17px;margin:0 0 13px}
.reader-comments-list,.reader-comments-list .children{list-style:none;margin:0;padding:0}
.reader-comments-list>li{padding:18px 0;border-top:1px solid var(--line)}
.reader-comments-list .children{margin:16px 0 0 18px;padding-left:16px;border-left:3px solid var(--yellow)}
.reader-comments-list .children>li{padding:14px 0;border-top:1px solid var(--line)}
.reader-comments-list .comment-body{line-height:1.8}
.reader-comments-list .comment-meta{font-size:13px;color:#59625d}
.reader-comments-list .comment-author{font-weight:800;color:var(--ink)}
.reader-comments-list .comment-author .says{font-weight:400}
.reader-comments-list .comment-metadata a{text-decoration:underline;text-underline-offset:2px}
.reader-comments-list .comment-content{margin:10px 0;overflow-wrap:anywhere}
.reader-comments-list .comment-content p+p{margin-top:10px}
.reader-comments-list .reply a{display:inline-block;padding:5px 10px;border-radius:5px;background:#fff3a1;font-weight:700}
.reader-comments .comment-navigation{display:flex;gap:14px;justify-content:space-between;margin:18px 0}
.reader-comments .comment-navigation a{text-decoration:underline;text-underline-offset:3px}
.reader-comments .comment-respond{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.reader-comments .comment-reply-title{font-size:19px;margin-bottom:13px}
.reader-comments .comment-reply-title small{font-size:13px;font-weight:500}
.reader-comments .comment-reply-title a{text-decoration:underline}
.reader-comments .comment-form p{margin:0 0 15px}
.reader-comments .comment-form label{display:block;font-weight:700;margin-bottom:6px}
.reader-comments .comment-form textarea,.reader-comments .comment-form input[type=text],.reader-comments .comment-form input[type=email]{display:block;width:100%;max-width:100%;padding:11px 12px;border:1px solid #a9afaa;border-radius:7px;background:#fff;color:var(--ink);font:inherit}
.reader-comments .comment-form textarea{min-height:130px;resize:vertical}
.reader-comments .comment-form textarea:focus-visible,.reader-comments .comment-form input:focus-visible{outline:3px solid #2760d6;outline-offset:2px}
.reader-comments .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:9px}
.reader-comments .comment-form-cookies-consent input{margin-top:5px}
.reader-comments .comment-form-cookies-consent label{font-weight:400}
.reader-comments .form-submit{margin:18px 0 0}
.reader-comments .form-submit input,.reader-comments .form-submit button{min-height:48px;padding:10px 22px;border:0;border-radius:7px;background:var(--ink);color:var(--yellow);font:inherit;font-weight:800;cursor:pointer}
.reader-comments .form-submit input:hover{background:#373d3e}
.reader-comments .reader-comments-policy{font-size:13px;color:#56605b;margin:12px 0 0}
.reader-comments .reader-comments-notice,.reader-comments .reader-comments-closed{padding:12px 14px;border-radius:7px;background:#fff3a1;font-weight:700;margin:0 0 18px}
.reader-comments-preview fieldset{margin:0;padding:0;border:0;min-width:0}
.reader-comments-preview :disabled{cursor:not-allowed;opacity:.6}
@media(max-width:560px){
 .reader-comments{padding:18px 15px;margin-top:24px}
 .reader-comments-heading h2{font-size:21px}
 .reader-comments-list .children{margin-left:8px;padding-left:10px}
 .reader-comments .form-submit input,.reader-comments .form-submit button{width:100%}
}

/* Four reading styles sit above the existing subject categories. */
.entry-types { padding-top: 28px; padding-bottom: 28px; scroll-margin-top: 100px; }
.entry-types-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.entry-types-heading h2 { margin: 0; font-size: 22px; font-weight: 900; }
.entry-types-heading > a { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.entry-types-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.entry-type-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 16px; background: var(--yellow); color: #111; border: 2px solid #111; border-radius: 12px; box-shadow: 3px 3px 0 #111; text-decoration: none; }
.entry-type-card strong { font-size: 21px; font-weight: 900; line-height: 1.4; }
.entry-type-card > span { font-size: 13px; line-height: 1.5; }
.entry-type-card small { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; font-size: 13px; font-weight: 800; }
.entry-type-card:hover, .entry-type-card:focus-visible { color: var(--yellow); background: #111; }
.entry-type-card:focus-visible { outline: 3px solid #111; outline-offset: 5px; }
@media (max-width: 760px) {
    .entry-types { padding-top: 22px; padding-bottom: 22px; }
    .entry-types-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .entry-types-heading h2 { font-size: 20px; }
    .entry-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .entry-type-card { padding: 15px 12px 12px; gap: 8px; }
    .entry-type-card strong { font-size: 18px; }
    .entry-type-card > span, .entry-type-card small { font-size: 12px; }
}

.wp-article-content .wp-block-image{margin:24px 0}.wp-article-content .wp-block-image img{display:block;max-width:100%;height:auto}.wp-article-content .wp-block-image figcaption{font-size:13px;color:#62695f;line-height:1.7;margin-top:8px}

/* 2026-10-07: larger browsing scale; preserve the cat artwork and article text. */
.hero-copy h1{isolation:isolate}
.cat-guide{grid-template-columns:140px minmax(0,1fr);grid-template-areas:"cat copy" "cat action";gap:12px 24px}
.cat-guide>.button{justify-self:end;max-width:100%;white-space:normal}
.results-heading{margin-bottom:14px}
.feed-description{margin:0 0 18px;color:#62695f;font-size:16px}
@media(min-width:851px){
 .wrap{width:min(1360px,calc(100% - 64px))}
 .hero-inner{grid-template-columns:42% 29% 29%;min-height:224px}
 .hero-copy h1{font-size:clamp(37px,3.8vw,52px)}
 .hero-copy p{font-size:18px}
 .hero-cat{max-width:410px}
 .hero-cat .cat-note{font-size:17px}
 .hero-random p{font-size:17px}
 .hero-random .button{font-size:21px;min-height:72px}
 .desktop-nav .nav-item{font-size:15px}
 .layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}
 .feed-tab{font-size:17px;min-height:54px}
 .question-card{padding:22px 24px 18px}
 .question-heading h3{font-size:26px}
 .question-main{grid-template-columns:minmax(0,1fr) 158px;gap:22px}
 .question-main>.thumbnail{height:146px}
 .question-preview{font-size:18px}
 .tag,.entry-meta{font-size:14px}
 .card-bottom>.button{font-size:18px;min-height:50px}
 .category-copy strong,.category-copy small{font-size:15px}
 .category-icon{width:46px;height:48px;flex-basis:46px}
 .side-title{font-size:20px}.rank-text{font-size:17px}
 .guide-copy h2{font-size:24px}.guide-copy p{font-size:18px}
 .cat-guide>.button{font-size:18px;min-height:52px}
}
@media(min-width:851px) and (max-width:1100px){
 .wrap{width:calc(100% - 40px)}
 .hero-copy h1{font-size:32px}
 .hero-copy p{font-size:16px}
 .hero-random .button{font-size:17px;gap:8px;padding-inline:12px}
 .layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}
 .question-main{grid-template-columns:minmax(0,1fr) 120px;gap:14px}
 .question-main>.thumbnail{height:112px}
 .question-heading h3{font-size:24px}
 .category-copy strong,.category-copy small{font-size:13px}
 .category-icon{width:36px;flex-basis:36px}
}
@media(max-width:560px){
 .hero-copy h1{font-size:clamp(26px,7.7vw,36px)}
 .hero-cat{width:184px}
 .hero-random .button{font-size:20px;min-height:58px}
 .feed-tab{font-size:16px;min-height:52px}
 .category-copy strong{font-size:15px}.category-copy small{font-size:13px}
 .question-heading h3{font-size:23px}
 .question-preview{font-size:17px}
 .question-main{grid-template-columns:minmax(0,1fr) 92px}
 .question-main>.thumbnail{height:94px}
 .card-bottom>.button{font-size:16px;min-height:48px}
 .cat-guide{grid-template-columns:86px minmax(0,1fr);gap:12px}
 .guide-copy h2{font-size:20px}.guide-copy p{font-size:16px}
 .cat-guide>.button{font-size:17px}
}
@media(max-width:360px){
 .hero-cat{width:162px}
 .question-main{grid-template-columns:minmax(0,1fr)}
 .question-main>.thumbnail{height:150px;width:100%}
}

@media(min-width:561px) and (max-width:850px){
 .question-heading h3{font-size:24px}
 .question-preview{font-size:17px}
 .card-bottom>.button{font-size:17px;min-height:48px}
}

/* Match the hero ledge to the paw roots (source y=242 within y=80..265). */
.hero-cat:before{height:calc(100% * 23 / 185)}
/* Larger cat and balanced copy; keep the next-page action at bottom right. */
.cat-guide{grid-template-columns:240px minmax(0,1fr);grid-template-areas:"cat copy" "cat action";gap:8px 24px;padding:18px 20px 0 12px;min-height:0;align-items:center}
.guide-cat{width:240px;align-self:end;margin:0}
.guide-copy{padding:0}
.guide-copy h2{font-size:28px;line-height:1.4;margin:0}
.guide-copy p{font-size:20px;line-height:1.5;margin:4px 0 0}
.cat-guide>.button{align-self:end;justify-self:end;margin:0 0 16px;max-width:100%;width:auto}
@media(max-width:1100px){
 .cat-guide{grid-template-columns:180px minmax(0,1fr);gap:8px 20px;padding:16px 18px 0 10px}
 .guide-cat{width:180px}
 .guide-copy h2{font-size:24px}
 .guide-copy p{font-size:18px}
}
@media(max-width:560px){
 .cat-guide{grid-template-columns:120px minmax(0,1fr);grid-template-areas:"cat copy" "action action";gap:10px 12px;padding:12px}
 .guide-cat{width:120px;align-self:center}
 .guide-copy h2{font-size:20px}
 .guide-copy p{font-size:16px}
 .cat-guide>.button{width:auto;min-height:48px;margin:0;padding:10px 12px}
}
@media(max-width:350px){
 .cat-guide{grid-template-columns:100px minmax(0,1fr)}
 .guide-cat{width:100px}
}
