/*
Theme Name: X v1.1
Theme URI: https://pressmegpt.com
Author: PressMeGPT
Author URI: https://pressmegpt.com
Description: https://preview.codecanyon.net/item/kingtube-video-magazine-kingmedia-theme/full_screen_preview/37637625 | This theme was generated by PressMeGPT.com - AI WordPress Theme Generator. Free software released under GNU GPLv2 with attribution.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.4
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: x
Tags: custom, pressmegpt, ai-generated, custom-logo, custom-menu, custom-colors, dark, custom-fonts

This theme was created with PressMeGPT.com - AI WordPress Theme Generator.
Free to use, modify, and distribute under GNU GPLv2 with attribution.
*/

/* Reset and base styles */
*, *::before, *::after {
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
}

img {
max-width: 100%;
height: auto;
}

a {
text-decoration: none;
}

/* ===== Header Styles ===== */
.site-header {
padding: 1rem 2rem;
}

.header-inner {
max-width: 1400px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}

/* Header Layout: Logo Left, Menu Right (default) */
.header-layout-logo-left-menu-right .header-inner {
flex-direction: row;
justify-content: space-between;
}

/* Header Layout: Logo Right, Menu Left */
.header-layout-logo-right-menu-left .header-inner {
flex-direction: row-reverse;
justify-content: space-between;
}

/* Header Layout: Logo Center, Menu Below */
.header-layout-logo-center-menu-below .header-inner {
flex-direction: column;
text-align: center;
}

.header-layout-logo-center-menu-below .site-branding {
margin-bottom: 1rem;
}

/* Header Layout: Logo Center, Menu Split */
.header-layout-logo-center-menu-split .header-inner {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
}

.header-layout-logo-center-menu-split .menu-left {
justify-self: end;
}

.header-layout-logo-center-menu-split .menu-right {
justify-self: start;
}

/* Site Branding */
.site-branding {
display: flex;
align-items: center;
gap: 1rem;
}

.site-branding a {
display: inline-block;
}

.custom-logo {
display: block;
height: auto;
}

.site-title {
margin: 0;
font-size: 1.5rem;
font-weight: 700;
}

.site-title a {
color: inherit;
}

.site-description {
margin: 0.25rem 0 0;
font-size: 0.875rem;
opacity: 0.8;
}

/* Primary Navigation */
.main-navigation {
display: flex;
align-items: center;
}

.main-navigation ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 1.5rem;
}

.main-navigation li {
position: relative;
}

.main-navigation a {
display: block;
padding: 0.5rem 0;
font-weight: 500;
transition: color 0.2s ease;
}

.main-navigation a:hover {
opacity: 0.7;
}

/* Dropdown menus */
.main-navigation ul ul {
position: absolute;
top: 100%;
left: 0;
min-width: 200px;
flex-direction: column;
gap: 0;
background: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
border-radius: 4px;
padding: 0.5rem 0;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s, visibility 0.2s;
}

.main-navigation li:hover > ul {
opacity: 1;
visibility: visible;
}

.main-navigation ul ul a {
padding: 0.5rem 1rem;
color: #333;
}

/* Mobile Menu Toggle */
.menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
}

.menu-toggle svg {
width: 24px;
height: 24px;
}

@media (max-width: 768px) {
.menu-toggle {
    display: block;
}

.main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: inherit;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-navigation.toggled {
    display: block;
}

.main-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
}

.main-navigation ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding-left: 1rem;
}
}

/* ===== Footer Styles ===== */
.site-footer {
padding: 2rem;
}

.footer-inner {
max-width: 1400px;
margin: 0 auto;
}

/* Footer Layout: Centered */
.footer-layout-centered .footer-inner {
text-align: center;
}

.footer-layout-centered .footer-navigation ul {
justify-content: center;
}

/* Footer Layout: Left Aligned */
.footer-layout-left-aligned .footer-inner {
text-align: left;
}

/* Footer Layout: Split */
.footer-layout-split .footer-inner {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}

/* Footer Navigation */
.footer-navigation {
margin-bottom: 1rem;
}

.footer-navigation ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 1.5rem;
flex-wrap: wrap;
}

.footer-navigation a {
font-size: 0.875rem;
transition: opacity 0.2s;
}

.footer-navigation a:hover {
opacity: 0.7;
}

/* Footer Menu Position */
.footer-menu-below .footer-navigation {
order: 2;
margin-bottom: 0;
margin-top: 1rem;
}

.footer-menu-below .site-info {
order: 1;
}

/* Footer Widgets */
.footer-widgets {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}

.footer-widgets .widget {
margin-bottom: 0;
}

.footer-widgets .widget-title {
font-size: 1rem;
font-weight: 600;
margin-bottom: 1rem;
}

/* Site Info */
.site-info {
font-size: 0.875rem;
opacity: 0.8;
}

.site-info p {
margin: 0;
}

@media (max-width: 768px) {
.footer-layout-split .footer-inner {
    flex-direction: column;
    text-align: center;
}

.footer-navigation ul {
    justify-content: center;
}
}

/* ===== Widget Styles ===== */
.widget {
margin-bottom: 2rem;
}

.widget-title {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1rem;
}

.widget ul {
list-style: none;
padding: 0;
margin: 0;
}

.widget li {
padding: 0.25rem 0;
}

/* ===== Content Styles ===== */
.content-area {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}

.content-area.has-sidebar {
display: grid;
grid-template-columns: 1fr 300px;
gap: 3rem;
align-items: start;
}

@media (max-width: 768px) {
.content-area.has-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
}
}

/* PressMeGPT: full-bleed entry header for blog posts (rendered outside .content-area) */
.single .entry-header,
.page .entry-header.full-bleed {
width: 100%;
margin: 0;
}

.primary-content {
min-width: 0;
}

.page-content-wrapper {
max-width: 1200px;
margin: 0 auto;
}

/* PressMeGPT inner pages render full-bleed (sections handle their own width) */
.pressmegpt-page-content,
.pressmegpt-page-content.entry-content {
width: 100%;
max-width: none;
margin: 0;
padding: 0;
line-height: inherit;
}

.page-header {
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 2px solid #82B440;
}

.page-title {
font-size: 2rem;
margin: 0 0 0.5rem;
color: #FFFFFF;
}

.archive-description {
font-size: 1rem;
opacity: 0.7;
}

.entry-header {
margin-bottom: 1.5rem;
}

.entry-title {
font-size: 2rem;
margin: 0 0 0.5rem;
}

.entry-title a {
color: #FFFFFF;
text-decoration: none;
transition: color 0.2s;
}

.entry-title a:hover {
color: #82B440;
}

.entry-meta {
font-size: 0.875rem;
opacity: 0.7;
margin-bottom: 0.5rem;
}

