/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/*= CMP Consent Modal Fix ============ */
/* Microthemer sets global p { font-size: 22px !important } which blows up the Mediavine consent modal */
.cmpwrapper p,
.cmpboxinner p,
[class*="cmp"] p,
#cmpbox p,
#cmpbox2 p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
}
.cmpwrapper h1,
.cmpwrapper h2,
[class*="cmp"] h1,
[class*="cmp"] h2 {
    font-size: 18px !important;
}

/*= SampleShots Gallery Captions ============ */
.pw-image.pw-sample .pw-caption {
    font-size: 15px !important;
    font-style: normal !important;
    color: #374151 !important;
    text-align: left !important;
    line-height: 1.65 !important;
    background: #f8f9fa;
    border-left: 3px solid #e5a00d;
    padding: 14px 18px !important;
    margin-top: 12px !important;
    border-radius: 0 6px 6px 0;
}
.pw-image.pw-sample .pw-caption strong {
    color: #111827;
    font-weight: 600;
}
.pw-image.pw-sample .pw-caption .pw-exif {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    letter-spacing: 0.3px;
}
.pw-image.pw-sample .pw-caption .pw-credit {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}
.pw-image.pw-sample .pw-caption .pw-credit a {
    color: #9ca3af !important;
    text-decoration: underline;
    text-decoration-color: #d1d5db;
}
.pw-image.pw-sample .pw-caption .pw-credit a:hover {
    color: #6b7280 !important;
}
@media (max-width: 768px) {
    .pw-image.pw-sample .pw-caption {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .pw-image.pw-sample .pw-caption .pw-exif {
        font-size: 12px;
    }
}


/*= Sidebar Widget Styling (Mediavine-inspired) ============ */

/* Widget container */
#secondary .widget {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
    border: 1px solid #f0f0f0 !important;
}

/* Widget title bar */
#secondary .sidebar-widget-title {
    background: #fafafa !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #333 !important;
    border-bottom: 1px solid #eee !important;
}

/* Category label in title */
#secondary .sidebar-widget-title .color-category {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    opacity: 0.6 !important;
    margin-left: 6px !important;
}

/* OVERRIDE Microthemer grid — force list layout */
#secondary .display-posts-listing.grid {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

/* Individual listing item — force flex row */
#secondary .display-posts-listing .listing-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: background 0.15s ease !important;
    margin: 0 !important;
}
#secondary .display-posts-listing .listing-item:last-child {
    border-bottom: none !important;
}
#secondary .display-posts-listing .listing-item:hover {
    background: #f8f9fb !important;
}

/* Thumbnail */
#secondary .listing-item a.image {
    flex-shrink: 0 !important;
    display: block !important;
    width: 72px !important;
    height: 48px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    float: none !important;
}
#secondary .listing-item a.image img {
    width: 72px !important;
    height: 48px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 6px !important;
}

/* Post title link */
#secondary .listing-item a.title {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
}
#secondary .listing-item a.title:hover {
    color: #0170B9 !important;
}

/* Widget heading for wp-block-heading */
#secondary .widget .wp-block-heading,
#secondary .widget .widget-title,
#secondary .widget h2 {
    background: #fafafa !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #333 !important;
    border-bottom: 1px solid #eee !important;
    border-left: none !important;
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    #secondary .widget {
        border-radius: 8px !important;
        margin-bottom: 16px !important;
    }
    #secondary .listing-item a.image {
        width: 60px !important;
        height: 40px !important;
    }
    #secondary .listing-item a.image img {
        width: 60px !important;
        height: 40px !important;
    }
    #secondary .listing-item a.title {
        font-size: 12px !important;
    }
}

/*= Footer Links ============ */
.footer-widget-area-inner #block-70 a {
    text-decoration: underline !important;
}

