/*
Theme Name: Marqzy News Pro
Theme URI: https://marqzy.in/
Author: Marqzy
Author URI: https://marqzy.in/
Description: Premium, performance-first WordPress news theme for Marqzy — Strategic Global Trade Intelligence.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marqzy-news-pro
Tags: news, blog, responsive, accessibility-ready, custom-logo, custom-background, custom-menu, featured-images, threaded-comments
*/

@charset "UTF-8";

:root {
    --mq-bg: #f7f8fa;
    --mq-surface: #ffffff;
    --mq-surface-2: #eef1f4;
    --mq-text: #171a1f;
    --mq-muted: #4b5563;
    --mq-border: #d7dce2;
    --mq-gold: #b8860b;
    --mq-gold-bright: #d6a62a;
    --mq-navy: #101a2c;
    --mq-red: #b42318;
    --mq-green: #067647;
    --mq-shadow: 0 8px 30px rgba(16, 26, 44, .08);
    --mq-radius: 12px;
    --mq-container: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--mq-bg);
}

body {
    margin: 0;
    background: var(--mq-bg);
    color: var(--mq-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: #7a5a00;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: #4f3b00;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #1d70b8;
    outline-offset: 2px;
}

.skip-link {
    position: fixed;
    z-index: 100000;
    top: -60px;
    left: 12px;
    padding: 12px 16px;
    color: #fff;
    background: var(--mq-navy);
    text-decoration: none;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}

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

.mq-site {
    min-width: 0;
    overflow-x: clip;
}

.mq-container {
    width: min(calc(100% - 32px), var(--mq-container));
    margin-inline: auto;
}

.mq-main {
    padding-block: 28px 52px;
}

.mq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.mq-section-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 0 14px;
    color: #725300;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mq-section-label::before {
    width: 18px;
    height: 3px;
    margin-right: 8px;
    background: var(--mq-gold);
    content: "";
}

.mq-post-card {
    min-width: 0;
    background: var(--mq-surface);
    border: 1px solid var(--mq-border);
    border-radius: var(--mq-radius);
    overflow: hidden;
    box-shadow: var(--mq-shadow);
}

.mq-post-card__body {
    padding: 20px;
}

.mq-post-card__title {
    margin: 0 0 8px;
    color: var(--mq-text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.mq-post-card__title a {
    color: inherit;
    text-decoration: none;
}

.mq-post-card__title a:hover {
    color: #7a5a00;
}

.mq-post-card__excerpt {
    margin: 10px 0 0;
    color: var(--mq-muted);
}

.mq-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0;
    color: #4b5563;
    font-size: .84rem;
    line-height: 1.5;
}

.mq-entry-meta a {
    color: #4b5563;
}

.mq-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mq-post-grid .mq-post-card:first-child {
    grid-column: span 2;
}

.mq-post-card--lead .mq-post-card__title {
    font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.mq-thumb-link {
    display: block;
    text-decoration: none;
}

.mq-thumb-link img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #dfe4e9;
}

.mq-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.mq-pagination a,
.mq-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 8px 14px;
    border: 1px solid var(--mq-border);
    border-radius: 8px;
    background: var(--mq-surface);
    color: var(--mq-text);
    text-decoration: none;
}

.mq-pagination .current {
    background: var(--mq-navy);
    color: #fff;
    border-color: var(--mq-navy);
}

.mq-widget-area {
    min-width: 0;
}

.mq-widget {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--mq-surface);
    border: 1px solid var(--mq-border);
    border-radius: var(--mq-radius);
}

.mq-widget-title,
.mq-footer-widget-title {
    margin: 0 0 14px;
    color: var(--mq-text);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
}

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

.mq-widget li + li,
.mq-footer-widget li + li {
    border-top: 1px solid var(--mq-border);
}

.mq-widget a,
.mq-footer-widget a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
    color: var(--mq-text);
    line-height: 1.4;
    text-decoration: none;
}

.mq-widget a:hover,
.mq-footer-widget a:hover {
    color: #7a5a00;
}

.mq-archive-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--mq-text);
}

.mq-archive-title {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.mq-empty {
    padding: 28px;
    background: var(--mq-surface);
    border: 1px solid var(--mq-border);
    border-radius: var(--mq-radius);
}

.mq-empty h2 {
    margin-top: 0;
}

.mq-search-form {
    display: flex;
    gap: 8px;
}

.mq-search-form label {
    flex: 1 1 auto;
}

.mq-search-form input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #9aa4af;
    border-radius: 8px;
    background: var(--mq-surface);
    color: var(--mq-text);
}