.entry-content {
margin-bottom: 2rem;
line-height: 1.8;
}

.entry-footer {
font-size: 0.875rem;
padding: 1rem 0;
border-top: 1px solid rgba(0,0,0,0.1);
margin-bottom: 1.5rem;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
display: block;
margin-bottom: 0.25rem;
}

.entry-footer a {
color: #82B440;
}

.post-thumbnail {
margin-bottom: 1.5rem;
}

.post-thumbnail img {
border-radius: 8px;
width: 100%;
}

/* Post navigation */
.post-navigation,
.posts-navigation {
padding: 1.5rem 0;
border-top: 1px solid rgba(0,0,0,0.1);
margin-top: 1rem;
}

.post-navigation a,
.posts-navigation a,
.nav-links a {
color: #82B440;
text-decoration: none;
font-weight: 500;
}

.post-navigation a:hover,
.posts-navigation a:hover,
.nav-links a:hover {
text-decoration: underline;
}

.nav-subtitle {
display: block;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
opacity: 0.6;
margin-bottom: 0.25rem;
}

/* ===== Search ===== */
.search-form {
display: flex;
max-width: 500px;
}

.search-form .search-field {
flex: 1;
padding: 10px 16px;
border: 2px solid rgba(0,0,0,0.15);
border-right: none;
border-radius: 6px 0 0 6px;
font-size: 1rem;
outline: none;
}

.search-form .search-field:focus {
border-color: #82B440;
}

.search-form .search-submit {
padding: 10px 20px;
background: #82B440;
color: #fff;
border: 2px solid #82B440;
border-radius: 0 6px 6px 0;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
}

.search-result {
padding-bottom: 1.5rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ===== Comments ===== */
.comments-area {
margin-top: 2rem;
padding-top: 2rem;
border-top: 2px solid rgba(0,0,0,0.08);
}

.comments-title {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}

.comment-list {
list-style: none;
padding: 0;
margin: 0;
}

.comment-list li {
padding: 1rem 0;
border-bottom: 1px solid rgba(0,0,0,0.06);
}

.comment-list .comment-author img {
border-radius: 50%;
margin-right: 0.75rem;
vertical-align: middle;
}

.comment-form label {
display: block;
margin-bottom: 0.25rem;
font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
width: 100%;
padding: 10px 14px;
border: 2px solid rgba(0,0,0,0.12);
border-radius: 6px;
font-size: 1rem;
margin-bottom: 1rem;
}

.comment-form textarea {
min-height: 120px;
resize: vertical;
}

.comment-form .submit-button,
.comment-form input[type="submit"] {
background: #82B440;
color: #fff;
border: none;
padding: 12px 24px;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
}

/* ===== Sidebar ===== */
.widget-area {
padding: 1.5rem;
background: rgba(0,0,0,0.03);
border-radius: 8px;
}

.widget-area .widget {
margin-bottom: 2rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid rgba(0,0,0,0.08);
}

.widget-area .widget:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}

.widget-area .widget-title {
font-size: 1rem;
font-weight: 700;
margin-bottom: 0.75rem;
color: #FFFFFF;
}

.widget-area ul {
list-style: none;
padding: 0;
margin: 0;
}

.widget-area li {
padding: 0.35rem 0;
}

.widget-area a {
color: #82B440;
text-decoration: none;
}

.widget-area a:hover {
text-decoration: underline;
}

/* ===== Utility Classes ===== */
.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 !important;
}

