/*
Theme Name: FinShop
Theme URI: https://example.com/finshop
Author: Shahid Ahmed
Author URI: https://example.com
Description: FinShop is a clean, Medium-style blog theme for WordPress. Distraction-free reading layout, fast and lightweight, fully responsive (desktop + mobile), with a built-in SEO head (meta title, description, keywords, canonical, Open Graph, Twitter Cards, JSON-LD schema) and full Rank Math SEO compatibility including breadcrumbs.
Version: 1.0.7
Requires at least: 5.8
Tested up to: 6.7
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: finshop
Tags: blog, news, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support, accessibility-ready
*/

:root{
  --fs-bg:#fff; --fs-text:#242424; --fs-muted:#6b6b6b; --fs-border:#f2f2f2; --fs-border-2:#e6e6e6;
  --fs-accent:#1a8917; --fs-black:#000; --fs-chip:#f2f2f2;
  --fs-sans:"Raleway",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --fs-serif:"Raleway",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --fs-logo:Charter,"Bitstream Charter","Sitka Text",Cambria,Georgia,"Times New Roman",serif;
  --fs-wrap:1192px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-weight:400;background:var(--fs-bg);color:var(--fs-text);font-family:var(--fs-sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--fs-black)}
button{font-family:inherit;cursor:pointer}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;background:#000;color:#fff;padding:10px 16px;z-index:9999;top:8px;left:8px}
.fs-wrap{max-width:var(--fs-wrap);margin:0 auto;padding:0 24px}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--fs-border-2)}
.site-header .fs-wrap{display:flex;align-items:center;justify-content:space-between;height:57px;gap:16px}
.site-branding{display:flex;align-items:center;gap:16px}
.site-title{font-family:var(--fs-logo);font-weight:700;font-size:28px;letter-spacing:-.5px;margin:0;line-height:1}
.site-title a{color:#000}
.custom-logo{max-height:34px;width:auto}
.header-search{display:flex;align-items:center;background:#f9f9f9;border-radius:20px;padding:0 16px;height:40px;width:240px}
.header-search input{border:0;background:transparent;outline:0;font-size:14px;width:100%;height:100%;padding-left:8px}
.header-search svg{flex:none;fill:#6b6b6b}
.header-actions{display:flex;align-items:center;gap:20px;font-size:14px}
.header-actions .link{color:var(--fs-muted)}
.header-actions .link:hover{color:#000}
.btn{display:inline-block;background:#191919;color:#fff;border-radius:20px;padding:8px 16px;font-size:14px;line-height:1.3;border:0}
.btn:hover{background:#000;color:#fff}
.menu-toggle{display:none;background:none;border:0;padding:6px}
.menu-toggle span{display:block;width:22px;height:2px;background:#191919;margin:5px 0}

.topic-nav{border-bottom:1px solid var(--fs-border-2);background:#fff}
.topic-nav ul{list-style:none;margin:0 auto;padding:0 24px;max-width:var(--fs-wrap);display:flex;gap:28px;overflow-x:auto;scrollbar-width:none}
.topic-nav ul::-webkit-scrollbar{display:none}
.topic-nav li{flex:none}
.topic-nav a{display:block;padding:14px 0;font-size:14px;color:var(--fs-muted);border-bottom:1px solid transparent;white-space:nowrap}
.topic-nav a:hover,.topic-nav .current-menu-item a,.topic-nav .current-cat a{color:#000;border-color:#000}

/* Layout */
.site-content{display:flex;max-width:var(--fs-wrap);margin:0 auto;padding:0 24px}
.primary{flex:1 1 auto;min-width:0;max-width:728px;padding:48px 0 64px;margin-right:auto}
.sidebar{flex:none;width:368px;border-left:1px solid var(--fs-border-2);padding:40px 0 64px 40px;margin-left:48px}
.sidebar .sticky{position:sticky;top:110px}
.widget{margin-bottom:40px}
.widget-title{font-size:16px;font-weight:700;margin:0 0 16px}
.widget ul{list-style:none;margin:0;padding:0}
.widget li{margin-bottom:16px;font-size:14px}
.widget .mini-meta{font-size:13px;color:var(--fs-muted);display:block;margin-bottom:4px}
.widget .mini-title{font-weight:700;line-height:1.3;display:block}
.chip-list{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-block;background:var(--fs-chip);color:#242424;border-radius:20px;padding:8px 16px;font-size:14px;line-height:1.3}
.chip:hover{background:#e6e6e6}
.sidebar-footer{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--fs-muted)}

.archive-header{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--fs-border-2)}
.archive-title{font-family:var(--fs-sans);font-size:42px;line-height:1.1;margin:0 0 8px;letter-spacing:-.5px}
.archive-desc{color:var(--fs-muted);font-size:16px}
.feed-tabs{display:flex;gap:24px;border-bottom:1px solid var(--fs-border-2);margin-bottom:8px}
.feed-tabs span{padding:0 0 16px;font-size:14px;color:#000;border-bottom:1px solid #000;margin-bottom:-1px}

/* Post card */
.post-card{display:flex;gap:56px;justify-content:space-between;padding:24px 0;border-bottom:1px solid var(--fs-border)}
.post-card .card-body{flex:1;min-width:0}
.post-card .byline{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:12px}
.post-card .byline img{border-radius:50%;width:24px;height:24px}
.post-card .byline .name{color:#242424;font-weight:500}
.post-card .byline .in{color:var(--fs-muted)}
.post-card .card-title{font-size:22px;line-height:28px;font-weight:700;margin:0 0 4px;letter-spacing:-.2px;color:#242424}
.post-card .card-excerpt{font-family:var(--fs-serif);font-size:16px;line-height:24px;color:#242424;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card .card-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--fs-muted);flex-wrap:wrap}
.post-card .card-meta .chip{padding:4px 10px;font-size:12px}
.post-card .thumb{flex:none;width:200px;height:134px;border-radius:2px;overflow:hidden;background:#f2f2f2}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}

.pagination{margin-top:32px}
.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.pagination .page-numbers{padding:8px 14px;border:1px solid var(--fs-border-2);border-radius:20px;font-size:14px}
.pagination .current{background:#191919;color:#fff;border-color:#191919}

/* Single */
.single-wrap{max-width:680px;margin:0 auto;padding:48px 24px 64px}
.breadcrumbs{font-size:13px;color:var(--fs-muted);margin-bottom:24px}
.breadcrumbs a:hover{text-decoration:underline}
.breadcrumbs .sep{margin:0 6px}
.entry-title{font-size:42px;line-height:52px;font-weight:700;letter-spacing:-.011em;margin:0 0 8px;color:#242424}
.entry-subtitle{font-family:var(--fs-sans);font-size:22px;line-height:28px;color:var(--fs-muted);margin:0 0 32px}
.author-row{display:flex;align-items:center;gap:16px;margin-bottom:32px}
.author-row img{border-radius:50%;width:48px;height:48px}
.author-row .a-name{font-size:16px;color:#242424;display:block}
.author-row .a-meta{font-size:14px;color:var(--fs-muted)}
.share-bar{display:flex;gap:16px;align-items:center;padding:12px 0;border-top:1px solid var(--fs-border-2);border-bottom:1px solid var(--fs-border-2);margin-bottom:32px;font-size:13px;color:var(--fs-muted)}
.share-bar a{padding:4px 12px;border:1px solid var(--fs-border-2);border-radius:20px}
.share-bar a:hover{border-color:#000;color:#000}
.featured-image{margin:0 0 32px}
.featured-image img{width:100%;border-radius:2px}
.entry-content{font-family:var(--fs-serif);font-size:20px;line-height:32px;letter-spacing:-.003em;color:#242424;word-wrap:break-word}
.entry-content p{margin:29px 0 0}
.entry-content > p:first-child{margin-top:0}
.entry-content h2{font-family:var(--fs-sans);font-size:28px;line-height:36px;margin:48px 0 0;font-weight:700;letter-spacing:-.4px}
.entry-content h3{font-family:var(--fs-sans);font-size:22px;line-height:28px;margin:32px 0 0;font-weight:700}
.entry-content h4{font-family:var(--fs-sans);font-size:18px;margin:28px 0 0}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.entry-content ul,.entry-content ol{margin:29px 0 0;padding-left:30px}
.entry-content li{margin-bottom:12px}
.entry-content blockquote{margin:32px 0 0;padding:0 0 0 23px;border-left:3px solid #242424;font-style:italic;font-size:24px;line-height:32px}
.entry-content img{margin:32px auto 0}
.entry-content figure{margin:32px 0 0}
.entry-content figcaption{font-family:var(--fs-sans);font-size:14px;color:var(--fs-muted);text-align:center;margin-top:8px}
.entry-content pre{background:#f7f7f7;padding:20px;overflow:auto;font-size:15px;line-height:1.6;border-radius:4px;margin:32px 0 0}
.entry-content code{background:#f2f2f2;padding:2px 5px;border-radius:3px;font-size:.85em}
.entry-content pre code{background:none;padding:0}
.entry-content table{border-collapse:collapse;width:100%;margin-top:32px;font-family:var(--fs-sans);font-size:15px}
.entry-content th,.entry-content td{border:1px solid var(--fs-border-2);padding:10px 12px;text-align:left}
.entry-content .alignwide,.entry-content .alignfull{max-width:100%}
.alignleft{float:left;margin:8px 24px 8px 0}.alignright{float:right;margin:8px 0 8px 24px}.aligncenter{margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}.wp-caption-text{font-size:14px;color:var(--fs-muted);text-align:center}
/* Table of contents (click to show / hide) */
.entry-content h2[id],.entry-content h3[id]{scroll-margin-top:80px}
.fs-toc{margin:32px 0 0;border:1px solid var(--fs-border-2);border-radius:8px;background:#fafafa;font-family:var(--fs-sans);font-size:16px;line-height:1.5}
.fs-toc-title{cursor:pointer;list-style:none;padding:14px 18px;font-weight:700;display:flex;align-items:center;justify-content:space-between;user-select:none}
.fs-toc-title::-webkit-details-marker{display:none}
.fs-toc-title::after{content:"+";font-size:22px;font-weight:400;line-height:1;color:var(--fs-muted)}
.fs-toc[open] .fs-toc-title::after{content:"\2212"}
.fs-toc[open] .fs-toc-title{border-bottom:1px solid var(--fs-border-2)}
.fs-toc ol{margin:0;padding:14px 18px 16px 40px}
.fs-toc li{margin:0 0 8px;padding:0}
.fs-toc li.toc-l3{margin-left:18px;font-size:15px;list-style-type:circle}
.fs-toc a{text-decoration:none;color:#242424}
.fs-toc a:hover{text-decoration:underline}
.entry-tags{margin:40px 0 24px;display:flex;flex-wrap:wrap;gap:8px}
.author-box{display:flex;gap:16px;padding:32px 0;border-top:1px solid var(--fs-border-2);margin-top:32px}
.author-box img{border-radius:50%;width:72px;height:72px}
.author-box h3{margin:0 0 4px;font-size:20px}
.author-box p{margin:0;color:var(--fs-muted);font-size:14px}
.related{background:#fafafa;border-top:1px solid var(--fs-border-2);padding:48px 0}
.related h2{font-size:20px;margin:0 0 24px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.related-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:2px;margin-bottom:12px}
.related-card h3{font-size:18px;line-height:24px;margin:0 0 4px}
.related-card span{font-size:13px;color:var(--fs-muted)}
.post-nav{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--fs-border-2);padding-top:24px;font-size:14px}
.post-nav a{font-weight:700}

/* Comments */
.comments-area{margin-top:48px}
.comments-title{font-size:20px}
.comment-list{list-style:none;padding:0}
.comment-list .children{list-style:none;padding-left:32px}
.comment-body{padding:16px 0;border-bottom:1px solid var(--fs-border)}
.comment-author img{border-radius:50%;float:left;margin-right:12px}
.comment-metadata{font-size:12px;color:var(--fs-muted)}
.comment-respond input[type=text],.comment-respond input[type=email],.comment-respond input[type=url],.comment-respond textarea{width:100%;border:1px solid var(--fs-border-2);border-radius:4px;padding:10px;font:inherit;margin-bottom:12px}
.comment-respond .submit{background:#191919;color:#fff;border:0;border-radius:20px;padding:10px 20px}

/* Footer */
.site-footer{border-top:1px solid var(--fs-border-2);padding:32px 0;font-size:13px;color:var(--fs-muted)}
.site-footer .fs-wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-menu{list-style:none;margin:0;padding:0;display:flex;gap:16px;flex-wrap:wrap}
.footer-menu a:hover{color:#000}
.search-form{display:flex;gap:8px}
.search-form input[type=search]{flex:1;border:1px solid var(--fs-border-2);border-radius:20px;padding:10px 16px;font-size:15px}
.search-form button{background:#191919;color:#fff;border:0;border-radius:20px;padding:10px 20px}
.error-404{text-align:center;padding:80px 0}
.error-404 h1{font-family:var(--fs-serif);font-size:96px;margin:0}

/* Tablet */
@media (max-width:1040px){
  .sidebar{display:none}
  .primary{max-width:100%;margin:0 auto}
  .header-search{min-width:0;flex:1;max-width:260px}
}
/* Mobile */
@media (max-width:720px){
  .fs-wrap,.site-content{padding:0 16px}
  .site-header .fs-wrap{height:53px}
  .site-title{font-size:24px}
  .header-search,.header-actions .link{display:none}
  .menu-toggle{display:block}
  .header-actions{gap:10px}
  .topic-nav ul{padding:0 16px;gap:20px}
  .primary{padding:24px 0 40px}
  .post-card{gap:16px;padding:20px 0}
  .post-card .thumb{width:96px;height:96px}
  .post-card .card-title{font-size:16px;line-height:20px}
  .post-card .card-excerpt{display:none}
  .post-card .card-meta{font-size:12px;gap:8px}
  .archive-title{font-size:30px}
  .single-wrap{padding:24px 16px 40px}
  .entry-title{font-size:30px;line-height:38px}
  .entry-subtitle{font-size:18px;line-height:24px}
  .entry-content{font-size:18px;line-height:28px}
  .entry-content p{margin-top:24px}
  .entry-content h2{font-size:24px;line-height:30px}
  .related-grid{grid-template-columns:1fr;gap:24px}
  .post-nav{flex-direction:column}
  .mobile-open .topic-nav{display:block}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.site-header,.topic-nav,.sidebar,.site-footer,.share-bar,.related,.comments-area{display:none}}

/* ===== Medium-style post page ===== */
.header-actions{gap:22px}
.header-actions .link{display:inline-flex;align-items:center;gap:8px}
.btn{font-weight:500}
.btn-icon{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 12px}
.btn-sm{padding:7px 12px;font-size:14px}
.avatar-ph{display:inline-flex;width:32px;height:32px;border-radius:50%;overflow:hidden;margin-left:4px}
.avatar-ph img,.hd-avatar{width:32px;height:32px;border-radius:50%}

.pub-bar{border-bottom:1px solid var(--fs-border);padding:0 24px 0 max(24px,calc(50% - 596px))}
.pub-name{display:block;padding:20px 0 18px;font-size:19px;font-weight:600;color:#242424;letter-spacing:-.2px}

.single-layout{position:relative;max-width:100%;padding:0 24px}
.single-article{max-width:680px;margin:0 auto;padding:40px 0 56px}
.pub-aside{display:none;position:absolute;top:32px;left:max(24px,calc(50% - 596px));width:240px}
.pub-logo{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:#000;color:#fff;font-family:var(--fs-logo);font-weight:700;font-size:21px;margin-bottom:22px}
.pub-logo-img img{max-height:38px;width:auto;margin-bottom:22px}
.pub-desc{font-size:14px;line-height:20px;color:var(--fs-muted);margin:0 0 16px;max-width:150px}
.link-follow{background:none;border:0;padding:0;font-size:14px;color:#242424;text-decoration:underline;text-underline-offset:2px}
.link-follow.is-on{color:var(--fs-muted)}

.topic-chips{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px;padding:0}
.tchip{display:inline-flex;align-items:center;border:1px solid var(--fs-border);border-radius:999px;background:#fff;font-size:13px;height:28px;box-shadow:0 0 0 1px #fafafa}
.tchip a{padding:0 12px;line-height:26px;color:#242424}
.tchip a:hover{text-decoration:underline}
.tchip-btn{height:100%;width:30px;border:0;border-left:1px solid var(--fs-border);background:none;border-radius:0 999px 999px 0;font-size:16px;line-height:1;color:var(--fs-muted)}
.tchip-btn:hover{color:#000;background:#fafafa}
.tchip.is-on .tchip-btn{color:var(--fs-accent)}

.single-article .entry-title{font-size:44px;line-height:54px;font-weight:700;letter-spacing:-.02em;margin:0 0 12px}
.single-article .entry-subtitle{font-size:21px;line-height:28px;font-weight:400;color:var(--fs-muted);margin:0 0 28px}
.single-article .breadcrumbs{margin-bottom:16px}
.author-row{display:flex;align-items:center;flex-wrap:wrap;gap:0 14px;margin:0 0 24px}
.author-row .ar-avatar{width:36px;height:36px;border-radius:50%}
.author-row .a-name{font-size:14px;color:#242424;display:inline}
.author-row .a-name:hover{text-decoration:underline}
.follow-btn{border:1px solid #242424;background:#fff;color:#242424;border-radius:999px;padding:6px 14px;font-size:13px;line-height:1.2;font-weight:500}
.follow-btn:hover{background:#f6f6f6}
.follow-btn.is-on{background:#f2f2f2;border-color:#f2f2f2;color:var(--fs-muted)}
.author-row .a-meta{font-size:13px;color:var(--fs-muted)}
.author-row .a-meta .dot{margin:0 6px}

.action-bar{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--fs-border);border-bottom:1px solid var(--fs-border);padding:0 4px;height:48px;margin-bottom:32px}
.ab-left,.ab-right{display:flex;align-items:center;gap:22px}
.ab-right{gap:18px}
.ab-btn{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:6px 4px;color:var(--fs-muted);font-size:13px;line-height:1;border-radius:4px;transition:color .15s,transform .15s}
.ab-btn:hover{color:#000}
.ab-btn svg{display:block}
.ab-btn.is-on{color:#000}
.ab-btn.is-on svg{fill:currentColor;fill-opacity:.12}
.clap-btn.pop svg{transform:scale(1.25) rotate(-8deg)}
.clap-btn svg{transition:transform .15s}
.share-wrap{position:relative}
.share-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:210px;background:#fff;border:1px solid var(--fs-border-2);border-radius:6px;box-shadow:0 6px 24px rgba(0,0,0,.12);padding:6px 0;z-index:60}
.share-menu[hidden]{display:none}
.share-menu a,.share-menu button{display:block;width:100%;text-align:left;background:none;border:0;padding:9px 18px;font-size:14px;color:#242424}
.share-menu a:hover,.share-menu button:hover{background:#f6f6f6}
.listen-btn [hidden]{display:none}

.single-article .featured-image{margin:0 0 36px}
.single-article .featured-image img{width:100%;border-radius:0}
.single-article .featured-image figcaption{text-align:center;font-size:14px;color:var(--fs-muted);margin-top:14px}
.single-article .entry-content{font-size:19px;line-height:32px;font-weight:400;letter-spacing:0}
.single-article .entry-content p{margin:26px 0 0}
.single-article .entry-content > p:first-child{margin-top:0}
.single-article .entry-content h2{font-size:26px;line-height:34px;font-weight:700}
.single-article .entry-content h3{font-size:21px;line-height:28px;font-weight:700}
.single-article .entry-content blockquote{font-style:normal;font-size:22px;line-height:32px}
.single-article .entry-content strong,.single-article .entry-content b{font-weight:700}

/* Side table of contents: scroll-progress bars, hover to open */
.side-toc{display:none;position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:70}
body.has-side-toc .side-toc{display:block}
.side-toc .bars{display:flex;flex-direction:column;gap:9px;padding:14px 8px;cursor:pointer;outline:0;align-items:flex-end}
.side-toc .bars i{display:block;width:16px;height:2px;background:#d6d6d6;transition:width .15s,background .15s}
.side-toc .bars i.on{width:22px;background:#242424}
.side-toc .panel{position:absolute;right:0;top:50%;transform:translateY(-50%);width:270px;max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--fs-border-2);border-radius:8px;box-shadow:0 8px 28px rgba(0,0,0,.14);padding:10px 0;opacity:0;visibility:hidden;transition:opacity .15s}
.side-toc:hover .panel,.side-toc:focus-within .panel{opacity:1;visibility:visible}
.side-toc .panel a{display:block;padding:7px 18px;font-size:14px;line-height:20px;color:var(--fs-muted)}
.side-toc .panel a.l3{padding-left:32px;font-size:13px}
.side-toc .panel a:hover{color:#000;background:#f8f8f8}
.side-toc .panel a.on{color:#000;font-weight:600}
.side-toc:hover .bars,.side-toc:focus-within .bars{visibility:hidden}

@media (min-width:1041px){ body.has-side-toc .fs-toc{display:none} }
@media (min-width:1200px){ .pub-aside{display:block} }
@media (max-width:1040px){ .side-toc{display:none !important} }
@media (max-width:720px){
  .pub-bar{padding:0 16px}
  .pub-name{padding:14px 0;font-size:17px}
  .single-layout{padding:0 16px}
  .single-article{padding:24px 0 40px}
  .single-article .entry-title{font-size:30px;line-height:38px}
  .single-article .entry-subtitle{font-size:18px;line-height:25px}
  .single-article .entry-content{font-size:18px;line-height:30px}
  .topic-chips{gap:8px}
  .action-bar{padding:0}
  .ab-left{gap:14px}.ab-right{gap:8px}
  .header-actions .btn-icon,.header-actions .avatar-ph,.header-actions .link{display:none}
  .header-actions{gap:12px}
}

/* Fixes: header avatar, empty state, topic bar */
.site-header .avatar-ph{width:32px;height:32px;flex:none;overflow:hidden;border-radius:50%}
.site-header .avatar-ph img{width:32px !important;height:32px !important;max-width:32px;object-fit:cover;border-radius:50%;display:block}
.site-header .header-actions{flex:none}
.empty-state{padding:48px 0;text-align:left}
.empty-state h2{font-size:26px;margin:0 0 8px}
.empty-state p{color:var(--fs-muted);margin:0 0 20px}
.topic-nav li{list-style:none}

/* Custom-code pages: full width, no theme column */
.fs-cc{display:block;width:100%;max-width:none;margin:0;padding:0}
.finshop-cc-page .site-content{display:block}
.fs-cc-editor > *{max-width:none}
.fs-cc-editor .alignwide,.fs-cc-editor .alignfull{width:100%;max-width:none;margin-left:0;margin-right:0}
.fs-cc-editor > .wp-block-html,.fs-cc-editor > .wp-block-group{margin:0}

/* Per-page layouts (FinShop Page Settings) */
.fs-page{padding:48px 0 64px}
.fs-page.fs-nospace{padding:0}
.fs-page-head,.fs-page-comments,.fs-page-body{max-width:680px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.fs-layout-wide .fs-page-head,.fs-layout-wide .fs-page-comments,.fs-layout-wide .fs-page-body,
.fs-layout-full .fs-page-head,.fs-layout-full .fs-page-comments{max-width:1192px}
.fs-layout-full .fs-page-body{max-width:none;padding-left:0;padding-right:0}
.fs-page-head .entry-title{margin:0 0 24px}
.fs-page-head .featured-image{margin:0 0 32px}
.fs-page-comments{margin-top:24px}
.fs-nospace .fs-page-head{padding-top:24px}
@media (max-width:720px){.fs-page{padding:24px 0 40px}.fs-page-head,.fs-page-comments,.fs-page-body{padding-left:16px;padding-right:16px}.fs-layout-full .fs-page-body{padding-left:0;padding-right:0}}

/* Stretch custom code edge to edge */
.fs-stretch .fs-page-body *{max-width:none !important}
.fs-stretch .fs-page-body > *{margin-left:0 !important;margin-right:0 !important}