.mq-search-form button {
    min-width: 48px;
    min-height: 48px;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--mq-navy);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.mq-single {
    min-width: 0;
}

.mq-single__header {
    margin-bottom: 22px;
}

.mq-single__title {
    margin: 8px 0 14px;
    color: var(--mq-text);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.mq-single__hero {
    margin: 0 0 26px;
}

.mq-single__hero img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: var(--mq-radius);
}

.mq-single__content {
    max-width: 780px;
    color: #20252b;
    font-size: 1.08rem;
}

.mq-single__content > :first-child {
    margin-top: 0;
}

.mq-single__content h2 {
    margin-top: 2.1em;
    color: var(--mq-text);
    font-size: 1.65rem;
    line-height: 1.2;
}

.mq-single__content h3 {
    margin-top: 1.8em;
    color: var(--mq-text);
    font-size: 1.3rem;
}

.mq-single__content p,
.mq-single__content ul,
.mq-single__content ol,
.mq-single__content blockquote,
.mq-single__content figure,
.mq-single__content table,
.mq-single__content pre {
    margin-block: 1.15em;
}

.mq-single__content blockquote {
    margin-inline: 0;
    padding: 12px 20px;
    border-left: 4px solid var(--mq-gold);
    background: var(--mq-surface-2);
    color: #252b33;
}

.mq-single__content a {
    color: #6a4f00;
    font-weight: 600;
}

.mq-single__content table {
    width: 100%;
    border-collapse: collapse;
}

.mq-single__content th,
.mq-single__content td {
    padding: 10px;
    border: 1px solid var(--mq-border);
    text-align: left;
}

.mq-single__content pre {
    max-width: 100%;
    overflow: auto;
    padding: 16px;
    border-radius: 8px;
    background: #111827;
    color: #f9fafb;
}

.mq-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.mq-post-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 14px;
    border: 1px solid var(--mq-border);
    border-radius: 999px;
    background: var(--mq-surface);
    color: var(--mq-text);
    text-decoration: none;
}

.mq-related {
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--mq-border);
}

.mq-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mq-related-card {
    min-width: 0;
}

.mq-related-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.mq-related-card a {
    display: block;
    color: var(--mq-text);
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.mq-comments {
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--mq-border);
}

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

.comment-list .comment {
    margin-bottom: 18px;
    padding: 18px;
    background: var(--mq-surface);
    border: 1px solid var(--mq-border);
    border-radius: 10px;
}

.comment-meta {
    font-size: .86rem;
}

.comment-content {
    color: #252b33;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #9aa4af;
    border-radius: 8px;
    background: var(--mq-surface);
    color: var(--mq-text);
}

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

.comment-form .submit {
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--mq-navy);
    color: #fff;
    font-weight: 700;
}

.mq-footer {
    margin-top: 40px;
    background: var(--mq-navy);
    color: #f4f6f8;
}

.mq-footer a {
    color: #f4f6f8;
}

.mq-footer a:hover {
    color: #f0c75e;
}

.mq-footer__inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
    padding-block: 46px;
}

.mq-footer-widget {
    min-width: 0;
}

.mq-footer-widget-title {
    color: #fff;
}

.mq-footer__brand h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.6rem;
}

.mq-footer__brand p {
    margin: 0;
    color: #d6dbe2;
}

.mq-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.2);
}

.mq-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    color: #d6dbe2;
    font-size: .9rem;
}

.mq-footer__bottom-inner a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
}

.aligncenter {
    margin-inline: auto;
}

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

.wp-caption-text {
    color: #4b5563;
    font-size: .85rem;
}

.sticky {
    position: relative;
}

.bypostauthor {}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 900px) {
    .mq-grid {
        grid-template-columns: 1fr;
    }

    .mq-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mq-container {
        width: min(calc(100% - 24px), var(--mq-container));
    }

    .mq-main {
        padding-block: 20px 40px;
    }

    .mq-post-grid,
    .mq-related__grid {
        grid-template-columns: 1fr;
    }

    .mq-post-grid .mq-post-card:first-child {
        grid-column: auto;
    }

    .mq-post-card__body {
        padding: 16px;
    }

    .mq-single__title {
        font-size: clamp(1.85rem, 9vw, 2.7rem);
    }

    .mq-single__content {
        font-size: 1rem;
    }

    .mq-footer__inner {
        grid-template-columns: 1fr;
        padding-block: 34px;
    }

    .mq-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 12px;
    }
}
