/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #222;
    color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

ul {
    list-style: none;
}

/* ===== VARIABLES ===== */
:root {
    --color-red-500: #ec1c24;
    --color-red-700: #990000;
    --color-red-900: #68181e;
    --color-gray-100: #fafafa;
    --color-gray-300: #f2f2f2;
    --color-gray-500: #a8a8a8;
    --color-gray-700: #6e6e6e;
    --color-gray-800: #333;
    --color-gray-900: #222;
    --color-black: #000;
    --color-white: #fff;
    --color-bg: #222;
    --color-bg-light: #2e2e2e;
    --color-text: #f5f5f5;
    --color-text-secondary: #a8a8a8;
    --color-border: #333;
    --container-width: 1374px;
    --container-small-width: 1188px;
    --font-primary: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body:not(.dark-mode) {
    --color-bg: #fff;
    --color-bg-light: #f2f2f2;
    --color-text: #222;
    --color-text-secondary: #6e6e6e;
    --color-border: #e9e9e9;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container-small {
    max-width: var(--container-small-width);
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== GRID SYSTEM ===== */
.d-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.grid-mob-bg {
    flex-direction: column;
}

.grid-col-lg-2 > * {
    flex: 1 1 calc(50% - 8px);
    min-width: 280px;
}

.grid-col-lg-3 > * {
    flex: 1 1 calc(33.333% - 11px);
    min-width: 250px;
}

.grid-col-lg-4 > * {
    flex: 1 1 calc(25% - 12px);
    min-width: 240px;
}

.grid-col-8 {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 16px;
    padding-bottom: 8px;
}

/* ===== UTILITY ===== */
.d-none { display: none; }
.d-lg-block { display: block; }
.d-lg-flex { display: flex; }
.d-lg-none { display: block; }

@media (min-width: 992px) {
    .d-none { display: none; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-none { display: none !important; }
}

.mb-24 { margin-bottom: 24px; }
.mb-lg-32 { margin-bottom: 32px; }
.mt-8 { margin-top: 8px; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.nav-up {
    transform: translateY(-100%);
}

.header-top {
    background: linear-gradient(129.58deg, var(--color-red-700) 1.26%, var(--color-red-900) 100%);
    padding: 12px 0;
}

.header-top .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.btn-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

.btn-hamburger svg path {
    stroke: var(--color-white);
}

.logo {
    flex-shrink: 0;
}

.logo img {
    border-radius: 0;
}

.header-search-mobile form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search-mobile .input-search {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--color-white);
    font-size: 14px;
    width: 140px;
}

.header-search-mobile .input-search::placeholder {
    color: rgba(255,255,255,0.6);
}

.btn-search {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Header Bottom */
.header-bot {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.header-bot .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-featured-menu {
    flex: 1;
    overflow: hidden;
}

.menu-links ul {
    display: flex;
    gap: 24px;
    padding: 12px 0;
}

.menu-links ul li a {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.menu-links ul li a:hover {
    color: var(--color-red-500);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search form {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search .input-search {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 6px 32px 6px 12px;
    color: var(--color-text);
    font-size: 13px;
    width: 160px;
}

.header-search .input-search::placeholder {
    color: var(--color-text-secondary);
}

.header-search .search-icon {
    position: absolute;
    right: 32px;
    pointer-events: none;
}

.header-search .btn-search {
    position: absolute;
    right: 6px;
}

.header-search .btn-search svg path {
    stroke: var(--color-text-secondary);
}

.dark-light-toggle {
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
}

.sidebar.is-open {
    pointer-events: all;
}

.sidebar-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.sidebar-background.is-open {
    opacity: 0.4;
}

.sidebar .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 375px;
    max-width: 85vw;
    height: 100%;
    background: var(--color-bg);
    z-index: 999;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.sidebar.is-open .menu {
    left: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(129.58deg, var(--color-red-700) 1.26%, var(--color-red-900) 100%);
}

.menu-header img {
    border-radius: 0;
}

.menu-header .btn-toggle-menu {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-content {
    padding: 16px 0;
}

.menu-cascade ul li {
    position: relative;
}

.menu-cascade > ul > li > a,
.menu-cascade > ul > li > span {
    display: block;
    padding: 12px 24px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-cascade > ul > li > a:hover,
.menu-cascade > ul > li > span:hover {
    background: var(--color-bg-light);
}

.subitems {
    position: fixed;
    top: 0;
    left: -100%;
    width: 375px;
    max-width: 85vw;
    height: 100%;
    background: var(--color-bg);
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding-top: 60px;
}

.subitems.is-open {
    left: 0;
}

.subitems button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 24px;
    background: var(--color-bg-light);
    border: none;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.subitems ul li a {
    display: block;
    padding: 12px 24px;
    color: var(--color-text);
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

.subitems ul li a:hover {
    background: var(--color-bg-light);
}

/* ===== HOMEPAGE SECTIONS ===== */
main.page-home {
    margin-top: 96px;
}

/* Highlight Section */
.section-highlight-1 {
    position: relative;
    padding: 24px 0;
    background: var(--color-bg);
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
    z-index: 0;
}

.section-highlight-1 .container {
    position: relative;
    z-index: 1;
}

/* Feed Cards */
.feed {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.2s;
}

.feed:hover {
    transform: translateY(-2px);
}

.feed a {
    display: block;
    position: relative;
}

.feed-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feed:hover .feed-image img {
    transform: scale(1.05);
}

.feed-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.post-comments {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: var(--color-white);
    font-size: 13px;
    z-index: 2;
}

/* Feed 1 (Large Featured) */
.feed-1 .feed-image {
    height: 423px;
}

.feed-1 .feed-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.feed-1 .feed-title {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

/* Feed 2 (Medium) */
.feed-2 .feed-image {
    height: 277px;
}

.feed-2 .feed-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
}

.feed-2 .feed-title {
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

/* Feed Hat */
.feed-hat.hat {
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Most Read Section */
.section-most-read {
    padding: 32px 0;
    background: var(--color-bg-light);
}

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

.heading .section {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    position: relative;
    padding-left: 16px;
}

.heading .section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--color-red-500);
    border-radius: 2px;
}

.btn-veja-mais {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-red-500);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.btn-veja-mais:hover {
    opacity: 0.8;
}

.btn-veja-mais svg path {
    stroke: var(--color-red-500);
}

/* Author Cards */
.feed-3-mais-lidas {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
}

.feed-3-mais-lidas .feed-image {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    margin: 0 auto 12px;
}

.feed-3-mais-lidas .feed-image img {
    border-radius: 50%;
}

.feed-3-mais-lidas .feed-content {
    text-align: center;
}

.feed-3-mais-lidas .feed-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

/* Latest Content Section */
.section-last-contents {
    padding: 40px 0;
    background: var(--color-bg);
}

/* Feed 3 (Small Cards) */
.feed-3-list-tags .feed-image {
    height: 204px;
}

.feed-3-list-tags .feed-content {
    padding: 12px 0;
}

.feed-3-list-tags .line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.feed-3-list-tags .feed-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.tag-g-orange { background: #f97316; }
.tag-g-green-light { background: #22c55e; }
.tag-g-gray { background: #6b7280; }
.tag-g-black { background: #111; }
.tag-g-blue { background: #3b82f6; }
.tag-g-red { background: var(--color-red-500); }
.tag-g-yellow { background: #eab308; }

/* Category Sections */
.section-category {
    padding: 32px 0;
    background: var(--color-bg);
}

.section-category:nth-child(odd) {
    background: var(--color-bg-light);
}

/* ===== SINGLE POST ===== */
.page-single {
    margin-top: 96px;
    padding: 40px 0;
    background: var(--color-bg);
}

.post-header {
    margin-bottom: 32px;
}

.post-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin: 16px 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.post-meta a {
    color: var(--color-red-500);
}

.post-meta a:hover {
    text-decoration: underline;
}

.post-comments-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-comments-count svg path {
    fill: var(--color-text-secondary);
}

.post-featured-image {
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
}

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

.post-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 28px 0 16px;
    color: var(--color-text);
}

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

.post-content a {
    color: var(--color-red-500);
    text-decoration: underline;
}

.post-content img {
    border-radius: 8px;
    margin: 24px 0;
}

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

.post-content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.post-content ol li {
    list-style: decimal;
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--color-red-500);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.post-tags {
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--color-text);
}

.post-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-bg-light);
    color: var(--color-text);
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.2s;
}

.post-tags a:hover {
    background: var(--color-red-500);
    color: var(--color-white);
}

.post-share {
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.share-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.85;
    color: var(--color-white);
}

.share-facebook { background: #4a68a8; }
.share-twitter { background: #000; }
.share-whatsapp { background: #008738; }

.post-author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg-light);
    border-radius: 8px;
    margin: 32px 0;
}

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

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.author-name a {
    color: var(--color-text);
}

.author-bio {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== COMMENTS ===== */
.comments-area {
    margin-top: 40px;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text);
}

.comment-list {
    margin-bottom: 32px;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

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

.comment-author .fn {
    font-weight: 600;
    color: var(--color-text);
}

.comment-metadata {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.comment-content {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
}

.reply a {
    color: var(--color-red-500);
    font-size: 13px;
    font-weight: 600;
}

/* ===== ARCHIVE / SEARCH / 404 ===== */
.page-archive,
.page-search,
.page-default {
    margin-top: 96px;
    padding: 40px 0;
    background: var(--color-bg);
    min-height: 60vh;
}

.archive-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
}

.archive-description {
    color: var(--color-text-secondary);
    margin-top: 8px;
    font-size: 15px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    font-size: 14px;
    transition: all 0.2s;
}

.pagination .page-numbers.current {
    background: var(--color-red-500);
    color: var(--color-white);
    border-color: var(--color-red-500);
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--color-red-500);
    color: var(--color-red-500);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-secondary);
    font-size: 16px;
}

.error-404-content {
    text-align: center;
    padding: 80px 20px;
}

.error-title {
    font-size: 120px;
    font-weight: 800;
    color: var(--color-red-500);
    line-height: 1;
    margin-bottom: 16px;
}

.error-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.error-description {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.btn-back-home {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-red-500);
    color: var(--color-white);
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s;
}

.btn-back-home:hover {
    opacity: 0.85;
    color: var(--color-white);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 24px auto 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
}

.search-form input[type="submit"] {
    padding: 10px 20px;
    background: var(--color-red-500);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 48px 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand .logo img {
    border-radius: 0;
}

.footer-description {
    margin-top: 12px;
    color: #a8a8a8;
    font-size: 14px;
    max-width: 400px;
}

.footer-social-title {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 15px;
}

.social-networks-list {
    display: flex;
    gap: 12px;
}

.social-networks-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    transition: background 0.2s;
}

.social-networks-item a:hover {
    background: var(--color-red-500);
}

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

@media (max-width: 991px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget ul li a {
    color: #a8a8a8;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-widget ul li a:hover {
    color: var(--color-red-500);
}

/* Footer Nav Menu */
.nav-menu {
    margin-bottom: 24px;
}

.nav-menu .menu-desk > ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nav-menu .menu-desk > ul > li > a,
.nav-menu .menu-desk > ul > li > span {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--color-white);
}

.nav-menu .menu-desk ul ul li {
    margin-bottom: 8px;
}

.nav-menu .menu-desk ul ul li a {
    color: #a8a8a8;
    font-size: 13px;
    transition: color 0.2s;
}

.nav-menu .menu-desk ul ul li a:hover {
    color: var(--color-red-500);
}

/* Footer Bottom */
.footer-bot {
    padding-top: 24px;
    border-top: 1px solid #333;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sub-footer {
    color: #6e6e6e;
    font-size: 13px;
}

.footer-bottom-left .menu-menu-obrigatorias-container ul {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-left .menu-menu-obrigatorias-container ul li a {
    color: #6e6e6e;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-bottom-left .menu-menu-obrigatorias-container ul li a:hover {
    color: var(--color-red-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .d-lg-none {
        display: block !important;
    }

    .grid-col-lg-2 > *,
    .grid-col-lg-3 > *,
    .grid-col-lg-4 > * {
        flex: 1 1 calc(50% - 8px);
        min-width: 200px;
    }

    .feed-1 .feed-image {
        height: 280px;
    }

    .feed-2 .feed-image {
        height: 200px;
    }

    .post-title {
        font-size: 28px;
    }

    main.page-home {
        margin-top: 80px;
    }

    .nav-menu .menu-desk > ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .grid-col-lg-2 > *,
    .grid-col-lg-3 > *,
    .grid-col-lg-4 > * {
        flex: 1 1 100%;
        min-width: auto;
    }

    .feed-2-mob-small .feed-image {
        height: 200px;
    }

    .feed-3-list-tags-mob-small .feed-image {
        height: 180px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-menu .menu-desk > ul {
        grid-template-columns: 1fr;
    }

    .error-title {
        font-size: 80px;
    }

    main.page-home {
        margin-top: 72px;
    }
}

/* ===== WORDPRESS CORE ALIGNMENT ===== */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 24px;
    margin-bottom: 16px;
}

.alignright {
    float: right;
    margin-left: 24px;
    margin-bottom: 16px;
}

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

.wp-caption-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 8px;
}

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

/* ===== COMMENTS FORM ===== */
.comment-respond {
    margin-top: 32px;
}

.comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
}

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

.comment-form input[type="submit"] {
    padding: 12px 28px;
    background: var(--color-red-500);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.comment-form input[type="submit"]:hover {
    opacity: 0.85;
}