/*= Author Box ============ */
.pw-author-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 20px !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 40px 0 20px !important;
}
.pw-author-avatar {
    flex-shrink: 0 !important;
}
.pw-author-avatar img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}
.pw-author-info {
    flex: 1 !important;
}
.pw-author-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #9ca3af !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}
.pw-author-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    background: none !important;
    border: none !important;
}
.pw-author-name a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}
.pw-author-name a:hover {
    color: #0170B9 !important;
}
.pw-author-bio {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
    margin: 0 !important;
    padding: 0 !important;
}
@media (max-width: 768px) {
    .pw-author-box {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 16px !important;
    }
    .pw-author-avatar img {
        width: 64px !important;
        height: 64px !important;
    }
}

/*= Related Posts Block ============ */
.pw-related-posts {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 28px 24px 20px !important;
    margin: 48px 0 24px !important;
}
.pw-related-heading {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}
.pw-related-intro {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}
.pw-related-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.pw-related-card {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 12px !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.pw-related-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    border-color: #d1d5db !important;
}
.pw-related-card img {
    width: 120px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}
.pw-related-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.pw-related-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
}
.pw-related-card:hover .pw-related-title {
    color: #0170B9 !important;
}
.pw-related-desc {
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
@media (max-width: 768px) {
    .pw-related-posts {
        padding: 20px 16px 16px !important;
        margin: 32px 0 16px !important;
    }
    .pw-related-card {
        gap: 12px !important;
        padding: 10px !important;
    }
    .pw-related-card img {
        width: 80px !important;
        height: 56px !important;
    }
    .pw-related-title {
        font-size: 14px !important;
    }
    .pw-related-desc {
        font-size: 12px !important;
    }
}

/*= Quick Picks / Comparison Tables */
.entry-content table.has-fixed-layout {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    margin: 24px 0 32px;
    font-size: 14px;
    table-layout: auto;
}
.entry-content table.has-fixed-layout thead tr {
    background: #1a1c1e;
}
.entry-content table.has-fixed-layout thead th {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #fff;
    padding: 12px;
    border: none;
    text-align: left;
}
.entry-content table.has-fixed-layout thead th:first-child {
    width: 32px;
    text-align: center;
    padding: 12px 6px;
}
.entry-content table.has-fixed-layout tbody tr {
    transition: background 0.15s ease;
    border-bottom: 1px solid #f0f0f3;
}
.entry-content table.has-fixed-layout tbody tr:hover {
    background: #f8f9fb;
}
.entry-content table.has-fixed-layout tbody tr:nth-child(even) {
    background: #fafbfc;
}
.entry-content table.has-fixed-layout tbody tr:nth-child(even):hover {
    background: #f0f4f8;
}
.entry-content table.has-fixed-layout tbody td {
    padding: 12px;
    border: none;
    border-bottom: 1px solid #eef0f2;
    color: #404850;
    vertical-align: middle;
    line-height: 1.4;
    font-size: 13px;
}
.entry-content table.has-fixed-layout tbody td:first-child {
    font-weight: 800;
    color: #006396;
    font-size: 16px;
    width: 32px;
    text-align: center;
    padding: 12px 6px;
}
.entry-content table.has-fixed-layout tbody td:nth-child(2) {
    font-weight: 700;
    color: #1a1c1e;
    white-space: nowrap;
}
.entry-content table.has-fixed-layout tbody td:last-child {
    padding: 12px 8px;
    white-space: nowrap;
}
.entry-content table.has-fixed-layout tbody td:last-child a {
    display: inline-block;
    background: #006396;
    color: #fff !important;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-align: center;
}
.entry-content table.has-fixed-layout tbody td:last-child a:hover {
    background: #004b73;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,99,150,0.25);
}
.entry-content table.has-fixed-layout tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile: card layout */
@media (max-width: 768px) {
    .entry-content table.has-fixed-layout,
    .entry-content table.has-fixed-layout thead,
    .entry-content table.has-fixed-layout tbody,
    .entry-content table.has-fixed-layout th,
    .entry-content table.has-fixed-layout td,
    .entry-content table.has-fixed-layout tr {
        display: block;
    }
    .entry-content table.has-fixed-layout {
        border-radius: 12px;
        box-shadow: none;
        border: none;
    }
    .entry-content table.has-fixed-layout thead {
        display: none;
    }
    .entry-content table.has-fixed-layout tbody tr {
        background: #fff;
        border: 1px solid #eef0f2;
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 16px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 12px;
    }
    .entry-content table.has-fixed-layout tbody tr:nth-child(even) {
        background: #fff;
    }
    .entry-content table.has-fixed-layout tbody td {
        border: none;
        padding: 2px 0;
        font-size: 14px;
    }
    .entry-content table.has-fixed-layout tbody td:first-child {
        font-size: 13px;
        background: #006396;
        color: #fff;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 0;
    }
    .entry-content table.has-fixed-layout tbody td:nth-child(2) {
        font-size: 16px;
        flex: 1;
        white-space: normal;
    }
    .entry-content table.has-fixed-layout tbody td:nth-child(3) {
        width: 100%;
        color: #555;
        font-size: 13px;
        padding-left: 38px;
    }
    .entry-content table.has-fixed-layout tbody td:nth-child(4) {
        font-weight: 600;
        color: #1a1c1e;
        font-size: 13px;
        padding-left: 38px;
    }
    .entry-content table.has-fixed-layout tbody td:last-child {
        width: 100%;
        padding-top: 10px;
        white-space: normal;
    }
    .entry-content table.has-fixed-layout tbody td:last-child a {
        width: 100%;
        display: block;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
    }
}

/*= Vendor Screenshots (Canvas Prints) =*/
figure.vendor-screenshot {
    max-width: 500px;
    margin: 1.5em auto;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}
figure.vendor-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #e2e2e2;
}
figure.vendor-screenshot figcaption {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    font-style: normal;
}
figure.vendor-screenshot figcaption strong {
    color: #333;
}
@media (max-width: 600px) {
    figure.vendor-screenshot {
        max-width: 100%;
        margin: 1em 0;
    }
}

