/*
Theme Name: dds_madewithstella.com
Theme URI: https://madewithstella.com
Author: Илья Громов
Author URI: https://madewithstella.com
Description: Отраслевое информационно-образовательное медиа о киноиндустрии, видеопроизводстве и цифровых инструментах.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dds_madewithstella.com
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

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

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

body {
    background-color: #111115;
    color: #E6E9F0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

a {
    color: #E87A2A;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #f09050;
}

p {
    margin: 0 0 1.15em;
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
    color: #E6E9F0;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.6em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

ul, ol {
    margin: 0 0 1em 1.4em;
}

blockquote {
    border-left: 3px solid #E87A2A;
    padding: 0.8em 1.2em;
    margin: 1.2em 0;
    background: rgba(232,122,42,0.06);
    color: #B0B5C0;
    font-style: italic;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.2em 0;
}

th, td {
    border: 1px solid #2A2A30;
    padding: 0.6em 0.9em;
    text-align: left;
}

th {
    background: #1A1A1F;
    color: #E6E9F0;
    font-weight: 600;
}

td {
    color: #B0B5C0;
}

code, pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: #1A1A1F;
    border-radius: 4px;
}

code {
    padding: 0.15em 0.4em;
    font-size: 0.9em;
    color: #E87A2A;
}

pre {
    padding: 1.2em;
    overflow-x: auto;
    margin: 1.2em 0;
    border: 1px solid #2A2A30;
}

pre code {
    padding: 0;
    background: none;
}

/* === LAYOUT === */
.site-wrapper {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-area {
    display: flex;
    gap: 3%;
    align-items: flex-start;
}

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

.content-primary.has-sidebar {
    width: 67%;
    flex: 0 0 67%;
}

.content-primary.full-width {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
}

/* === HEADER === */
.site-header {
    background: #0D0D11;
    border-bottom: 1px solid #2A2A30;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

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

.brand-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    max-width: 45%;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.brand-logo-svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #E6E9F0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-desc {
    font-size: 0.68rem;
    color: #B0B5C0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-block a {
    color: inherit;
}

.brand-block a:hover {
    color: inherit;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #B0B5C0;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-list li a:hover,
.nav-list li.current-menu-item a,
.nav-list li.current_page_item a {
    color: #E6E9F0;
    background: rgba(232,122,42,0.1);
}

.burger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 200;
}

.burger-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #E6E9F0;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 1px;
}

.burger-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.82rem;
    color: #B0B5C0;
}

.breadcrumbs a {
    color: #B0B5C0;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #E87A2A;
}

.breadcrumbs .sep {
    margin: 0 0.45em;
    color: #555;
}

.breadcrumbs .current {
    color: #E6E9F0;
}

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: #1A1A1F;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2A2A30;
    transition: border-color 0.3s, transform 0.25s;
}

.card:hover {
    border-color: rgba(232,122,42,0.35);
    transform: translateY(-3px);
}

.card-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.card-thumb-wrap a {
    display: block;
}

.card-thumb-wrap img {
    width: 100%;
    aspect-ratio: 2.35 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-thumb-wrap img {
    transform: scale(1.04);
}

.card-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(17,17,21,0.85), transparent);
    pointer-events: none;
}

.card-thumb-tag {
    position: absolute;
    bottom: 0.6rem;
    left: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    background: rgba(232,122,42,0.85);
    color: #fff;
    z-index: 2;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.2rem 1.3rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #B0B5C0;
    margin-bottom: 0.6rem;
}

.card-meta-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-reading-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-reading-time .film-icon {
    width: 14px;
    height: 14px;
}

.reading-short { color: #4CAF50; }
.reading-medium { color: #E87A2A; }
.reading-long { color: #E84040; }

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.55rem;
}

.card-title a {
    color: #E6E9F0;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #E87A2A;
}

.card-excerpt {
    font-size: 0.85rem;
    color: #B0B5C0;
    line-height: 1.6;
    flex: 1;
}

.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.8rem;
}

.cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: #E6E9F0;
    background: rgba(42,111,143,0.3);
    border: 1px solid rgba(42,111,143,0.5);
    transition: background 0.2s;
}

.cat-badge:hover {
    background: rgba(42,111,143,0.45);
    color: #fff;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid #2A2A30;
}

.card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2A6F8F;
    transition: color 0.2s;
}

.card-read-more:hover {
    color: #E87A2A;
}