.skip-link:focus {
background-color: #f1f1f1;
clip: auto !important;
clip-path: none;
color: #21759b;
display: block;
font-size: 0.875rem;
font-weight: 700;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

/* Theme Designer Custom Styles */
:root {
 --td-color-primary: #331711;
 --td-color-secondary: #5a7d30; 
 --td-color-background: #000000;
 --td-color-text: #e0e0e0;
 --td-color-heading: #ffffff;
 --td-color-link: #331711;
 --td-color-link-hover: #a1d15c;
 --td-color-btn-primary-bg: #331711;
 --td-color-btn-primary-text: #ffffff;
 --td-color-btn-primary-hover: #4a251c;
 --td-color-btn-secondary-bg: #2a2a2a;
 --td-color-btn-secondary-text: #ffffff;
 --td-color-btn-secondary-hover: #4a4a4a;
 --td-color-header-bg: #111111;
 --td-color-header-text: #ffffff;
 --td-color-footer-bg: #111111;
 --td-color-footer-text: #e0e0e0;
 --td-font-body: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
 --td-font-heading: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
 --td-font-size-base: 16px;
 --td-heading-scale: 1.25;
 --td-border-radius: 4px;
}
* {
 min-width: 0;
 box-sizing: border-box;
}
body {
 font-family: var(--td-font-body);
 color: var(--td-color-text);
 background-color: var(--td-color-background);
 margin: 0;
 line-height: 1.7;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}
img {
 max-width: 100%;
 height: auto;
 display: block;
}
a {
 color: var(--td-color-link);
 text-decoration: none;
}
a:hover {
 color: var(--td-color-link-hover);
}
.fse-section {
 padding: 80px 0;
 overflow-x: hidden;
}
.fse-group {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.fse-heading {
 font-family: var(--td-font-heading);
 color: var(--td-color-heading);
 line-height: 1.15;
 letter-spacing: -0.03em;
 margin-bottom: 0.5em;
}
.fse-heading.fse-text-center {
 text-align: center;
}
h1.fse-heading {
 font-size: clamp(2.8rem, 5vw, 4.5rem);
 font-weight: 800;
}
h2.fse-heading {
 font-size: clamp(2rem, 4vw, 3.5rem);
 font-weight: 700;
}
h3.fse-heading {
 font-size: clamp(1.5rem, 3vw, 2.2rem);
 font-weight: 600;
}
h4.fse-heading {
 font-size: 1.3rem;
 font-weight: 600;
}
.fse-paragraph {
 font-size: 1.1rem;
 line-height: 1.7;
 margin-bottom: 1em;
}
.fse-text-center {
 text-align: center;
}
.fse-button {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 14px 28px;
 border-radius: var(--td-border-radius);
 font-size: 1rem;
 font-weight: 600;
 cursor: pointer;
 border: none;
 transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
 text-decoration: none;
 white-space: nowrap;
 gap: 8px;
 box-shadow: 0 2px 0 0 rgba(111, 154, 55, 0.7);
}
.fse-button-primary {
 background-color: var(--td-color-btn-primary-bg);
 color: var(--td-color-btn-primary-text);
 box-shadow: 0 2px 0 0 rgba(51, 23, 17, 0.7);
}
.fse-button-primary:hover {
 filter: brightness(1.1);
 transform: translateY(-2px);
 box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 4px 0 0 rgba(51, 23, 17, 0.7);
}
.fse-button-secondary {
 background-color: var(--td-color-btn-secondary-bg);
 color: var(--td-color-btn-secondary-text);
 box-shadow: 0 2px 0 0 rgba(0,0,0,0.3);
}
.fse-button-secondary:hover {
 filter: brightness(1.1);
 transform: translateY(-2px);
 box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 4px 0 0 rgba(0,0,0,0.3);
}
.fse-button-icon {
 background: none;
 color: var(--td-color-header-text);
 padding: 8px 12px;
 font-size: 1.2rem;
 box-shadow: none;
}
.fse-button-icon:hover {
 filter: brightness(1.1);
 transform: translateY(-2px);
 background-color: rgba(255,255,255,0.08);
}
.fse-button-text {
 background: none;
 color: var(--td-color-text);
 padding: 8px 15px;
 font-weight: 500;
 box-shadow: none;
}
.fse-button-text.fse-button-selected {
 color: var(--td-color-primary);
 border-bottom: 2px solid var(--td-color-primary);
 padding-bottom: 6px;
}
.fse-button-text:hover {
 filter: brightness(1.1);
 transform: translateY(-2px);
 color: var(--td-color-primary);
}
.fse-columns {
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 align-items: center;
}
.fse-column {
 flex: 1 1 45%; 
 min-width: 0;
}
.fse-align-center {
 text-align: center;
}
.fse-image-container {
 width: 100%;
 aspect-ratio: 16/9;
 overflow: hidden;
 border-radius: var(--td-border-radius);
 box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.fse-image-container img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.3s ease;
}
.fse-header {
 padding: 15px 0;
 background: var(--td-color-header-bg);
 border-bottom: 1px solid rgba(255,255,255,0.1);
}
.fse-header-content {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.fse-header-left {
 display: flex;
 align-items: center;
 gap: 10px;
 flex: 0 1 auto;
 padding-left: 0;
}
.fse-header-right {
 display: flex;
 align-items: center;
 gap: 15px;
 flex: 0 0 auto;
 margin-left: auto;
 padding-right: 0;
}
.fse-logo-area {
 display: flex;
 align-items: center;
 gap: 10px;
}
.fse-logo {
 height: 40px;
 max-height: 50px;
 width: auto;
 object-fit: contain;
}
.fse-site-title {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--td-color-header-text);
}
.fse-main-nav {
 display: flex;
}
.fse-nav-menu {
 display: flex;
 gap: 30px;
 list-style: none;
 margin: 0;
 padding: 0;
 justify-content: center;
 align-items: center;
}
.fse-nav-menu a {
 text-decoration: none;
 color: var(--td-color-header-text);
 font-weight: 500;
 white-space: nowrap;
 transition: color 0.3s ease;
}
.fse-nav-menu a:hover {
 color: var(--td-color-primary);
}
.fse-toggle-button {
 display: none;
 background: none;
 border: none;
 font-size: 24px;
 cursor: pointer;
 color: var(--td-color-header-text);
}
.fse-header-actions {
 display: flex;
 gap: 15px;
 align-items: center;
}
.fse-hero {
 padding-top: 60px;
 padding-bottom: 60px;
 text-align: center;
 background: var(--td-color-background);
}
.fse-hero-content {
 margin-bottom: 60px;
}
.fse-hero-content .fse-heading {
 margin-bottom: 20px;
}
.fse-hero-content .fse-paragraph {
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
 font-size: 1.25rem;
 color: #c0c0c0;
}
.fse-featured-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 grid-template-rows: auto;
 gap: 20px;
 max-width: 1200px;
 margin: 0 auto;
}
.fse-featured-card {
 background-color: #1a1a1a;
 border-radius: var(--td-border-radius);
 overflow: hidden;
 position: relative;
 box-shadow: 0 4px 30px rgba(0,0,0,0.3);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fse-featured-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.fse-featured-card .fse-image-container {
 aspect-ratio: 16/9;
 border-radius: 0; 
}
.fse-featured-card .fse-image-container img {
 transform: scale(1);
 transition: transform 0.5s ease;
}
.fse-featured-card:hover .fse-image-container img {
 transform: scale(1.05);
}
.fse-card-content {
 padding: 20px;
}
.fse-card-content .fse-card-category {
 display: inline-block;
 background-color: var(--td-color-primary);
 color: var(--td-color-btn-primary-text);
 padding: 4px 10px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 500;
 margin-bottom: 10px;
}
.fse-card-content .fse-heading {
 margin-top: 0;
 font-size: 1.5rem;
 margin-bottom: 10px;
}
.fse-card-meta {
 font-size: 0.9rem;
 color: #999;
 display: flex;
 gap: 15px;
}
.fse-card-meta i {
 margin-right: 5px;
}
.fse-category-nav {
 padding: 40px 0;
 background-color: #0a0a0a;
 border-bottom: 1px solid rgba(255,255,255,0.1);
}
.fse-category-list {
 display: flex;
 flex-wrap: nowrap;
 gap: 10px;
 overflow-x: auto;
 padding-bottom: 10px; 
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none; 
}
.fse-category-list::-webkit-scrollbar {
 display: none; 
}
.fse-button-category {
 background-color: #222;
 color: var(--td-color-text);
 padding: 8px 18px;
 border-radius: 20px;
 font-weight: 500;
 flex-shrink: 0;
 transition: background-color 0.3s ease, color 0.3s ease;
 box-shadow: none;
}
.fse-button-category i {
 margin-right: 8px;
 color: var(--td-color-primary);
}
.fse-button-category span[style] i {
 color: inherit; 
}
.fse-button-category:hover, .fse-button-category.fse-button-selected {
 background-color: var(--td-color-primary);
 color: var(--td-color-btn-primary-text);
 filter: brightness(1.0);
 transform: translateY(-2px);
}
.fse-button-category:hover i, .fse-button-category.fse-button-selected i {
 color: var(--td-color-btn-primary-text);
}
.fse-content-grid-section {
 padding-top: 60px;
 background: var(--td-color-background);
}
.fse-content-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 40px;
}
.fse-sort-options {
 display: flex;
 gap: 15px;
 flex-wrap: wrap;
}
.fse-main-content-grid {
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 30px;
}
.fse-content-card {
 background-color: #1a1a1a;
 border-radius: var(--td-border-radius);
 overflow: hidden;
 box-shadow: 0 4px 20px rgba(0,0,0,0.2);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 position: relative;
}
.fse-content-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.fse-content-card .fse-image-container {
 aspect-ratio: 4/3;
 border-radius: 0;
}
.fse-card-type-icon {
 position: absolute;
 top: 10px;
 right: 10px;
 background-color: rgba(0,0,0,0.7);
 color: #fff;
 border-radius: 50%;
 width: 30px;
 height: 30px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 0.9rem;
}
.fse-card-body {
 padding: 20px;
}
.fse-card-body .fse-heading {
 font-size: 1.3rem;
 line-height: 1.4;
 margin-top: 0;
 margin-bottom: 10px;
}
.fse-card-author {
 font-size: 0.95rem;
 color: #aaa;
 margin-bottom: 15px;
}
.fse-card-author a {
 color: var(--td-color-primary);
}
.fse-about-us {
 background-color: #0a0a0a;
 padding: 100px 0;
 border-top: 1px solid rgba(255,255,255,0.1);
}
.fse-about-image {
 border-radius: var(--td-border-radius);
 box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.fse-testimonials {
 background-color: var(--td-color-background);
 padding-bottom: 100px;
}
.fse-testimonials-content .fse-heading {
 margin-bottom: 60px;
}
.fse-galleries-grid {
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 30px;
}
.fse-testimonial-card {
 background-color: #1a1a1a;
 padding: 30px;
 border-radius: var(--td-border-radius);
 box-shadow: 0 4px 20px rgba(0,0,0,0.2);
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fse-testimonial-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.fse-testimonial-card .fse-paragraph {
 font-style: italic;
 font-size: 1.05rem;
 margin-bottom: 25px;
 color: #e0e0e0;
}
.fse-author-info {
 display: flex;
 flex-direction: column;
 align-items: center;
}
.fse-author-info .fse-avatar {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 10px;
 border: 2px solid var(--td-color-primary);
}
.fse-author-name {
 font-weight: 600;
 color: var(--td-color-heading);
 font-size: 1.1rem;
}
.fse-author-title {
 font-size: 0.9rem;
 color: #aaa;
}
.fse-cta-final {
 padding: 100px 0;
 background: var(--td-color-primary);
 background-image: linear-gradient(45deg, var(--td-color-primary) 0%, var(--td-color-secondary) 100%);
 text-align: center;
 border-top: 1px solid rgba(255,255,255,0.2);
}
.fse-cta-final .fse-heading {
 color: var(--td-color-background);
 margin-bottom: 20px;
}
.fse-cta-final .fse-paragraph {
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
 color: rgba(255,255,255,0.9);
 margin-bottom: 40px;
}
.fse-cta-final .fse-button-primary {
 background-color: var(--td-color-background);
 color: var(--td-color-primary);
 box-shadow: 0 2px 0 0 rgba(0,0,0,0.3);
}
.fse-cta-final .fse-button-primary:hover {
 filter: brightness(0.9);
 box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 4px 0 0 rgba(0,0,0,0.3);
}
.fse-cta-final .fse-button-secondary {
 background-color: rgba(0,0,0,0.2);
 border: 1px solid rgba(255,255,255,0.4);
 box-shadow: none;
}
.fse-cta-final .fse-button-secondary:hover {
 background-color: rgba(0,0,0,0.3);
 filter: brightness(1.0);
}
.fse-hero-buttons {
 display: flex;
 justify-content: center;
 gap: 15px;
 flex-wrap: wrap;
}
.fse-footer {
 background: var(--td-color-footer-bg);
 padding: 60px 0 20px;
 color: var(--td-color-footer-text);
 border-top: 1px solid rgba(255,255,255,0.1);
}
.fse-footer-content {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.fse-footer-columns {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}
.fse-footer-columns .fse-column {
 text-align: left;
}
.fse-footer-columns .fse-column h4 {
 margin-bottom: 15px;
 font-size: 1.1rem;
 color: var(--td-color-footer-text);
 text-align: left;
}
.fse-footer-logo {
 height: 40px;
 width: auto;
 margin-bottom: 15px;
}
.fse-footer-menu {
 list-style: none;
 padding: 0;
 margin: 0;
 text-align: left;
}
.fse-footer-menu li {
 margin-bottom: 10px;
}
.fse-footer-menu a {
 color: var(--td-color-footer-text);
 text-decoration: none;
 transition: color 0.3s ease;
}
.fse-footer-menu a:hover {
 color: var(--td-color-primary);
}
.fse-contact-list {
 list-style: none;
 padding: 0;
 margin: 0;
 text-align: left;
}
.fse-contact-list li {
 margin-bottom: 12px;
 display: flex;
 align-items: flex-start;
 gap: 10px;
 justify-content: flex-start;
}
.fse-contact-list i {
 width: 20px;
 color: var(--td-color-primary);
 flex-shrink: 0;
 font-size: 1.1rem;
}
.fse-footer-bottom {
 border-top: 1px solid rgba(255,255,255,0.15);
 padding-top: 20px;
 text-align: center;
}
.fse-copyright {
 font-size: 14px;
 text-align: center;
 color: #aaa;
}
.fse-hidden-content {
 display: none;
}
@media (max-width: 992px) {
 .fse-featured-grid {
 grid-template-columns: 1fr;
 }
 .fse-main-content-grid {
 grid-template-columns: repeat(2, 1fr);
 }
 .fse-galleries-grid {
 grid-template-columns: repeat(3, 1fr);
 }
 .fse-column {
 flex: 1 1 100%;
 }
 .fse-about-us .fse-columns {
 flex-direction: column;
 }
}
@media (max-width: 768px) {
 .fse-section {
 padding: 60px 0;
 }
 h1.fse-heading {
 font-size: clamp(2.2rem, 8vw, 3.5rem);
 }
 h2.fse-heading {
 font-size: clamp(1.8rem, 7vw, 2.8rem);
 }
 .fse-header-left {
 padding-left: 0;
 }
 .fse-toggle-button {
 display: block;
 order: 3;
 margin-left: auto;
 }
 .fse-main-nav {
 display: none;
 position: absolute;
 top: 100%;
 left: 0;
 right: 0;
 background: var(--td-color-header-bg);
 flex-direction: column;
 padding: 20px;
 box-shadow: 0 4px 6px rgba(0,0,0,0.1);
 z-index: 100;
 border-top: 1px solid rgba(255,255,255,0.1);
 }
 .fse-main-nav.mobile-open {
 display: flex !important;
 }
 .fse-header-actions {
 display: none; 
 }
 .fse-header-content {
 flex-wrap: wrap;
 }
 .fse-hero-content .fse-paragraph {
 font-size: 1rem;
 }
 .fse-content-header {
 flex-direction: column;
 align-items: flex-start;
 gap: 20px;
 }
 .fse-sort-options {
 width: 100%;
 justify-content: center;
 }
 .fse-main-content-grid {
 grid-template-columns: 1fr;
 }
 .fse-galleries-grid {
 grid-template-columns: repeat(2, 1fr);
 }
 .fse-footer-columns {
 grid-template-columns: 1fr;
 gap: 30px;
 }
 .fse-footer-columns .fse-column,
 .fse-footer-columns .fse-column h4,
 .fse-footer-menu,
 .fse-contact-list {
 text-align: center;
 }
 .fse-contact-list li {
 justify-content: center;
 }
 .fse-hero-buttons {
 flex-direction: column;
 align-items: center;
 }
 .fse-hero-buttons .fse-button {
 width: 100%;
 max-width: 280px;
 }
}
@media (max-width: 480px) {
 .fse-logo {
 height: 35px;
 }
 .fse-site-title {
 font-size: 1.3rem;
 }
 .fse-button {
 padding: 10px 20px;
 }
 .fse-hero-content .fse-heading {
 letter-spacing: -0.01em;
 }
 .fse-card-content .fse-heading {
 font-size: 1.2rem;
 }
 .fse-card-body .fse-heading {
 font-size: 1.1rem;
 }
 .fse-galleries-grid {
 grid-template-columns: 1fr;
 }
}
.animate-on-scroll,
.animate-slide-left,
.animate-slide-right,
.animate-scale {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-slide-left {
 transform: translateX(-20px);
}
.animate-slide-right {
 transform: translateX(20px);
}
.animate-scale {
 transform: scale(0.95);
}
.animate-on-scroll.animated,
.animate-slide-left.animated,
.animate-slide-right.animated,
.animate-scale.animated {
 opacity: 1;
 transform: translateY(0) translateX(0) scale(1);
}
@keyframes fadeSlideUp {
 from { opacity: 0; transform: translateY(30px); }
 to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
 from { opacity: 0; transform: translateX(-30px); }
 to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideRight {
 from { opacity: 0; transform: translateX(30px); }
 to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
 from { opacity: 0; transform: scale(0.95); }
 to { opacity: 1; transform: scale(1); }
}
.animate-on-scroll { opacity: 0; }
.animate-slide-left { opacity: 0; }
.animate-slide-right { opacity: 0; }
.animate-scale { opacity: 0; }
.animate-on-scroll.visible { animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-left.visible { animation: fadeSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-right.visible { animation: fadeSlideRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-scale.visible { animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-on-scroll.is-visible, .animate-slide-left.is-visible, .animate-slide-right.is-visible, .animate-scale.is-visible, .animate-slide-up.is-visible { opacity: 1 !important; transform: none !important; }
.fse-button { transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.2s ease; }
.fse-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); filter: brightness(1.1); text-decoration: none !important; }
.fse-button:hover * { text-decoration: none !important; color: inherit !important; }
:root {
 --td-color-primary: #331711;
 --td-color-secondary: #331711;
 --td-color-background: #000000;
 --td-color-text: #FFFFFF;
 --td-color-heading: #FFFFFF;
 --td-color-link: #331711;
 --td-font-body: "Helvetica Neue", sans-serif;
 --td-font-heading: "Helvetica Neue", sans-serif;
 --td-radius: 4px;
 --td-color-btn-primary-bg: #331711;
 --td-color-btn-primary-text: #FFFFFF;
 --td-color-btn-primary-hover: #4a251c;
 --td-color-btn-primary-bg: #331711;
}
h1, .fse-heading { font-size: 16px; }
h2 { font-size: 16px; }
body, .fse-paragraph { font-size: 16px; }
.fse-button, .fse-header .fse-button {
 background: #331711;
 color: #FFFFFF;
 border-radius: 4px;
}
body {
 background-color: #000000;
 color: #FFFFFF;
}
[hidden], [aria-hidden="true"], .sr-only, .visually-hidden { display: none !important; }
.fse-header .fse-main-nav ul, .fse-header .fse-nav-menu { display: flex; flex-wrap: wrap; list-style: none; gap: 1.25rem; margin: 0; padding: 0; }
.fse-header .fse-main-nav a, .fse-header .fse-nav-menu a { text-decoration: none; }

/* New style for hiding extra gallery items */
.fse-galleries-grid .fse-content-card:nth-child(n+11) {
    display: none;
}

.fse-galleries-grid.is-visible .fse-content-card {
    display: block !important;
}



/* PressMeGPT: header bar vertical padding floor (never 0) */
.site-header,
.theme-designer-header > header,
.theme-designer-header .fse-header,
header.fse-header,
.fse-header {
padding-top: 10px !important;
padding-bottom: 10px !important;
}


/* PressMeGPT FAQ accordion (native details/summary + JS fallback) */
.fse-faq-details,
details.fse-faq-item,
details[class*="faq"] {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.fse-faq-details summary,
details.fse-faq-item summary,
details[class*="faq"] summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
}
.fse-faq-details summary::-webkit-details-marker,
details.fse-faq-item summary::-webkit-details-marker {
  display: none;
}
.fse-faq-answer,
.fse-faq-details > div,
details.fse-faq-item > div {
  padding-bottom: 1rem;
}
.fse-faq-item.is-open > .fse-faq-answer,
.fse-accordion-item.is-open > .fse-accordion-body {
  display: block;
}
.fse-faq-item:not(.is-open) > .fse-faq-answer,
.fse-accordion-item:not(.is-open) > .fse-accordion-body {
  display: none;
}


/* PressMeGPT interactive widgets (quiz / tabs / toggle / filter) */
[data-pmgpt-quiz] [data-pmgpt-quiz-result] { display: none; }
[data-pmgpt-quiz][data-pmgpt-ready] [data-pmgpt-quiz-step] { display: none; }
[data-pmgpt-quiz][data-pmgpt-ready] [data-pmgpt-quiz-step].is-active,
[data-pmgpt-quiz][data-pmgpt-ready] [data-pmgpt-quiz-result].is-active { display: block; }
[data-pmgpt-quiz][data-pmgpt-ready] [data-pmgpt-quiz-restart] { display: none; }
[data-pmgpt-quiz][data-pmgpt-ready].is-complete [data-pmgpt-quiz-restart] { display: inline-flex; }
[data-pmgpt-quiz-option] { cursor: pointer; }
[data-pmgpt-quiz-option].is-selected { outline: 2px solid currentColor; outline-offset: 2px; }
[data-pmgpt-quiz-progress] { display: block; }

[data-pmgpt-tabs][data-pmgpt-ready] [data-pmgpt-panel] { display: none; }
[data-pmgpt-tabs][data-pmgpt-ready] [data-pmgpt-panel].is-active { display: block; }
[data-pmgpt-tab] { cursor: pointer; }

[data-pmgpt-toggle] { cursor: pointer; }
[data-pmgpt-toggle-target].is-hidden { display: none; }

[data-pmgpt-filter-btn] { cursor: pointer; }
[data-pmgpt-filter-item].is-hidden { display: none; }



/* Copy-site Gutenberg fidelity — never style header/footer nav as content lists */
footer.fse-designed-footer:not(.fse-copy-preserve) {
  color: #ffffff !important;
}
main .wp-block-html .fse-section-dark :where(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.fse-button)),
main .wp-block-html .fse-hero-dark :where(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.fse-button)),
main .wp-block-html .fse-deals-section :where(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.fse-button)),
footer.fse-designed-footer:not(.fse-copy-preserve) :where(h1,h2,h3,h4,h5,h6,p,li,a:not(.fse-button)) {
  color: inherit !important;
}

header.fse-designed-header:not(.fse-copy-preserve) ul,
header.fse-designed-header:not(.fse-copy-preserve) ol,
.fse-designed-header:not(.fse-copy-preserve) .wp-block-html ul,
.fse-designed-header:not(.fse-copy-preserve) .wp-block-html ol,
.fse-designed-header:not(.fse-copy-preserve) ul,
.fse-designed-header:not(.fse-copy-preserve) ol,
.fse-designed-header:not(.fse-copy-preserve) nav ul,
.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav ul,
.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.fse-designed-header:not(.fse-copy-preserve) li::marker { content: none !important; }
.fse-designed-header:not(.fse-copy-preserve) .fse-header-content,
.fse-designed-header:not(.fse-copy-preserve) .fse-header-inner,
.fse-designed-header:not(.fse-copy-preserve) .fse-header-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.fse-designed-header:not(.fse-copy-preserve) .fse-header-actions {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

footer.fse-designed-footer:not(.fse-copy-preserve) ul,
footer.fse-designed-footer:not(.fse-copy-preserve) ol,
.fse-designed-footer:not(.fse-copy-preserve) .wp-block-html ul,
.fse-designed-footer:not(.fse-copy-preserve) .wp-block-html ol,
.fse-designed-footer:not(.fse-copy-preserve) ul,
.fse-designed-footer:not(.fse-copy-preserve) ol,
.fse-designed-footer:not(.fse-copy-preserve) nav ul,
.fse-designed-footer:not(.fse-copy-preserve) .fse-nav-menu,
.fse-designed-footer:not(.fse-copy-preserve) .fse-footer-columns ul {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.fse-designed-footer:not(.fse-copy-preserve) li::marker { content: none !important; }
/* Preserve footer column grid/flex from masterCss — do not force flex layout here */

/* Preserve per-section colors from masterCss — avoid theme.json global text on dark sections */
main .wp-block-html .fse-section,
main .wp-block-html .fse-hero,
main .wp-block-html .fse-cta,
main .wp-block-html section[class*="fse-"] {
  color: unset;
}
main .wp-block-html .fse-section-dark,
main .wp-block-html .fse-hero-dark,
main .wp-block-html .fse-section[class*="dark"],
main .wp-block-html .fse-hero[class*="dark"],
main .wp-block-html .fse-deals-section,
footer.fse-designed-footer:not(.fse-copy-preserve) {
  color: #ffffff !important;
}
main .wp-block-html .fse-section-dark :where(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.fse-button)),
main .wp-block-html .fse-hero-dark :where(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.fse-button)),
main .wp-block-html .fse-deals-section :where(h1,h2,h3,h4,h5,h6,p,li,span,a:not(.fse-button)),
footer.fse-designed-footer:not(.fse-copy-preserve) :where(h1,h2,h3,h4,h5,h6,p,li,a:not(.fse-button)) {
  color: inherit !important;
}

main.wp-block-group ul:not(.fse-nav-menu):not(.fse-main-nav ul),
main .wp-block-html ul:not(.fse-nav-menu),
.fse-section ul:not(.fse-nav-menu) {
  list-style: disc;
  padding-left: 1.5em;
  margin-left: 0;
}
main.wp-block-group ol:not(.fse-nav-menu),
main .wp-block-html ol:not(.fse-nav-menu),
.fse-section ol:not(.fse-nav-menu) {
  list-style: decimal;
  padding-left: 1.5em;
}
main .wp-block-list:not(.fse-nav-menu) {
  list-style: revert;
  padding-left: 1.5em;
}
main .wp-block-list li,
.fse-section li:not(.fse-nav-menu li) {
  margin-bottom: 0.35em;
}

.fse-section i[class*="fa-"],
.fse-section .fa,
.fse-section .fas,
.fse-section .far,
.fse-section .fab,
main i[class*="fa-"],
.fse-card [class*="icon"],
.fse-service-card [class*="icon"] {
  font-size: 1.25em;
  line-height: 1;
  vertical-align: middle;
}
.fse-section svg,
.fse-card svg {
  width: auto;
  height: 1.25em;
  max-width: 2em;
}

.wp-block-html i[class*="fa-"],
.wp-block-html .fa,
.wp-block-html .fas,
.wp-block-html .far,
.wp-block-html .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 1.25em;
  line-height: 1;
}

.fse-section:not(.fse-copy-preserve) img,
.fse-card img,
main:not(.fse-copy-preserve) .wp-block-html img {
  max-width: 100%;
  height: auto;
  display: block;
}
main:not(.fse-copy-preserve) .wp-block-html .fse-column img,
main:not(.fse-copy-preserve) .wp-block-html .fse-grid img,
main:not(.fse-copy-preserve) .wp-block-html .fse-card img,
main:not(.fse-copy-preserve) .wp-block-html .fse-two-column img,
main:not(.fse-copy-preserve) .wp-block-html .fse-services img,
main:not(.fse-copy-preserve) .wp-block-html .fse-feature img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
main:not(.fse-copy-preserve) .wp-block-html .fse-hero-image,
main:not(.fse-copy-preserve) .wp-block-html .fse-hero-graphic,
main:not(.fse-copy-preserve) .wp-block-html .fse-hero-image img,
main:not(.fse-copy-preserve) .wp-block-html .fse-hero-graphic img,
main:not(.fse-copy-preserve) .wp-block-html .fse-hero img.fse-hero-image {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  object-fit: contain;
}

.fse-section i[class*="fa-"],
main .wp-block-html .fse-section p,
main .wp-block-html .fse-card p {
  font-size: 1rem;
  line-height: 1.65;
}
main .wp-block-html .fse-card h3,
main .wp-block-html .fse-column h3 {
  font-size: 1.125rem;
  line-height: 1.35;
}

.fse-section[style*="background-image"],
.fse-hero[style*="background-image"],
[class*="fse-"][style*="background-image"],
.wp-block-html [style*="background-image"] {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

iframe,
.wp-block-html iframe {
  max-width: 100%;
  width: 100%;
  border: 0;
  display: block;
}

.wp-block-cover .fse-hero-content,
.wp-block-cover .fse-section-header,
.wp-block-html .fse-hero-content {
  text-align: inherit;
}
.wp-block-cover__inner-container .fse-hero-content {
  max-width: none;
  width: 100%;
}

.fse-section,
.fse-hero,
.wp-block-html .fse-section,
.wp-block-html .fse-hero {
  position: relative;
}

/* Classic theme designer wrappers (mockup / figma / copy-site exports) */
.theme-designer-header ul,
.theme-designer-header ol,
.theme-designer-footer ul,
.theme-designer-footer ol,
.theme-designer-footer .fse-footer-columns ul,
.theme-designer-footer .menu {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.theme-designer-header li::marker,
.theme-designer-footer li::marker {
  content: none !important;
}
/* Fallback footer columns for plain theme-designer footers only.
   Do NOT force flex on .fse-copy-preserve / mockup / figma designed footers —
   their master CSS owns grid/flex layout (EXP-12). */
.theme-designer-footer:not(:has(.fse-copy-preserve)) .fse-footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Let source-site CSS control image sizing inside copy-preserve shells */
.fse-copy-preserve img,
header.fse-copy-preserve img,
footer.fse-copy-preserve img,
main.fse-copy-preserve .wp-block-html img {
  max-width: 100%;
}


/* Copy-site image fidelity — content photos full width; icons only capped.
 * IMPORTANT: exclude header/footer chrome (logos, payment badges, social icons)
 * so their authored sizes are respected instead of being blown up to intrinsic. */
.fse-section:not(.fse-header):not(.fse-footer) img:not(.fse-icon):not([class*="icon"]):not(.fse-logo):not(.fse-footer-logo),
.fse-hero img:not(.fse-icon):not([class*="icon"]):not(.fse-logo),
.fse-gallery img,
.fse-portfolio img,
.fse-project img,
.fse-service img,
.fse-feature img,
.fse-card img:not(.fse-icon):not([class*="icon"]):not(.fse-template-thumb img),
.fse-column img:not(.fse-icon):not([class*="icon"]),
.wp-block-html img:not(.fse-icon):not([class*="icon"]) {
  max-width: 100% !important;
  max-height: none !important;
  width: auto;
  height: auto;
  object-fit: cover;
}
/* Hero band images fill the content column. Authored design CSS (e.g.
 * .fse-hero-content .fse-image { width: 100% }) must win over the generic
 * intrinsic-size rule above, which is why that rule is no longer !important. */
.fse-hero img.fse-image,
.fse-hero-content img.fse-image,
.fse-hero .fse-image img,
.fse-hero-content .fse-image img,
.fse-hero figure.wp-block-image img,
.fse-hero-content figure.wp-block-image img,
.fse-hero > img:only-child,
.fse-hero-content > img:only-child {
  width: 100%;
  height: auto;
  display: block;
}
.fse-hero figure.wp-block-image,
.fse-hero-content figure.wp-block-image {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.fse-hero-image img,
.fse-hero-graphic img,
.fse-card .fse-template-thumb img,
.fse-deal-card img,
.fse-product-card img,
.fse-template-card img,
.fse-product-grid .fse-card > img:first-child,
.fse-featured-grid .fse-card > img:first-child {
  max-width: 100% !important;
  max-height: none !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}
.fse-card img.fse-icon,
.fse-column img.fse-icon,
img.fse-category-icon,
.fse-card img[class*="icon"]:not([class*="thumb"]),
.fse-column img[width="64"],
.fse-column img[height="64"] {
  max-width: 64px;
  max-height: 64px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}
/* Header/footer chrome caps — safety net so logos and payment/social badges
 * never render at intrinsic size. Specificity is deliberately >= the broad
 * .fse-section img:not(...):not(...) rule above so these caps actually win. */
.fse-section.fse-header img.fse-logo:not(.fse-logo-sprite),
header.fse-section img.fse-logo:not(.fse-logo-sprite),
header.fse-header img.fse-logo:not(.fse-logo-sprite) {
  height: 60px !important;
  max-height: 64px !important;
  max-width: 260px !important;
  width: auto !important;
  object-fit: contain !important;
}
.fse-section.fse-header img.fse-logo[src$=".svg"]:not(.fse-logo-sprite),
header.fse-section img.fse-logo[src$=".svg"]:not(.fse-logo-sprite),
header.fse-header img.fse-logo[src$=".svg"]:not(.fse-logo-sprite) {
  height: 60px !important;
}
.fse-section.fse-footer img.fse-footer-logo:not(.fse-logo-sprite),
.fse-section.fse-footer img.fse-logo:not(.fse-logo-sprite),
footer.fse-section img.fse-footer-logo:not(.fse-logo-sprite),
footer.fse-section img.fse-logo:not(.fse-logo-sprite),
footer.fse-footer img.fse-footer-logo:not(.fse-logo-sprite) {
  height: 44px !important;
  max-height: 56px !important;
  max-width: 220px !important;
  width: auto !important;
  object-fit: contain !important;
}
.fse-section.fse-footer img.fse-footer-logo[src$=".svg"]:not(.fse-logo-sprite),
.fse-section.fse-footer img.fse-logo[src$=".svg"]:not(.fse-logo-sprite),
footer.fse-section img.fse-footer-logo[src$=".svg"]:not(.fse-logo-sprite),
footer.fse-section img.fse-logo[src$=".svg"]:not(.fse-logo-sprite),
footer.fse-footer img.fse-footer-logo[src$=".svg"]:not(.fse-logo-sprite) {
  height: 44px !important;
}
/* Footer inline images (payment badges, social icons, app-store buttons) */
.fse-section.fse-footer img:not(.fse-logo):not(.fse-footer-logo):not(.fse-logo-sprite),
footer.fse-section img:not(.fse-logo):not(.fse-footer-logo):not(.fse-logo-sprite),
footer.fse-footer img:not(.fse-logo):not(.fse-footer-logo):not(.fse-logo-sprite) {
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Header inline images beside logo (badges, small icons) */
.fse-section.fse-header img:not(.fse-logo):not(.fse-logo-sprite),
header.fse-section img:not(.fse-logo):not(.fse-logo-sprite),
header.fse-header img:not(.fse-logo):not(.fse-logo-sprite) {
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.fse-hero-content,
.fse-hero-overlay,
.fse-section .fse-hero-content,
[class*="overlay"] .fse-hero-content {
  position: relative;
  z-index: 2;
}
.fse-hero[style*="background-image"],
.fse-section[style*="background-image"] {
  background-size: cover !important;
  background-position: center !important;
}


/* PressMeGPT header archetype (designed markup): logo-left-menu-right */
.theme-designer-header .fse-logo img:not(.fse-logo-sprite), .theme-designer-header .site-logo img:not(.fse-logo-sprite), .theme-designer-header .logo img:not(.fse-logo-sprite), .theme-designer-header .custom-logo:not(.fse-logo-sprite), .theme-designer-header header img.logo:not(.fse-logo-sprite), .theme-designer-header img.fse-logo:not(.fse-logo-sprite), .theme-designer-header img.site-logo:not(.fse-logo-sprite), .theme-designer-header img.logo:not(.fse-logo-sprite), .theme-designer-header .fse-logo-area img:not(.fse-logo-sprite), .theme-designer-header .site-branding img:not(.fse-logo-sprite), .theme-designer-header .fse-header-left img:not(.fse-logo-sprite) {
  height: auto !important;
  width: auto !important;
  max-height: 60px !important;
  max-width: min(320px, 60vw) !important;
  object-fit: contain;
}
@media (max-width: 781px) {
  .theme-designer-header .fse-logo img:not(.fse-logo-sprite), .theme-designer-header .site-logo img:not(.fse-logo-sprite), .theme-designer-header .logo img:not(.fse-logo-sprite), .theme-designer-header .custom-logo:not(.fse-logo-sprite), .theme-designer-header header img.logo:not(.fse-logo-sprite), .theme-designer-header img.fse-logo:not(.fse-logo-sprite), .theme-designer-header img.site-logo:not(.fse-logo-sprite), .theme-designer-header img.logo:not(.fse-logo-sprite), .theme-designer-header .fse-logo-area img:not(.fse-logo-sprite), .theme-designer-header .site-branding img:not(.fse-logo-sprite), .theme-designer-header .fse-header-left img:not(.fse-logo-sprite) { max-height: 44px !important; }
}
.theme-designer-header .fse-header-inner, .theme-designer-header .header-inner, .theme-designer-header .fse-header > div, .theme-designer-header > div { flex-direction: row; justify-content: space-between; align-items: center; }
/* PressMeGPT — sprite logos keep their designed crop */
.theme-designer-header img.fse-logo-sprite {
  object-fit: none !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 auto;
}
.theme-designer-header img.fse-logo-sprite[style*="height"] {
  /* height/width come from the element's own inline style */
  transform-origin: left center;
}
@media (max-width: 781px) {
  .theme-designer-header img.fse-logo-sprite { transform: scale(0.75); }
}


/* PressMeGPT header: static (design declares fse-header-static) */

/* PressMeGPT footer archetype: columns-3 */
.theme-designer-footer .fse-footer-layout-target, .fse-footer .fse-footer-layout-target, footer.fse-section .fse-footer-layout-target, .theme-designer-footer:not(:has(.fse-footer-layout-target)) .fse-footer-columns, .theme-designer-footer:not(:has(.fse-footer-columns)):not(:has(.fse-footer-layout-target)) .fse-footer-inner, .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner)):not(:has(.fse-footer-layout-target)) .footer-inner, .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)):not(:has(.fse-footer-layout-target)) > .container, .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .fse-footer:not(:has(.fse-footer-layout-target)) .fse-footer-columns, .fse-footer:not(:has(.fse-footer-columns)):not(:has(.fse-footer-layout-target)) .fse-footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner)):not(:has(.fse-footer-layout-target)) .footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)):not(:has(.fse-footer-layout-target)) > .container, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.fse-section:not(:has(.fse-footer-layout-target)) .fse-footer-columns, footer.fse-section:not(:has(.fse-footer-columns)):not(:has(.fse-footer-layout-target)) .fse-footer-inner, footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner)):not(:has(.fse-footer-layout-target)) .footer-inner, footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)):not(:has(.fse-footer-layout-target)) > .container, footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  text-align: left;
}
@media (max-width: 781px) {
  .theme-designer-footer .fse-footer-layout-target, .fse-footer .fse-footer-layout-target, footer.fse-section .fse-footer-layout-target, .theme-designer-footer:not(:has(.fse-footer-layout-target)) .fse-footer-columns, .theme-designer-footer:not(:has(.fse-footer-columns)):not(:has(.fse-footer-layout-target)) .fse-footer-inner, .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner)):not(:has(.fse-footer-layout-target)) .footer-inner, .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)):not(:has(.fse-footer-layout-target)) > .container, .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .theme-designer-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .fse-footer:not(:has(.fse-footer-layout-target)) .fse-footer-columns, .fse-footer:not(:has(.fse-footer-columns)):not(:has(.fse-footer-layout-target)) .fse-footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner)):not(:has(.fse-footer-layout-target)) .footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)):not(:has(.fse-footer-layout-target)) > .container, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.fse-section:not(:has(.fse-footer-layout-target)) .fse-footer-columns, footer.fse-section:not(:has(.fse-footer-columns)):not(:has(.fse-footer-layout-target)) .fse-footer-inner, footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner)):not(:has(.fse-footer-layout-target)) .footer-inner, footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)):not(:has(.fse-footer-layout-target)) > .container, footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.fse-section:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)):not(:has(.fse-footer-layout-target)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) { grid-template-columns: 1fr; }
}