/*= Camera Archive Grid */
.cam-archive { max-width: 1200px; margin: 0 auto; padding: 20px; }
.cam-archive-title { font-size: 2em; font-weight: 800; margin-bottom: 4px; }
.cam-archive-subtitle { color: #666; margin-bottom: 24px; font-size: 1.05em; }
.cam-filters { margin-bottom: 24px; }
.cam-filter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cam-filter-form select, .cam-search-input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 0.95em; }
.cam-search-input { flex: 1; min-width: 200px; }
.cam-search-btn { padding: 8px 20px; background: #1a1a2e; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }
.cam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cam-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eee; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.cam-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.cam-card-img { aspect-ratio: 4/3; overflow: hidden; background: #f5f5f5; display: flex; align-items: center; justify-content: center; }
.cam-card-img img { width: 100%; height: 100%; object-fit: contain; }
.cam-card-noimg { font-size: 3em; opacity: 0.3; }
.cam-card-info { padding: 12px; }
.cam-card-brand { font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.05em; color: #888; font-weight: 600; }
.cam-card-model { font-size: 0.95em; font-weight: 700; margin: 2px 0 6px; line-height: 1.3; }
.cam-card-meta { display: flex; gap: 8px; font-size: 0.78em; color: #999; flex-wrap: wrap; }
.cam-card-meta span { white-space: nowrap; }
.cam-pagination { text-align: center; margin: 32px 0; }
.cam-pagination .page-numbers { padding: 8px 14px; margin: 0 3px; border-radius: 8px; border: 1px solid #ddd; text-decoration: none; color: #333; }
.cam-pagination .page-numbers.current { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.cam-no-results { text-align: center; padding: 40px; color: #888; }
@media (max-width: 600px) { .cam-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cam-card-info { padding: 8px; } }


/*= Homepage Grid Layout (migrated from Microthemer) ======= */

.cat-grid-layout {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.cat-grid-layout .listing-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	border: 1px solid #f0f0f0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-grid-layout .listing-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.12);
	border-color: #e0e0e0;
}

/* Image — 3:2 aspect ratio enforced */
.cat-grid-layout .listing-item a.image {	position: relative;	display: block;	width: 100%;	padding-top: 66.666%;	overflow: hidden;}

.cat-grid-layout .listing-item a.image img { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 0.3s ease; display: block; }

.cat-grid-layout .listing-item:hover img {
	transform: scale(1.05);
}

.cat-grid-layout .listing-item a {
	text-decoration: none;
	color: inherit;
}

.cat-grid-layout .title {
	padding: 1rem 1.25rem 0.5rem;
	margin: 0;
}

.cat-grid-layout .title a {
	color: #111827;
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.cat-grid-layout .title a:hover {
	color: #4F46E5;
}

.cat-grid-layout .excerpt {
	padding: 0 1.25rem 1.25rem;
	color: #4b5563;
	line-height: 1.6;
	font-size: 0.9375rem;
}

/* Category badge */
.cat-grid-layout .category-display {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin: 0.75rem 1rem 0.5rem;
	padding: 0.375rem 0.75rem;
	background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
	border-radius: 6px;
	font-size: 0.75rem;
	border-left: 2px solid #4F46E5;
}

.cat-grid-layout .category-display-label {
	color: #6b7280;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.6875rem;
}

.cat-grid-layout .category-display a {
	color: #4F46E5;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
	position: relative;
}

.cat-grid-layout .category-display a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: #4F46E5;
	transition: width 0.3s ease;
}

.cat-grid-layout .category-display a:hover { color: #4338ca; }
.cat-grid-layout .category-display a:hover::after { width: 100%; }

/* Comments link */
.cat-grid-layout .comments-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	margin: 0.75rem 1rem 0.75rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #4b5563;
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-grid-layout .comments-link:hover {
	border-color: #4F46E5;
	color: #4F46E5;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(79,70,229,0.2);
}

/* Section headings */
.section-heading {
	color: #1a1a1a;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	padding-bottom: 0.75rem;
	margin-top: 3rem;
	margin-bottom: 2rem;
	position: relative;
}

.section-heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #4F46E5, #818CF8);
	border-radius: 2px;
}

/* Featured section */
.featured {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 3rem 2rem;
	border-radius: 16px;
	margin: 3rem 0;
	box-shadow: 0 8px 32px rgba(102,126,234,0.2);
}

.featured .wp-block-heading {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 2rem;
	text-align: center;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.featured .cat-grid-layout > * {
	background: #fff;
	border: none;
}

/* Category flex container */
.fp-cat-flex-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin: 3rem 0;
	padding: 2.5rem;
	background: linear-gradient(to bottom, #f9fafb, #fff);
	border-radius: 16px;
	border: 1px solid #e5e7eb;
}

.fp-cat-flex-container > div {
	flex: 1 1 280px;
	min-width: 250px;
}

.fp-cat-flex-container h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid #4F46E5;
	display: inline-block;
}

.fp-cat-flex-container ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fp-cat-flex-container li { margin-bottom: 0.75rem; }

.fp-cat-flex-container a {
	color: #4b5563;
	text-decoration: none;
	font-size: 1rem;
	transition: all 0.2s ease;
	display: inline-block;
	position: relative;
	padding-left: 1.25rem;
}

.fp-cat-flex-container a::before {
	content: '\2192';
	position: absolute;
	left: 0;
	opacity: 0;
	transition: all 0.2s ease;
	color: #4F46E5;
}

.fp-cat-flex-container a:hover {
	color: #4F46E5;
	transform: translateX(8px);
}

.fp-cat-flex-container a:hover::before {
	opacity: 1;
	left: -4px;
}

/*= Homepage — Desktop (1280px+) */
@media (min-width: 1280px) {
	.cat-grid-layout {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5rem;
	}
	.featured .cat-grid-layout { grid-template-columns: repeat(3, 1fr); }
	.cat-grid-layout .title a { font-size: 1.25rem; }
	.fp-cat-flex-container { padding: 3rem; }
	.fp-cat-flex-container > div { flex: 1 1 300px; }
}

/*= Homepage — Tablet (768–1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
	.cat-grid-layout {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
	.featured { padding: 2.5rem 1.5rem; }
	.featured .cat-grid-layout { grid-template-columns: repeat(2, 1fr); }
	.fp-cat-flex-container { padding: 2rem; gap: 1.5rem; }
	.fp-cat-flex-container > div { flex: 1 1 45%; }
}

/*= Homepage — Phone (<768px) */
@media (max-width: 767px) {
	.cat-grid-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.section-heading {
		font-size: 1.75rem;
		margin-top: 2rem;
		margin-bottom: 1.5rem;
	}
	.section-heading::after { width: 50px; height: 3px; }
	.featured {
		padding: 2rem 1rem;
		margin: 2rem -1rem;
		border-radius: 0;
	}
	.featured .wp-block-heading { font-size: 2rem; }
	.featured .cat-grid-layout { grid-template-columns: 1fr; }
	.fp-cat-flex-container {
		flex-direction: column;
		padding: 1.5rem;
		gap: 2rem;
	}
	.fp-cat-flex-container > div { flex: 1 1 100%; min-width: 100%; }
	.fp-cat-flex-container h3 { font-size: 1.25rem; }
	.fp-cat-flex-container a { padding: 0.5rem 0; display: block; }
	.cat-grid-layout .title { padding: 0.875rem 1.25rem 0.5rem; }
	.cat-grid-layout .title a { font-size: 1rem; }
	.cat-grid-layout .excerpt { padding: 0 1.25rem 1.25rem; }
	.cat-grid-layout .category-display {
		flex-wrap: wrap;
		padding: 0.3125rem 0.625rem;
		margin: 0.625rem 0.75rem 0.5rem;
		font-size: 0.6875rem;
	}
	.cat-grid-layout .comments-link {
		padding: 0.3125rem 0.75rem;
		margin: 0.625rem 0.75rem 0.75rem;
		font-size: 0.75rem;
		width: calc(100% - 1.5rem);
		justify-content: center;
	}
}
/* cache-bust-20260325 */

/*= iPhone Photography Courses Cards */
.pw-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}
.pw-course-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 22px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pw-course-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.pw-course-card h4 {
  margin: 0 0 10px;
  font-size: 1.1em;
  line-height: 1.3;
}
/* Fix double underline - override Astra theme */
.ast-single-post .entry-content .pw-course-card h4 a,
.pw-course-card h4 a {
  color: #1a1a1a !important;
  text-decoration: none !important;
  border-bottom: none !important;
  background: linear-gradient(to right, #0073aa, #0073aa) no-repeat 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.3s ease;
}
.pw-course-card:hover h4 a {
  background-size: 100% 2px;
}
.pw-course-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85em;
  color: #555;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.pw-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.pw-course-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f0f7fa, #e8f4fd);
  color: #0073aa;
  font-size: 0.78em;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-top: 6px;
  border: 1px solid #d4e9f7;
}
.pw-course-rating {
  color: #f59e0b;
  font-weight: 700;
}
.pw-course-card .pw-course-meta:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 4px;
}

/* Nuclear override for course card links */
body.single-post .ast-single-post .entry-content .pw-course-card h4 a,
body .ast-single-post .entry-content .pw-course-card h4 a,
.entry-content .pw-course-card h4 a {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Fix oversized emoji in related posts cards */
.pw-related-desc img.emoji,
.pw-related-title img.emoji {
  width: 1em !important;
  height: 1em !important;
  vertical-align: -0.1em;
  display: inline !important;
  margin: 0 2px;
}