.card-read-more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.card-read-more:hover svg {
    transform: translateX(3px);
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #1E3B44;
    color: #E6E9F0;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #E87A2A;
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: transparent;
    color: #E6E9F0;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #2A6F8F;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(42,111,143,0.1);
}

/* === PAGINATION === */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 2.5rem 0 1.5rem;
}

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #B0B5C0;
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    border-radius: 2px;
    transition: all 0.2s;
    text-decoration: none;
}

.pagination-wrap a:hover {
    color: #E6E9F0;
    border-color: #E87A2A;
}

.pagination-wrap .current {
    color: #E6E9F0;
    border-bottom: 3px solid #E87A2A;
    background: #222228;
}

/* === SIDEBAR === */
.sidebar-area {
    width: 27%;
    flex: 0 0 27%;
}

.widget {
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    border-radius: 8px;
    padding: 1.3rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #E6E9F0;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #E87A2A;
}

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

.widget ul li {
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(42,42,48,0.6);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #B0B5C0;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: #E87A2A;
}

/* Pulse sidebar widget */
.pulse-widget {
    background: linear-gradient(135deg, #1A1A1F, #1E1E25);
}

.pulse-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #2A2A30;
}

.pulse-item:last-child {
    border-bottom: none;
}

.pulse-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42,111,143,0.2);
    border-radius: 6px;
    color: #2A6F8F;
}

.pulse-icon svg {
    width: 16px;
    height: 16px;
}

.pulse-label {
    font-size: 0.72rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-value {
    font-size: 0.84rem;
    color: #E6E9F0;
    font-weight: 500;
}

/* === FRONT PAGE SECTIONS === */
.front-section {
    padding: 3.5rem 0;
}

.front-section:nth-child(even) {
    background: rgba(26,26,31,0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #B0B5C0;
    font-size: 0.92rem;
    max-width: 640px;
    margin: 0 auto;
}

.accent-line {
    width: 50px;
    height: 3px;
    background: #E87A2A;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Hero section */
.hero-section {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(232,122,42,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    position: relative;
}

.hero-desc {
    color: #B0B5C0;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
}

/* Process bar */
.process-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 2rem auto;
    max-width: 750px;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #B0B5C0;
    position: relative;
}

.process-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2A6F8F;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-connector {
    width: 30px;
    height: 2px;
    background: #2A2A30;
    flex-shrink: 0;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: rgba(42,111,143,0.5);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232,122,42,0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    color: #E87A2A;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: #B0B5C0;
    line-height: 1.65;
}

/* Tool cards */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.3rem;
}

.tool-card {
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    border-radius: 8px;
    padding: 1.3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.3s;
}

.tool-card:hover {
    border-color: rgba(42,111,143,0.5);
}

.tool-icon-wrap {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42,111,143,0.15);
    border-radius: 8px;
    flex-shrink: 0;
    color: #2A6F8F;
}

.tool-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.tool-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.tool-info p {
    font-size: 0.8rem;
    color: #B0B5C0;
    margin-bottom: 0.5rem;
}

.tool-rating {
    display: flex;
    gap: 0.25rem;
}

.rating-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #2A6F8F;
}

.rating-dot.filled {
    background: #2A6F8F;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 3.5rem 0;
}

.cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.cta-section p {
    color: #B0B5C0;
    max-width: 550px;
    margin: 0 auto 1.5rem;
}

/* === SINGLE POST === */
.single-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2A2A30;
}

.single-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: #B0B5C0;
    align-items: center;
}

.single-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.single-content {
    font-size: 1rem;
    line-height: 1.8;
}

.single-content h2 {
    margin-top: 2rem;
}

.single-content h3 {
    margin-top: 1.5rem;
}

.single-content img {
    border-radius: 6px;
    margin: 1.2em 0;
}

.single-featured {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.single-featured img {
    width: 100%;
    aspect-ratio: 2.35 / 1;
    object-fit: cover;
    display: block;
}

.post-tags {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2A2A30;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.post-tags a {
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    background: rgba(42,111,143,0.15);
    border: 1px solid rgba(42,111,143,0.3);
    border-radius: 4px;
    color: #B0B5C0;
    transition: all 0.2s;
}

.post-tags a:hover {
    background: rgba(42,111,143,0.3);
    color: #E6E9F0;
}

/* Post navigation */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2A2A30;
}

.post-nav a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #B0B5C0;
    font-size: 0.85rem;
    max-width: 48%;
    transition: color 0.2s;
}

.post-nav a:hover {
    color: #E87A2A;
}

.post-nav .nav-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}