/* ===== Per-Page Scoped Styles (PressMeGPT) ===== */


/* ===== PressMeGPT: Blog/Archive Layout Enforcement (must win over master CSS) ===== */
body.single .content-area,
body.blog .content-area,
body.archive .content-area,
body.search .content-area,
body.error404 .content-area {
max-width: 1200px !important;
margin-left: auto !important;
margin-right: auto !important;
padding-left: 2rem !important;
padding-right: 2rem !important;
box-sizing: border-box;
}

@media (max-width: 768px) {
body.single .content-area,
body.blog .content-area,
body.archive .content-area,
body.search .content-area,
body.error404 .content-area {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
}

body.single .content-area.has-sidebar,
body.blog .content-area.has-sidebar,
body.archive .content-area.has-sidebar,
body.search .content-area.has-sidebar {
display: grid !important;
grid-template-columns: minmax(0, 1fr) 300px !important;
gap: 3rem !important;
align-items: start;
}

@media (max-width: 900px) {
body.single .content-area.has-sidebar,
body.blog .content-area.has-sidebar,
body.archive .content-area.has-sidebar,
body.search .content-area.has-sidebar {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}
}

body.single .primary-content,
body.single .primary-content > article,
body.single .entry-content,
body.single .entry-footer,
body.single .post-navigation,
body.single .comments-area,
body.blog .primary-content,
body.archive .primary-content {
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box;
}

/* PressMeGPT scroll-reveal guard — supports both .visible and .is-visible conventions */
.animate-on-scroll.visible, .animate-on-scroll.is-visible,
.animate-slide-left.visible, .animate-slide-left.is-visible,
.animate-slide-right.visible, .animate-slide-right.is-visible,
.animate-scale.visible, .animate-scale.is-visible,
.animate-slide-up.visible, .animate-slide-up.is-visible {
  opacity: 1 !important;
  transform: none !important;
}
