/*
Theme Name: Dublin24h News Theme
Theme URI: https://dublin24h.com
Author: Dublin24h Team
Author URI: https://dublin24h.com
Description: Professional news WordPress theme with Irish green and orange color scheme, inspired by Elite News
Version: 1.0.0
License: GPL v2 or later
Text Domain: dublin24h
Tags: news, magazine, blog, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   1. CSS Reset & Base Styles
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #169B62 0%, #228B22 100%);
    min-height: 100vh;
}

.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: #169B62;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #D2691E;
}

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

/* ========================================
   2. Header Styles
======================================== */

.site-header {
    background: #fff;
    border-bottom: 3px solid #169B62;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 80px;
    width: auto;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #169B62;
}

.site-description {
    font-size: 0.875rem;
    color: #666;
    margin: 5px 0 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    transition: color 0.3s;
}

.main-menu a:hover,
.main-menu .current-menu-item a {
    color: #D2691E;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.subscribe-btn {
    background: #D2691E;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.subscribe-btn:hover {
    background: #B8860B;
}

/* ========================================
   3. Headlines Section
======================================== */

.headlines-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.section-title {
    color: #D2691E;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #169B62;
    font-family: 'Playfair Display', serif;
}

.headlines-grid {
    display: grid;
    grid-template-columns: 2fr 300px 1fr;
    gap: 30px;
}

.headlines-col-double {
    grid-column: span 1;
}

.headlines-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.headline-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.headline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.headline-thumb {
    overflow: hidden;
    height: 110px;
}

.headline-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.headline-item:hover .headline-thumb img {
    transform: scale(1.1);
}

.headline-content {
    padding: 15px;
}

.headline-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.headline-title a {
    color: #333;
}

.headline-title a:hover {
    color: #D2691E;
}