.post-nav .next-post {
    text-align: right;
    margin-left: auto;
}

/* === COMMENTS === */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2A2A30;
}

.comments-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

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

.comment-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(42,42,48,0.5);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

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

.comment-author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #E6E9F0;
}

.comment-date {
    font-size: 0.75rem;
    color: #666;
}

.comment-text {
    font-size: 0.88rem;
    color: #B0B5C0;
    line-height: 1.65;
}

.comment-text p {
    margin: 0 0 0.5em;
}

.comment-reply-link {
    font-size: 0.78rem;
    color: #2A6F8F;
    font-weight: 500;
}

.comment-reply-link:hover {
    color: #E87A2A;
}

.children {
    list-style: none;
    margin: 0;
    padding-left: 2rem;
}

/* Comment form */
.comment-respond {
    margin-top: 2rem;
}

.comment-respond h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-size: 0.82rem;
    color: #B0B5C0;
    margin-bottom: 0.3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: #111115;
    border: 1px solid #2A2A30;
    border-radius: 6px;
    color: #E6E9F0;
    font-size: 0.88rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2A6F8F;
}

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

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: #1E3B44;
    color: #E6E9F0;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s;
}

.comment-form .submit:hover {
    background: #E87A2A;
    color: #fff;
}

/* === SEARCH FORM === */
.search-form {
    display: flex;
    gap: 0;
    max-width: 500px;
}

.search-form .search-field {
    flex: 1;
    padding: 0.65rem 1rem;
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #E6E9F0;
    font-size: 0.9rem;
    font-family: inherit;
}

.search-form .search-field:focus {
    outline: none;
    border-color: #2A6F8F;
}

.search-form .search-submit {
    padding: 0.65rem 1.2rem;
    background: #1E3B44;
    color: #E6E9F0;
    border: 1px solid #1E3B44;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.25s;
}

.search-form .search-submit:hover {
    background: #E87A2A;
    border-color: #E87A2A;
}

/* === FOOTER === */
.site-footer {
    background: #0A0A0E;
    border-top: 1px solid #2A2A30;
    padding: 2.5rem 0 0;
    margin-top: auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-col .widget {
    background: transparent;
    border: none;
    padding: 0;
}

.footer-col .widget-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col .widget ul li a {
    font-size: 0.82rem;
}

.footer-credits {
    border-top: 1px solid #2A2A30;
    padding: 1.2rem 0;
    text-align: center;
}

.footer-credits-inner {
    font-size: 0.75rem;
    color: #555;
}

.footer-roles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    color: #444;
}

.footer-role {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.footer-role-title {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    color: #555;
}

.footer-role-name {
    color: #777;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1A1A1F;
    border-top: 1px solid #2A2A30;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-text {
    font-size: 0.82rem;
    color: #B0B5C0;
    max-width: 600px;
}

.cookie-accept {
    padding: 0.5rem 1.4rem;
    background: #E87A2A;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.cookie-accept:hover {
    background: #d06a20;
}

/* === 404 === */
.error-page {
    text-align: center;
    padding: 4rem 0;
}

.error-page h1 {
    font-size: 5rem;
    color: #E87A2A;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.error-page h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.error-page p {
    color: #B0B5C0;
    margin-bottom: 2rem;
}

.error-page .search-form {
    margin: 0 auto 2rem;
}

/* === PAGE HEADER === */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2A2A30;
}

.page-header h1 {
    font-size: 1.8rem;
}

.page-header .archive-desc {
    color: #B0B5C0;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .content-area {
        flex-direction: column;
    }

    .content-primary.has-sidebar,
    .sidebar-area {
        width: 100%;
        flex: none;
    }

    .content-primary.full-width {
        max-width: 100%;
        width: 100%;
    }

    .container-wide {
        max-width: 100%;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .brand-block {
        max-width: 70%;
    }

    .burger-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #2A2A30;
    }

    .process-bar {
        flex-direction: column;
        gap: 0.4rem;
    }

    .process-connector {
        width: 2px;
        height: 16px;
    }

    h1 { font-size: 1.6rem; }
    .hero-title { font-size: 1.7rem; }
}

@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }

    .card-thumb-wrap a {
        position: static;
    }

    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .brand-block {
        max-width: 85%;
    }

    .brand-desc {
        display: none;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .post-nav {
        flex-direction: column;
    }

    .post-nav a {
        max-width: 100%;
    }

    .post-nav .next-post {
        text-align: left;
    }

    .single-featured img {
        aspect-ratio: 16 / 9;
    }
}
