/*
Theme Name: AllRounderHub
Theme URI: https://allrounderhub.com/
Author: AllRounderHub
Description: A lightweight standalone theme for AllRounderHub. Presentation only; content types and business logic belong in plugins.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
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: allrounderhub
Tags: blog, news, e-commerce, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

:root { --arh-ink:#172033; --arh-muted:#607086; --arh-surface:#fff; --arh-page:#f5f7fb; --arh-brand:#1264e8; --arh-brand-dark:#0b47a9; --arh-line:#dfe5ef; --arh-radius:14px; --arh-shadow:0 8px 28px rgba(19,39,76,.08); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--arh-page); color:var(--arh-ink); font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; font-size:16px; line-height:1.65; }
img { max-width:100%; height:auto; }
a { color:var(--arh-brand); text-decoration-thickness:1px; text-underline-offset:3px; }
a:hover { color:var(--arh-brand-dark); }
button,input,textarea,select { font:inherit; }
.screen-reader-text { clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; width:1px; word-wrap:normal!important; }
.screen-reader-text:focus { clip:auto!important; clip-path:none; display:block; height:auto; left:5px; padding:10px 14px; position:fixed; top:5px; width:auto; z-index:99999; background:#fff; box-shadow:var(--arh-shadow); }
.arh-container { width:min(1180px, calc(100% - 32px)); margin-inline:auto; }
.site-header { background:#fff; border-bottom:1px solid var(--arh-line); position:relative; z-index:20; }
.site-header__inner { min-height:76px; display:flex; align-items:center; gap:28px; }
.site-branding { flex:0 0 auto; }
.custom-logo-link { display:block; line-height:0; }.custom-logo { max-height:48px; width:auto; }
.site-title { color:var(--arh-ink); font-size:1.3rem; font-weight:800; text-decoration:none; }.site-description { color:var(--arh-muted); font-size:.82rem; margin:0; }
.primary-navigation { margin-left:auto; }.primary-navigation ul { list-style:none; margin:0; padding:0; display:flex; gap:4px; align-items:center; }.primary-navigation li { position:relative; }.primary-navigation a { color:var(--arh-ink); display:block; font-weight:650; padding:11px 12px; text-decoration:none; }.primary-navigation a:hover,.primary-navigation .current-menu-item>a { color:var(--arh-brand); }.primary-navigation .sub-menu { display:none; min-width:210px; position:absolute; top:100%; left:0; padding:7px; background:#fff; border:1px solid var(--arh-line); border-radius:10px; box-shadow:var(--arh-shadow); }.primary-navigation li:hover>.sub-menu,.primary-navigation li:focus-within>.sub-menu { display:block; }.menu-toggle { display:none; border:1px solid var(--arh-line); border-radius:8px; background:#fff; color:var(--arh-ink); padding:8px 12px; margin-left:auto; }
.site-content { padding-block:42px 58px; }.content-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:34px; }.content-area,.widget-area,.entry-card,.arh-card { min-width:0; }
.entry-card,.arh-card,.widget,.arh-ad-slot { background:var(--arh-surface); border:1px solid var(--arh-line); border-radius:var(--arh-radius); box-shadow:var(--arh-shadow); }.entry-card { overflow:hidden; margin-bottom:24px; }.entry-card__body { padding:24px; }.entry-card__image { display:block; background:#e9eef8; line-height:0; }.entry-card__image img { width:100%; aspect-ratio:16/8; object-fit:cover; }.entry-title { font-size:clamp(1.4rem,2.7vw,2.2rem); line-height:1.2; margin:0 0 10px; }.entry-title a { color:inherit; text-decoration:none; }.entry-title a:hover { color:var(--arh-brand); }.entry-meta { color:var(--arh-muted); font-size:.9rem; margin-bottom:14px; }.entry-summary p { margin-bottom:0; }.read-more { font-weight:700; text-decoration:none; }.arh-clickable-card { cursor:pointer; transition:transform .16s ease,box-shadow .16s ease; }.arh-clickable-card:hover,.arh-clickable-card:focus { box-shadow:0 12px 32px rgba(19,39,76,.15); transform:translateY(-2px); outline:none; }.arh-clickable-card:focus-visible { outline:3px solid var(--arh-brand); outline-offset:3px; }
.page-header { margin-bottom:28px; }.page-title { font-size:clamp(2rem,4vw,3rem); line-height:1.1; margin:0 0 10px; }.archive-description { color:var(--arh-muted); }.archive-description>*:last-child { margin-bottom:0; }
.single-entry,.page-entry { background:#fff; border:1px solid var(--arh-line); border-radius:var(--arh-radius); padding:clamp(22px,4vw,52px); box-shadow:var(--arh-shadow); }.single-entry .entry-header { margin-bottom:26px; }.featured-image { margin:0 0 28px; }.featured-image img { width:100%; border-radius:10px; }.entry-content { overflow-wrap:anywhere; }.entry-content>*:first-child { margin-top:0; }.entry-content>*:last-child { margin-bottom:0; }.entry-content h2,.entry-content h3 { line-height:1.25; margin-top:1.7em; }.entry-content blockquote { border-left:4px solid var(--arh-brand); color:#344157; margin:1.5em 0; padding:8px 0 8px 20px; }.entry-content table { border-collapse:collapse; max-width:100%; width:100%; }.entry-content td,.entry-content th { border:1px solid var(--arh-line); padding:9px; text-align:left; }.entry-content .wp-block-button__link,.button,.submit { background:var(--arh-brand); border:0; border-radius:8px; color:#fff; cursor:pointer; display:inline-block; font-weight:750; padding:11px 17px; text-decoration:none; }.entry-content .wp-block-button__link:hover,.button:hover,.submit:hover { background:var(--arh-brand-dark); color:#fff; }
.arh-hero { background:linear-gradient(125deg,#0c3f97,#1474f4); border-radius:18px; color:#fff; margin-bottom:34px; padding:clamp(30px,6vw,72px); }.arh-hero h1 { font-size:clamp(2.2rem,5vw,4rem); line-height:1.04; margin:0 0 15px; }.arh-hero p { font-size:1.15rem; max-width:680px; }.arh-hero .button { background:#fff; color:var(--arh-brand-dark); }.arh-section { margin:40px 0; }.arh-section__title { font-size:1.6rem; margin:0 0 18px; }.arh-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }.arh-card { overflow:hidden; }.arh-card__body { padding:20px; }.arh-card__body h2,.arh-card__body h3 { font-size:1.25rem; line-height:1.25; margin:0 0 9px; }.arh-card__body h2 a,.arh-card__body h3 a { color:inherit; text-decoration:none; }
.arh-affiliate-cta { background:#eef5ff; border:1px solid #b9d4ff; border-radius:12px; margin:28px 0; padding:22px; }.arh-affiliate-cta h2,.arh-affiliate-cta h3 { margin-top:0; }.arh-affiliate-cta__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:15px; }.arh-ad-slot { color:var(--arh-muted); display:grid; min-height:110px; place-items:center; padding:18px; text-align:center; box-shadow:none; }.arh-ad-slot:before { content:"Advertisement"; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.widget { background:#fff; margin-bottom:22px; padding:22px; }.widget-title { font-size:1.05rem; margin:0 0 14px; }.widget ul { margin:0; padding-left:20px; }.widget li+li { margin-top:7px; }.search-form { display:flex; gap:8px; }.search-field { border:1px solid var(--arh-line); border-radius:8px; min-width:0; padding:9px 10px; width:100%; }.search-submit { background:var(--arh-brand); border:0; border-radius:8px; color:#fff; padding:9px 12px; }
.post-navigation,.posts-navigation,.comment-navigation { margin-top:28px; }.nav-links { display:flex; justify-content:space-between; gap:16px; }.nav-links a { font-weight:700; }.comments-area { margin-top:38px; }.comment-list { padding-left:20px; }.comment-body { border-bottom:1px solid var(--arh-line); padding:16px 0; }.comment-respond input:not([type=submit]),.comment-respond textarea { border:1px solid var(--arh-line); border-radius:7px; padding:9px; max-width:100%; width:100%; }.comment-form-cookies-consent input { width:auto!important; }
.site-footer { background:#121b2c; color:#d6deec; padding:48px 0 24px; }.footer-widgets { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }.site-footer .widget { background:transparent; border:0; box-shadow:none; padding:0; }.site-footer a { color:#fff; }.site-info { border-top:1px solid #334057; color:#aebbd0; font-size:.9rem; margin-top:28px; padding-top:20px; }
.alignwide { margin-left:auto; margin-right:auto; max-width:1180px; }.alignfull { margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); max-width:100vw; width:100vw; }.wp-caption { max-width:100%; }.wp-caption-text { color:var(--arh-muted); font-size:.9rem; }.gallery { display:grid; gap:12px; grid-template-columns:repeat(3,1fr); }.sticky { outline:3px solid #d9e8ff; }.bypostauthor { display:block; }
@media (max-width:850px) { .site-header__inner { min-height:66px; gap:12px; }.menu-toggle { display:block; }.primary-navigation { display:none; left:0; margin:0; position:absolute; right:0; top:100%; background:#fff; border-bottom:1px solid var(--arh-line); padding:10px 16px 16px; }.primary-navigation.is-open { display:block; }.primary-navigation ul { align-items:stretch; flex-direction:column; }.primary-navigation a { padding:10px 0; }.primary-navigation .sub-menu { border:0; box-shadow:none; display:block; padding:0 0 0 18px; position:static; }.content-grid { grid-template-columns:1fr; }.widget-area { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.widget { margin-bottom:0; }.arh-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.footer-widgets { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .arh-container { width:min(100% - 24px,1180px); }.site-content { padding-block:25px 38px; }.site-description { display:none; }.widget-area,.arh-card-grid,.footer-widgets { grid-template-columns:1fr; }.entry-card__body { padding:18px; }.single-entry,.page-entry { padding:20px; }.nav-links { flex-direction:column; }.nav-links .nav-next { text-align:left!important; } }
.woocommerce .product,.woocommerce ul.products li.product { background:#fff; border:1px solid var(--arh-line); border-radius:var(--arh-radius); padding:16px; }.woocommerce ul.products { display:grid; gap:20px; grid-template-columns:repeat(3,minmax(0,1fr)); }.woocommerce ul.products li.product { margin:0; width:auto; }.woocommerce span.onsale { background:var(--arh-brand); border-radius:999px; min-height:0; min-width:0; padding:7px 10px; }.woocommerce div.product .product_title { line-height:1.2; }.woocommerce div.product div.images img { border-radius:10px; }.woocommerce .quantity .qty { border:1px solid var(--arh-line); border-radius:7px; padding:8px; }.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button { background:var(--arh-brand); border-radius:8px; color:#fff; }.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover { background:var(--arh-brand-dark); color:#fff; }
.arh-shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}.arh-site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e4eaf2}.arh-header-inner{min-height:70px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.arh-brand{display:inline-flex;align-items:center;justify-self:center;gap:9px;color:#12223d;font-weight:800;text-decoration:none}.arh-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#1264e8;color:#fff}.arh-menu-toggle{justify-self:start;border:0;background:transparent;font-size:1.3rem;padding:8px;cursor:pointer}.arh-header-search{justify-self:end;display:flex;gap:7px}.arh-header-search input{width:190px;border:1px solid #dce4ef;border-radius:9px;padding:8px 10px}.arh-header-search button{border:0;border-radius:9px;background:#1264e8;color:#fff;padding:8px 12px}.arh-primary-nav{display:none;background:#fff;border-top:1px solid #e4eaf2}.arh-primary-nav.is-open{display:block}.arh-primary-nav ul{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:12px 0 16px;list-style:none;display:flex;flex-wrap:wrap;gap:4px 18px}.arh-primary-nav a{color:#15233e;font-weight:650;text-decoration:none}.arh-site-footer{background:#101c33;color:#cbd5e5;padding:52px 0 0}.arh-site-footer h2,.arh-site-footer h3{color:#fff;margin-top:0}.arh-site-footer p{color:#cbd5e5}.arh-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.25fr;gap:32px}.arh-footer-grid ul{list-style:none;padding:0;margin:0}.arh-footer-grid li+li{margin-top:9px}.arh-site-footer a{color:#fff;text-decoration:none}.arh-tagline{font-size:.82rem;font-weight:800;letter-spacing:.09em}.arh-social{display:flex;flex-wrap:wrap;gap:12px}.arh-footer-bottom{margin-top:36px;padding:20px 0;border-top:1px solid #2a3a57;font-size:.9rem}.arh-footer-bottom p{margin:0 0 8px}@media(max-width:760px){.arh-header-search input{display:none}.arh-footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.arh-shell{width:min(100% - 24px,1180px)}.arh-footer-grid{grid-template-columns:1fr}.arh-header-search button{font-size:.82rem}}
.arh-search-trigger{justify-self:end;border:0;border-radius:9px;background:#1264e8;color:#fff;padding:8px 12px;cursor:pointer}.arh-search-dialog{position:fixed;inset:0;z-index:9999;display:none;overflow:auto;padding:90px 22px 24px;background:rgba(15,23,42,.72)}.arh-search-dialog.is-open{display:block}.arh-search-card{width:min(900px,100%);margin:0 auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 16px 44px rgba(0,0,0,.25)}.arh-search-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;color:#12223d;font-size:1.25rem}.arh-search-close{border:0;background:transparent;color:#12223d;font-size:2rem;line-height:1;cursor:pointer}.arh-search-form{display:flex;gap:9px}.arh-search-form input{flex:1;min-width:0;border:1px solid #dce4ef;border-radius:9px;padding:11px 12px}.arh-search-form button{border:0;border-radius:9px;background:#1264e8;color:#fff;padding:10px 15px;cursor:pointer}.arh-search-dialog.is-open~main{pointer-events:none}@media(max-width:480px){.arh-search-trigger{font-size:.82rem}.arh-search-dialog{padding:72px 12px 20px}.arh-search-form{flex-direction:column}.arh-search-form button{width:100%}}
.arh-menu-backdrop{position:fixed;inset:0;z-index:998;display:none;background:rgba(15,23,42,.58)}.arh-menu-backdrop.is-open{display:block}.arh-menu-drawer{position:fixed;z-index:999;top:0;bottom:0;left:0;width:min(360px,88vw);padding:18px;background:#fff;box-shadow:12px 0 36px rgba(0,0,0,.2);transform:translateX(-105%);transition:transform .2s ease;overflow:auto}.arh-menu-drawer.is-open{transform:translateX(0)}.arh-menu-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:3px 2px 18px;border-bottom:1px solid #e4eaf2;color:#12223d}.arh-menu-close{border:0;background:transparent;color:#12223d;font-size:2rem;line-height:1;cursor:pointer}.arh-menu-drawer .arh-primary-nav{display:block;border:0}.arh-menu-drawer .arh-primary-nav ul{display:flex;width:auto;margin:0;padding:14px 0;list-style:none;flex-direction:column;gap:0}.arh-menu-drawer .arh-primary-nav a{display:block;padding:11px 2px;color:#15233e;font-weight:650;text-decoration:none}.arh-menu-drawer .arh-primary-nav a:hover{color:#1264e8}
.page-entry.arh-system-page{padding:0;border:0;background:transparent;box-shadow:none}.page-entry.arh-system-page .entry-content{margin:0}
body.admin-bar .arh-menu-drawer{top:32px}@media(max-width:782px){body.admin-bar .arh-menu-drawer{top:46px}}