.headline-meta {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.headline-meta span {
    display: inline-flex;
    align-items: center;
}

.headline-meta span:not(:last-child):after {
    content: '|';
    margin-left: 10px;
    color: #ddd;
}

.headline-excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

/* Exclusive Articles */
.exclusive-articles {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.exclusive-articles h3 {
    color: #D2691E;
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #169B62;
}

.exclusive-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.exclusive-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.exclusive-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.exclusive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.exclusive-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.exclusive-title a {
    color: #333;
}

.exclusive-title a:hover {
    color: #D2691E;
}

/* ========================================
   4. Banner Section
======================================== */

.banner-section {
    padding: 30px 0;
    background: #169B62;
    margin: 40px 0;
}

.banner-content {
    text-align: center;
    color: #fff;
}

.banner-placeholder {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.banner-placeholder h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

/* ========================================
   5. Category Sections
======================================== */

.category-sections {
    padding: 40px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-column {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-title {
    color: #D2691E;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #169B62;
    font-family: 'Playfair Display', serif;
}

.category-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.category-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-post-thumb {
    width: 150px;
    height: 110px;
    flex-shrink: 0;
}

.category-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.category-post-content {
    flex: 1;
}

.category-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.category-post-title a {
    color: #333;
}

.hot-post .category-post-title a {
    color: #D2691E;
}

.hot-icon {
    color: #D2691E;
    margin-right: 5px;
}

/* ========================================
   6. Main Content Area
======================================== */

.main-content-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.content-sidebar-wrap {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 40px;
    align-items: start;
}

.content-area {
    background: transparent;
    min-width: 0;
}

.content-area > div {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Recent Posts */
.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.recent-post {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-thumb {
    height: 110px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    padding: 15px 0;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-post-title a {
    color: #333;
}

.recent-post-meta {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.recent-post-excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.product-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-thumb {
    height: 110px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 15px;
}

.product-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-title a {
    color: #333;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #D2691E;
}

/* ========================================
   7. Sidebar Styles
======================================== */

.sidebar {
    background: transparent;
    position: relative;
}

.sidebar .widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: #D2691E;
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #169B62;
    font-family: 'Playfair Display', serif;
}

/* Recent Posts in Sidebar */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.recent-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    color: #333;
}

.recent-post-date {
    font-size: 0.75rem;
    color: #999;
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #169B62;
    border-radius: 5px;
    font-size: 0.875rem;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #D2691E;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #169B62;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
}

/* Popular/Blog Posts Lists */
.popular-posts-list,
.blog-posts-list {
    list-style: none;
}

.popular-post-item,
.blog-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-post-item:last-child,
.blog-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-post-link,
.blog-post-link {
    display: flex;
    gap: 12px;
}

.popular-post-thumb,
.blog-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.popular-post-thumb img,
.blog-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.popular-post-content,
.blog-post-content {
    flex: 1;
}

.popular-post-title,
.blog-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.popular-post-date,
.blog-post-date {
    font-size: 0.75rem;
    color: #999;
}

/* Categories Widget */
.categories-list {
    list-style: none;
}

.categories-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-list a:hover {
    color: #D2691E;
}

.categories-list .count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Tags Widget */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-link {
    background: #169B62;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.813rem;
    transition: background 0.3s;
}

.tag-cloud-link:hover {
    background: #D2691E;
}

/* ========================================
   8. Footer Styles
======================================== */

.site-footer {
    background: #169B62;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #D2691E;
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 1;
    color: #D2691E;
}

.footer-newsletter {
    margin-top: 25px;
}

.footer-newsletter h5 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    background: #D2691E;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #B8860B;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.copyright {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* ========================================
   9. Single Post/Page Styles
======================================== */

.single-post,
.single-page {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    color: #333;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 15px;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
}

.entry-categories {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.entry-categories a {
    background: #169B62;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.813rem;
    transition: background 0.3s;
}

.entry-categories a:hover {
    background: #D2691E;
}

.post-thumbnail {
    margin-bottom: 30px;
}

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

.wp-caption-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #333;
    margin: 30px 0 20px;
    font-family: 'Playfair Display', serif;
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content h4 {
    font-size: 1.25rem;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #169B62;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.entry-tags {
    margin-bottom: 20px;
}

.tags-label {
    font-weight: 600;
    margin-right: 10px;
}

.social-share {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-label {
    font-weight: 600;
}

.social-share a {
    background: #169B62;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.social-share a:hover {
    background: #D2691E;
}

/* Author Bio */
.author-bio {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 25px;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.author-name a {
    color: #333;
}

.author-description {
    color: #666;
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    margin: 40px 0;
}

.related-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post {
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.related-post-thumb {
    height: 150px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    padding: 15px;
    line-height: 1.4;
}

.related-post-date {
    padding: 0 15px 15px;
    font-size: 0.813rem;
    color: #999;
}

/* ========================================
   10. Comments Styles
======================================== */

.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

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

.comment {
    margin-bottom: 30px;
}

.comment-body {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 600;
    color: #333;
}

.comment-metadata {
    font-size: 0.813rem;
    color: #999;
}

.comment-content {
    color: #666;
    line-height: 1.6;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    background: #169B62;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.813rem;
}

.comment-reply-link:hover {
    background: #D2691E;
}

/* Comment Form */
.comment-respond {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.comment-reply-title {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

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

.form-submit {
    margin: 0;
}

.submit {
    background: #169B62;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit:hover {
    background: #D2691E;
}

/* ========================================
   11. Responsive Design
======================================== */

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 991px) {
    .headlines-grid {
        grid-template-columns: 1fr;
    }
    
    .headlines-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 40px;
    }
    
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .main-navigation {
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
    }
    
    .main-menu.toggled {
        display: flex;
    }
    
    .main-menu li {
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
    
    .category-post {
        flex-direction: column;
    }
    
    .category-post-thumb {
        width: 100%;
    }
}

/* ========================================
   12. Utility Classes
======================================== */

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-icon img {
    width: 100%;
    height: auto;
}