/*
Theme Name: Webdeyazilim
Theme URI: https://webdeyazilim.com
Author: Webdeyazilim
Author URI: https://webdeyazilim.com
Description: Hız ve performans odaklı, temiz kod yapısına sahip özel tema.
Version: 1.0.0
Text Domain: webdeyazilim
*/

/* Reset & Base */
:root {
    /* DEFAULT DARK MODE */
    --primary-color: #F0A500;
    --secondary-color: #ffffff;
    --accent-color: #CF7500;
    --text-color: #e0e0e0;
    --bg-color: #0a0a0a;
    --card-bg: #151515;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-bg: #000000;
    --header-text: #ffffff;
    --footer-bg: #000000;
    --footer-text: #ffffff;
    --input-bg: #222222;
    --input-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0,0,0,0.5);
    --meta-color: #aaaaaa;
    --container-width: 1200px;
}

body.light-mode {
    --primary-color: #F0A500;
    --secondary-color: #000000;
    --text-color: #333333;
    --bg-color: #F4F4F4;
    --card-bg: #ffffff;
    --border-color: #e1e8ed;
    --header-bg: #f8f8f8;
    --header-text: #0a0a0a;
    --input-bg: #ffffff;
    --input-border: #dddddd;
    --shadow-color: rgba(0,0,0,0.05);
    --meta-color: #999999;
}

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

html {
    background-color: var(--bg-color);
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
    max-width: 100%;
    overflow-x: clip; /* hidden yerine clip: scroll container oluşturmaz, sticky çalışır */
}

a { text-decoration: none; color: var(--primary-color); transition: color 0.2s; }
a:hover { color: var(--accent-color); }

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

/* Modern Comment Styles */
/* Sponsor Image Border */
.sponsor-item img {
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

/* Dark Mode Overrides for Specific Elements if needed */
body:not(.light-mode) .sponsor-item img {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.comments-area {
    margin-top: 40px;
    background: var(--card-bg); /* Was #fff */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px var(--shadow-color);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color); /* Was #f0f0f0 */
}

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

.comment-list li.comment {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color); /* Was #f0f0f0 */
    padding-bottom: 30px;
}

.comment-list li.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-body {
    position: relative;
}

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

.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.comment-meta {
    display: flex;
    flex-direction: column;
}

.comment-meta cite {
    font-style: normal;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color); /* Was #333 */
}

.comment-meta .comment-date {
    font-size: 0.85rem;
    color: var(--meta-color); /* Was #999 */
}

.comment-content {
    margin-left: 65px;
    color: var(--text-color); /* Was #555 */
    line-height: 1.7;
}

.comment-rating {
    font-size: 0.9rem;
}

.reply {
    margin-left: 65px;
    margin-top: 10px;
}

.reply a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    background: var(--bg-color); /* Was #f9f9f9, chose bg-color to differentiate from card-bg of comments-area if nested, or just match page bg */
    padding: 30px;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: block;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color); /* Was #444 */
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--input-border); /* Was #ddd */
    border-radius: 4px;
    background: var(--input-bg); /* Was #fff */
    transition: border-color 0.3s;
    color: var(--text-color);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-submit {
    margin-bottom: 0;
}

.submit.btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.submit.btn:hover {
    background: var(--accent-color);
}

/* Mobile Search Fix */
@media (max-width: 768px) {
    .mobile-firma-search {
        order: -1;
        margin-bottom: 20px;
    }
    
    .comment-content, .reply {
        margin-left: 0;
    }
    
    .comment-author img {
        width: 40px;
        height: 40px;
    }
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.site-header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

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

.site-logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--header-text);
    text-transform: lowercase;
}

/* Navigation */
.main-navigation {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-navigation > ul > li > a {
    color: var(--header-text);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Dropdown Menus */
.main-navigation ul li {
    position: relative;
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-direction: column;
    min-width: 220px;
    padding: 10px 0;
    z-index: 999;
    border-radius: 4px;
    gap: 0;
}

.main-navigation ul li:hover > ul {
    display: flex;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

.main-navigation ul ul a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* Arrow for items with children */
.menu-item-has-children > a::after {
    content: '\f078'; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 10px;
    vertical-align: middle;
}

/* All Web Tools Page Template */
.all-web-tools-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.web-tool-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.web-tool-list-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color, #F0A500);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tool-list-content {
    flex: 1;
}

.tool-list-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color, #333);
}

.web-tool-list-item:hover .tool-list-title {
    color: var(--primary-color, #F0A500);
}

.tool-list-arrow {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.web-tool-list-item:hover .tool-list-arrow {
    color: var(--primary-color, #F0A500);
}

/* Layout — iki sütun flex yapı */
:root {
    --wd-scroll-balance-offset: 100px; /* JS tarafından header yüksekliğine güncellenir */
}

.site-content {
    display: flex;
    gap: 40px;
    padding: 24px 0 32px 0;
    background-color: var(--bg-color);
    min-height: 100vh;
    align-items: flex-start; /* sticky için zorunlu */
}

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

/* ── Sidebar global sticky ──────────────────────────────── */
.sidebar-area {
    width: 320px;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: var(--wd-scroll-balance-offset, 100px);
    height: fit-content;
}

/* Mobil: sticky kaldır, tam genişlik */
@media (max-width: 768px) {
    .site-content {
        flex-direction: column;
    }

    .sidebar-area {
        width: 100%;
        position: static;
    }
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid #F0A500;
    padding: 40px 0;
    margin-top: 15px;
    text-align: center;
    color: var(--footer-text);
    transition: background-color 0.3s;
    position: relative;
    overflow: hidden;
}

/* Footer Polygon Animation Canvas */
.footer-polygon-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-widgets {
    padding: 0;
    text-align: left;
}

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

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

.footer-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F0A500;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

body.light-mode .footer-widget-title {
    color: #d97706;
    border-bottom: 2px solid #ddd;
}

.footer-posts-list,
.footer-sectors-list,
.footer-tools-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-posts-list li,
.footer-sectors-list li,
.footer-tools-list li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-posts-list a,
.footer-sectors-list a,
.footer-tools-list a,
.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

body.light-mode .footer-posts-list a,
body.light-mode .footer-sectors-list a,
body.light-mode .footer-tools-list a,
body.light-mode .footer-links a {
    color: #333;
}

.footer-posts-list a:hover,
.footer-sectors-list a:hover,
.footer-tools-list a:hover,
.footer-links a:hover {
    color: #F0A500;
    padding-left: 5px;
}

.footer-view-all {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #F0A500;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

body.light-mode .footer-view-all {
    color: #d97706;
}

.footer-view-all:hover {
    color: #fff;
    padding-left: 5px;
}

body.light-mode .footer-view-all:hover {
    color: #b45309;
}

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

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 20px;
    text-align: left;
}

body.light-mode .footer-about-text {
    color: #555;
}

body.light-mode .footer-widget-title {
    color: #d97706;
    border-bottom: 2px solid #ddd;
}

body.light-mode .site-info {
    color: #666;
    border-top: 1px solid #ddd;
}

body.light-mode .copyright {
    color: #666;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #F0A500;
    text-decoration: none;
    display: inline-block;
}

.footer-logo-img {
    max-width: 500px;
    max-height: 160px;
    width: auto;
    height: auto;
    display: block;
    margin: 0;
    object-fit: contain;
}

.footer-logo-dark {
    display: block;
}

.footer-logo-light {
    display: none;
}

body.light-mode .footer-logo-dark {
    display: none;
}

body.light-mode .footer-logo-light {
    display: block;
}

.footer-links {
    margin-top: 15px;
}

.site-info {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
}

@media (max-width: 992px) {
    .footer-widget-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-widget-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    margin-bottom: 10px;
    background: var(--input-bg);
    color: var(--text-color);
    transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.2);
}

table {
    background: var(--card-bg);
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

th {
    background: var(--bg-color);
    color: var(--secondary-color);
    font-weight: 600;
}

code, pre {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--text-color);
}

code {
    padding: 2px 6px;
    font-size: 0.9em;
}

pre {
    padding: 15px;
    overflow-x: auto;
    line-height: 1.5;
}

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

button, .button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

button:hover, .button:hover {
    background: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .site-content { flex-direction: column; }
    .sidebar-area { width: 100%; }
    /* .main-navigation { display: none; } Removed for mobile menu implementation */
    .nq-sidebar-sponsors { display: none; }
}

/* Web Tools Styles */
.tool-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px var(--shadow-color);
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
}

.tool-header h1 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.tool-header p {
    color: var(--meta-color);
}

.tool-form {
    margin-bottom: 30px;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
}

.tool-form .form-group {
    margin-bottom: 20px;
}

.tool-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.tool-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.tool-btn:hover {
    background: var(--accent-color);
}

.tool-alert {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: 500;
}

.tool-alert-success {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.tool-alert-warning {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.tool-alert-error {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.tool-result-box {
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    background: var(--card-bg);
    color: var(--text-color);
}

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

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

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

.tool-list a {
    font-weight: 500;
}

/* Enhanced Tool Styles */
.tool-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header h1 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.tool-header p {
    font-size: 1.1rem;
    color: var(--meta-color);
    max-width: 600px;
    margin: 0 auto;
}

.tool-form {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.tool-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--card-bg);
    color: var(--text-color);
}

.tool-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.1);
}

.tool-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 165, 0, 0.3);
}

.tool-result-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.tool-list strong {
    color: var(--secondary-color);
}

/* Loading Spinner */
.tool-loading {
    display: none;
    text-align: center;
    padding: 20px;
    color: var(--primary-color);
}

.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10; /* Low z-index, menu won't cover it */
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--header-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* CONFLICTING MOBILE MENU STYLES MOVED TO HEADER.PHP */

/* Hide mobile logo on desktop */
.mobile-menu-logo {
    display: none;
}
@media (max-width: 768px) {
    .mobile-menu-logo {
        display: block;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent; 
}
::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}

/* Front Page Redesign */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    border: none;
    padding: 0;
}

.section-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.section-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.featured-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.featured-tool-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    display: block;
    text-decoration: none;
}

.featured-tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.featured-tool-icon {
    width: 70px;
    height: 70px;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.featured-tool-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.featured-tool-desc {
    font-size: 0.9rem;
    color: var(--meta-color);
    line-height: 1.5;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.blog-thumb {
    height: 200px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

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

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--meta-color);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--secondary-color);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Ensure tool tags active state is correct */
.tool-tag.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Front Page Hero & Tools Grid */
.web-tools-hero {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-color);
}

.tools-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.tools-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.tools-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.tools-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.tools-search-input {
    width: 100%;
    padding: 20px 20px 20px 50px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1.1rem;
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s;
}

.tools-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px rgba(240, 165, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--meta-color);
    font-size: 1.2rem;
}

.tools-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-tag {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s;
}

.tool-tag:hover, .tool-tag.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.web-tools-grid-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.web-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.tool-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.tool-info {
    flex: 1;
    text-align: left;
}

.tool-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--meta-color);
    display: block;
    line-height: 1.4;
}

.tool-arrow {
    color: var(--border-color);
    transition: 0.3s;
}

.tool-card:hover .tool-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Recent Posts Section */
.recent-posts-section {
    padding: 60px 20px;
    background: var(--card-bg);
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

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

.recent-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.recent-posts-list a {
    color: var(--text-color);
    font-weight: 500;
    transition: 0.2s;
    display: block;
}

.recent-posts-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}



/* Single Post Styles */
.single-post-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.single-post-main {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    overflow: hidden;
    padding: 40px;
}

.single-post-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.entry-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--meta-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary-color);
}

.single-post-thumbnail {
    margin: 30px -40px;
    max-height: 500px;
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-share {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.share-btn.twitter { background: #1DA1F2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25D366; }

.single-post-content,
.entry-content,
.entry-summary,
.archive-post-content .entry-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    background: transparent;
}

.single-post-content h1,
.single-post-content h2, 
.single-post-content h3, 
.single-post-content h4,
.single-post-content h5,
.single-post-content h6,
.entry-content h1,
.entry-content h2, 
.entry-content h3, 
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.single-post-content p,
.entry-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.single-post-content ul, 
.single-post-content ol,
.entry-content ul, 
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-color);
}

.single-post-content li,
.entry-content li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.single-post-content blockquote,
.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0 8px 8px 0;
}

/* Enhanced Blog Content Areas */
.single-post-main,
.entry-content,
.archive-post-card,
.blog-card {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
}

/* AI News Bot inline görselleri — max 900px, en-boy oranı korunur */
.entry-content .wd-article-image,
.single-post-content .wd-article-image {
    margin: 1.5em auto;
    text-align: center;
}

.entry-content .wd-article-image img,
.single-post-content .wd-article-image img,
.wd-inline-photo {
    max-width: 900px;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

/* AI haber kaynakları — accordion */
.wd-news-sources {
    margin-top: 2.5em;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    font-size: 0.9rem;
    color: var(--meta-color);
}

.wd-news-sources__summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-color);
    user-select: none;
}

.wd-news-sources__summary::-webkit-details-marker {
    display: none;
}

.wd-news-sources__summary::before {
    content: '+';
    display: inline-block;
    width: 1.1em;
    margin-right: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.wd-news-sources[open] .wd-news-sources__summary::before {
    content: '−';
}

.wd-news-sources__body {
    padding: 0 16px 14px;
    border-top: 1px solid var(--border-color);
}

.wd-news-sources__list {
    margin: 12px 0 0;
    padding-left: 1.1em;
    line-height: 1.7;
}

.wd-news-sources__list li + li {
    margin-top: 6px;
}

.wd-news-sources__body p {
    margin: 10px 0 0;
    line-height: 1.7;
}

/* Blog yorum formu — başlangıçta yalnızca textarea */
.comments-area .comment-form-collapsed .comment-reply-title,
.comments-area .comment-form-collapsed .comment-form-comment label,
.comments-area .comment-form-collapsed .comment-form-author,
.comments-area .comment-form-collapsed .comment-form-email,
.comments-area .comment-form-collapsed .comment-form-url,
.comments-area .comment-form-collapsed .comment-form-rating,
.comments-area .comment-form-collapsed .comment-form-captcha,
.comments-area .comment-form-collapsed .comment-form-honeypot,
.comments-area .comment-form-collapsed .comment-form-cookies-consent,
.comments-area .comment-form-collapsed .form-submit,
.comments-area .comment-form-collapsed .comment-notes,
.comments-area .comment-form-collapsed .form-submit-notice,
.comments-area .comment-form-collapsed .logged-in-as {
    display: none !important;
}

.comments-area .comment-form-collapsed .comment-form-comment textarea {
    min-height: 52px;
    cursor: pointer;
    resize: none;
}

.comments-area .comment-form-expanded .comment-form-comment textarea {
    min-height: 140px;
    cursor: text;
    resize: vertical;
}

.comments-area .comment-respond {
    margin-top: 24px;
    padding: 20px;
}

.comments-area .no-comments-yet {
    display: none;
}

/* Strong/Bold text in content */
.single-post-content strong,
.single-post-content b,
.entry-content strong,
.entry-content b {
    color: var(--secondary-color);
}

/* Links in content */
.single-post-content a:not(.btn):not(.button),
.entry-content a:not(.btn):not(.button) {
    color: var(--primary-color);
}

.single-post-content a:not(.btn):not(.button):hover,
.entry-content a:not(.btn):not(.button):hover {
    color: var(--accent-color);
}

/* External links in post content */
.single-post-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button),
.entry-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button) {
    color: #f0a500;
}

.single-post-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button) strong,
.single-post-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button) b,
.entry-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button) strong,
.entry-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button) b {
    color: inherit !important;
}

body.light-mode .single-post-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button),
body.light-mode .entry-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button) {
    color: #a85a00;
}

.single-post-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button):hover,
.entry-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button):hover {
    color: #ffbf47;
}

body.light-mode .single-post-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button):hover,
body.light-mode .entry-content a[href^="http"]:not([href*="//webdeyazilim.com"]):not([href*="//www.webdeyazilim.com"]):not([href*="//yeni.webdeyazilim.com"]):not(.btn):not(.button):hover {
    color: #7a3f00;
}

/* Single Post Dark Mode Compatibility */
body:not(.light-mode).single-post .single-post-main {
    background: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.light-mode).single-post .entry-header,
body:not(.light-mode).single-post .entry-footer {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.1);
}

body:not(.light-mode).single-post .entry-title,
body:not(.light-mode).single-post .entry-content h1,
body:not(.light-mode).single-post .entry-content h2,
body:not(.light-mode).single-post .entry-content h3,
body:not(.light-mode).single-post .entry-content h4,
body:not(.light-mode).single-post .entry-content h5,
body:not(.light-mode).single-post .entry-content h6 {
    color: #f5f7fa;
}

body:not(.light-mode).single-post .entry-meta-top,
body:not(.light-mode).single-post .posted-on,
body:not(.light-mode).single-post .cat-links,
body:not(.light-mode).single-post .cat-links a {
    color: #b6bdc7;
}

body:not(.light-mode).single-post .entry-content,
body:not(.light-mode).single-post .entry-content p,
body:not(.light-mode).single-post .entry-content li,
body:not(.light-mode).single-post .entry-content figcaption,
body:not(.light-mode).single-post .entry-content cite,
body:not(.light-mode).single-post .entry-content small {
    color: #d7dce3;
}

body:not(.light-mode).single-post .entry-content strong,
body:not(.light-mode).single-post .entry-content b {
    color: #ffffff;
}

body:not(.light-mode).single-post .entry-content a:not(.btn):not(.button) {
    color: #f0a500;
    text-underline-offset: 3px;
}

body:not(.light-mode).single-post .entry-content a:not(.btn):not(.button):hover {
    color: #ffbf47;
}

body:not(.light-mode).single-post .entry-content blockquote,
body:not(.light-mode).single-post .entry-content .wp-block-quote,
body:not(.light-mode).single-post .entry-content .wp-block-pullquote,
body:not(.light-mode).single-post .entry-content .wp-block-verse {
    background: #161a21;
    border-color: #f0a500;
    color: #dce2eb;
}

body:not(.light-mode).single-post .entry-content pre,
body:not(.light-mode).single-post .entry-content code,
body:not(.light-mode).single-post .entry-content kbd,
body:not(.light-mode).single-post .entry-content samp,
body:not(.light-mode).single-post .entry-content .wp-block-code,
body:not(.light-mode).single-post .entry-content .wp-block-preformatted {
    background: #0c1117;
    color: #d7e2f0;
    border-color: rgba(255, 255, 255, 0.14);
}

body:not(.light-mode).single-post .entry-content table,
body:not(.light-mode).single-post .entry-content .wp-block-table table {
    background: #12161d;
    border-color: rgba(255, 255, 255, 0.12);
}

body:not(.light-mode).single-post .entry-content th,
body:not(.light-mode).single-post .entry-content td,
body:not(.light-mode).single-post .entry-content .wp-block-table th,
body:not(.light-mode).single-post .entry-content .wp-block-table td {
    color: #d9e0e8;
    border-color: rgba(255, 255, 255, 0.1);
}

body:not(.light-mode).single-post .entry-content th,
body:not(.light-mode).single-post .entry-content .wp-block-table th {
    background: #181f29;
    color: #f4f7fb;
}

body:not(.light-mode).single-post .entry-content hr,
body:not(.light-mode).single-post .entry-content .wp-block-separator {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.12);
}

body:not(.light-mode).single-post .entry-content .wp-block-group.has-background,
body:not(.light-mode).single-post .entry-content .wp-block-columns.has-background,
body:not(.light-mode).single-post .entry-content .wp-block-media-text.has-background,
body:not(.light-mode).single-post .entry-content .has-background {
    color: #e3e8ef;
}

body:not(.light-mode).single-post .entry-content .wp-block-button__link {
    color: #0a0a0a;
}

body:not(.light-mode).single-post .post-tags a {
    background: #1c222d;
    color: #dfe6ef;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body:not(.light-mode).single-post .post-tags a:hover {
    background: #f0a500;
    color: #101010;
}

.single-post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags a {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Sidebar Styles */
.sidebar-widget {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Sponsors Widget */
.sponsors-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column as requested */
    gap: 15px;
}

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

.sponsor-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    aspect-ratio: 1 / 1; /* Square aspect ratio */
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.sponsor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
    border-color: var(--primary-color);
}

.sponsor-item img {
    width: auto;
    max-width: min(100%, 300px);
    max-height: min(100%, 300px);
    object-fit: contain;
}

.sponsor-advertise-btn {
    display: inline-block;
    font-size: 0.85rem;
    color: #888;
    text-decoration: underline;
}

.sponsor-advertise-btn:hover {
    color: var(--primary-color);
}

/* Recent Posts Widget */
.sidebar-recent-list {
    list-style: none;
}

.sidebar-recent-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-recent-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.sidebar-recent-link {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-color);
}

.sidebar-recent-content {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.sidebar-recent-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 165, 0, 0.12);
    color: var(--primary-color);
    flex-shrink: 0;
}

.sidebar-recent-icon--flag {
    font-size: 1.3rem;
    line-height: 1;
}

.sidebar-recent-meta {
    display: block;
    color: var(--meta-color);
    font-size: 0.82rem;
    line-height: 1.5;
}

.sidebar-recent-link:hover .sidebar-recent-title {
    color: var(--primary-color);
}

.sidebar-recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.sidebar-recent-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-widget__footer {
    margin-top: 18px;
    text-align: center;
}

.sidebar-widget__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #111;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.sidebar-widget__button:hover {
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

/* Responsive */
@media (max-width: 992px) {
    .single-post-container {
        grid-template-columns: 1fr;
    }
    
    .single-post-main {
        padding: 25px;
    }
    
    .single-post-thumbnail {
        margin: 20px -25px;
    }
}

/* Archive & Category Styles */
.archive-header-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.archive-header-card .page-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.archive-description {
    color: var(--text-color);
    font-size: 1rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.archive-post-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.archive-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.archive-post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.archive-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.archive-post-card:hover .archive-post-thumbnail img {
    transform: scale(1.05);
}

.archive-post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    background-color: var(--input-bg);
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.archive-post-content .entry-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.archive-post-content .entry-title a {
    color: var(--secondary-color);
    transition: color 0.2s;
}

.archive-post-content .entry-title a:hover {
    color: var(--primary-color);
}

.archive-post-content .entry-summary {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.archive-post-content .entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--meta-color);
}

.read-more-link {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.read-more-link:hover i {
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 15px;
    background: var(--card-bg);
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.2s;
}

.pagination a:hover, .pagination span.current {
    background: var(--primary-color);
    color: #fff;
}

.no-results-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
}

/* Responsive Archive */
@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

/* News Homepage Styles */
.news-hero-section {
    padding: 10px 0;
}

.news-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    height: 450px; /* Force grid height to match slider */
}

@media (max-width: 768px) {
    .news-hero-grid {
        grid-template-columns: 1fr;
        height: auto; /* Auto height on mobile */
    }
}

/* Slider Area */
.news-slider-area {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100%; /* Fill grid cell */
}

.news-main-slider {
    width: 100%;
    height: 100%; /* Fill container */
}

.news-slide-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.news-slide-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.news-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.news-slide-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 10;
}

.news-cat {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-slide-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Sidebar Area */
.news-sidebar-area {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    height: 100%; /* Fill grid cell */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Hide overflow */
    transition: background-color 0.3s;
}

.news-sidebar-header {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.news-sidebar-header h3 {
    color: var(--text-color);
}

.news-sidebar-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute items evenly */
    gap: 10px;
    height: 100%; /* Fill the container */
    overflow: hidden; /* No scroll needed if we fit exactly */
    flex: 1;
    padding: 5px; /* Add padding to prevent cut-off on hover transform */
}

.news-sidebar-item {
    display: flex;
    gap: 15px;
    align-items: center; /* Center vertically */
    color: var(--text-color);
    transition: transform 0.2s;
    flex: 1; /* Allow items to grow/shrink to fill space */
    min-height: 0; /* Allow shrinking */
}

.news-sidebar-item:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

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

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

.news-sidebar-content {
    flex: 1;
}

.news-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--card-bg) !important;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--card-bg) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 24px !important;
    font-weight: bold;
}

/* Web Tools Section */
.web-tools-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.web-tool-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.web-tool-item:hover {
    border-color: #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.web-tool-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0073aa;
}

.web-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.web-tool-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.btn-load-more {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: #eee;
    color: #333;
}

@media (max-width: 768px) {
    .web-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .web-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Web Tools Separator */
.web-tools-separator {
    border-top: 1px solid #e1e8ed;
    margin-bottom: 30px;
    width: 100%;
}

/* Override Web Tool Icon Color */
.web-tool-icon {
    color: #333 !important; /* Black/Dark Gray */
}

/* Ensure Centering */
.web-tools-grid {
    justify-content: center;
}

/* Blog Lists Section */
.blog-lists-section {
    margin-bottom: 60px;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-list-column {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.column-title {
    font-size: 18px;
    border-bottom: 2px solid #F0A500;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.blog-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

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

.blog-item-image {
    width: 142px; /* 16:9 ratio based on ~80px height */
    flex-shrink: 0;
    position: relative;
}

.blog-item-image a {
    display: block;
    height: 100%;
}

.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    min-height: 80px; /* Ensure at least 80px */
}

.blog-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-item-title {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.blog-item-title a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.blog-item-title a:hover {
    color: #F0A500;
}

.blog-item-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.blog-item-meta span {
    margin-right: 10px;
}

.blog-item-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #F0A500;
    text-transform: uppercase;
    margin-top: auto;
    text-decoration: none;
}

.blog-read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-list-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix Blog List Item Alignment */
.blog-item-title {
    height: 42px; /* 2 lines approx */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-item-excerpt {
    height: 60px; /* 3 lines approx */
    overflow: hidden;
    margin-bottom: 10px;
}

.blog-item-content {
    min-height: 160px; /* Ensure minimum height for consistency */
}

.blog-item-image {
    min-height: 160px; /* Match content height */
}

/* Web Tools Intro Text */
.web-tools-intro {
    text-align: left; /* Changed from center */
    max-width: 100%; /* Changed from 800px to allow full width for left alignment */
    margin: 0 0 30px; /* Removed auto margins */
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Responsive Tools Grid */
@media (max-width: 768px) {
    .web-tools-grid {
        display: block; /* Switch to block for vertical stacking */
        max-height: 320px; /* Approx 6 items height (50px * 6 + gaps) */
        overflow-y: auto; /* Enable vertical scroll */
        padding-right: 5px; /* Space for scrollbar */
        border: 1px solid #eee; /* Optional: border around scroll area */
        border-radius: 5px;
        padding: 10px;
    }

    .web-tool-item {
        margin-bottom: 10px; /* Add margin since gap won't work in block */
        width: 100%; /* Ensure full width */
        box-sizing: border-box; /* Include padding/border in width */
    }

    .web-tool-item:last-child {
        margin-bottom: 0;
    }
    
    /* Custom Scrollbar for Webkit */
    .web-tools-grid::-webkit-scrollbar {
        width: 6px;
    }
    
    .web-tools-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .web-tools-grid::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    
    .web-tools-grid::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }
}

/* Firma Rehberi Mobile Search */
@media (min-width: 769px) {
    .mobile-firma-search {
        display: none !important;
    }
}

/* Firma Rehberi Styles */
.btn-reveal-contact {
    cursor: pointer;
    transition: all 0.2s;
}
.btn-reveal-contact:hover {
    background-color: #6c757d;
    color: #fff;
}
.btn-reveal-contact.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Sidebar Spacing */
#firma-sidebar .widget {
    margin-bottom: 30px;
}

/* Specific spacing for Sponsors widget if it follows Search widget */
#firma-sidebar .widget_webdeyazilim_firma_search_widget + .widget {
    margin-top: 40px; /* Extra spacing above the widget following search */
}
.firma-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.firma-list-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.firma-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.firma-card-header {
    margin-bottom: 10px;
}

.firma-cat {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.firma-title {
    font-size: 1.4rem;
    margin: 0;
}

.firma-title a {
    color: var(--text-color);
    text-decoration: none;
}

.firma-title a:hover {
    color: var(--primary-color);
}

.firma-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--meta-color);
    margin-bottom: 15px;
}

.firma-id-badge {
    background: var(--input-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-color);
}

.firma-summary {
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
}

.firma-services-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tag {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

body.light-mode .service-tag {
    background: #ffffff;
    color: #333333;
    border-color: #e5e5e5;
}

.service-more {
    font-size: 0.8rem;
    color: var(--meta-color);
    align-self: center;
}

.firma-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    text-align: right;
}

.btn-details {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-details:hover {
    color: var(--accent-color);
}

.btn-details i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.btn-details:hover i {
    transform: translateX(3px);
}

/* Sidebar Spacing */
#firma-sidebar .widget {
    margin-bottom: 30px;
}

/* Comment Rating Absolute */
.comment-rating-absolute {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .comment-rating-absolute {
        position: static !important;
        margin-bottom: 10px;
    }
}

/* Pagination Styles */
.wd-pagination.archive-pagination {
    margin-top: 44px;
}

.wd-pagination .wd-pagination-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wd-pagination .wd-pagination-list li::marker {
    content: '';
}

.wd-pagination .wd-pagination-item {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.wd-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    background: var(--card-bg);
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
}

.wd-pagination .page-numbers.current,
.wd-pagination .page-numbers:hover,
.wd-pagination .page-numbers:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.wd-pagination .page-numbers:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 1px;
}

.wd-pagination .wd-pagination-prev,
.wd-pagination .wd-pagination-next {
    padding: 0 14px;
}


/* Comment Form Reveal */
.single-firma .comment-form .comment-form-author,
.single-firma .comment-form .comment-form-email,
.single-firma .comment-form .comment-form-url,
.single-firma .comment-form .comment-form-rating,
.single-firma .comment-form .comment-form-cookies-consent,
.single-firma .comment-form .form-submit,
.single-firma .comment-form .comment-notes {
    display: none;
}

.single-firma .comment-form.expanded .comment-form-author,
.single-firma .comment-form.expanded .comment-form-email,
.single-firma .comment-form.expanded .comment-form-url,
.single-firma .comment-form.expanded .comment-form-rating,
.single-firma .comment-form.expanded .comment-form-cookies-consent,
.single-firma .comment-form.expanded .form-submit,
.single-firma .comment-form.expanded .comment-notes {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sidebar widget spacing: ensure widgets (search, sponsors, etc.) have breathing room */
.sidebar-area .sidebar-widget,
.sidebar-widget {
    margin-bottom: 30px !important;
    display: block;
    clear: both;
}

/* Static page layout + sidebar navigation */
.page-content-main {
    width: 100%;
}

.page-entry-header {
    margin-bottom: 28px;
}

.page-entry-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color, #f0a500);
}

.page-entry-title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.page-entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-color, #d8dde3);
}

body.light-mode .page-entry-content {
    color: #334155;
}

.page-entry-content p,
.page-entry-content ul,
.page-entry-content ol {
    margin-bottom: 1rem;
}

.page-entry-content ul,
.page-entry-content ol {
    padding-left: 1.25rem;
}

.page-entry-content a {
    color: var(--primary-color, #f0a500);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-sidebar-widget .widget-title {
    margin-bottom: 14px;
}

.page-sidebar-nav {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.page-sidebar-nav-item {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.sidebar-area .page-sidebar-widget ul li,
.sidebar-area .page-sidebar-widget .page-sidebar-nav-item {
    border-bottom: 0 !important;
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.sidebar-area .page-sidebar-widget .page-sidebar-link {
    color: inherit !important;
}

.page-sidebar-link {
    display: grid;
    grid-template-columns: 40px 1fr 16px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    background: var(--card-bg, #151515);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.page-sidebar-link:hover {
    border-color: rgba(240, 165, 0, 0.35);
    background: rgba(240, 165, 0, 0.06);
    transform: translateX(2px);
}

.page-sidebar-link.is-active {
    border-color: rgba(240, 165, 0, 0.45);
    background: rgba(240, 165, 0, 0.12);
    box-shadow: inset 3px 0 0 var(--primary-color, #f0a500);
}

body.light-mode .page-sidebar-link {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.light-mode .page-sidebar-link:hover,
body.light-mode .page-sidebar-link.is-active {
    background: #fffaf0;
    border-color: rgba(240, 165, 0, 0.35);
}

.page-sidebar-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 165, 0, 0.12);
    color: var(--primary-color, #f0a500);
    font-size: 0.95rem;
}

body.light-mode .page-sidebar-link-icon {
    background: #fff4da;
}

.page-sidebar-link-label {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
}

.page-sidebar-link-arrow {
    color: var(--meta-color, #8896a5);
    font-size: 0.72rem;
    opacity: 0.7;
}

.page-sidebar-link:hover .page-sidebar-link-arrow,
.page-sidebar-link.is-active .page-sidebar-link-arrow {
    color: var(--primary-color, #f0a500);
    opacity: 1;
}

@media (max-width: 991px) {
    .page-sidebar-area {
        order: 2;
    }

    .page-content-main {
        order: 1;
    }
}

.archive-post-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 5px;
}

.archive-post-content .entry-summary p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Firma Search Widget Card Style */
.sidebar-widget.widget_search {
    background: #050505;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

body.light-mode .sidebar-widget.widget_search {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-color: #e1e8ed;
}

/* Firma Search Form Dark Mode Fixes */
.firma-search-form .form-control,
.hizmetler-selected {
    background-color: #111111 !important;
    border: 1px solid var(--border-color) !important;
    color: #e0e0e0 !important;
}

.hizmetler-options-container {
    background-color: #111111 !important;
    border-color: var(--border-color) !important;
}

.hizmetler-selected.open {
    border-bottom: none !important;
}

.hizmetler-search-input {
    background-color: #222 !important;
    color: #fff !important;
    border: 1px solid var(--border-color) !important;
}

.hizmetler-option {
    color: #bbb !important;
}

.hizmetler-option:hover,
.hizmetler-option.selected {
    background-color: #222 !important;
    color: var(--primary-color) !important;
}

/* Light Mode Overrides for Form */
body.light-mode .firma-search-form .form-control,
body.light-mode .hizmetler-selected {
    background-color: #ffffff !important;
    border-color: #ddd !important;
    color: #333 !important;
}

body.light-mode .hizmetler-options-container {
    background-color: #ffffff !important;
    border-color: #ddd !important;
}

body.light-mode .hizmetler-search-input {
    background-color: #f9f9f9 !important;
    color: #333 !important;
    border-color: #eee !important;
}

body.light-mode .hizmetler-option {
    color: #666 !important;
}

body.light-mode .hizmetler-option:hover,
body.light-mode .hizmetler-option.selected {
    background-color: #f0f7ff !important;
}

/* Ensure spacing for all widgets including the search widget */
.sidebar-area .widget,
.sidebar-area .sidebar-widget {
    margin-bottom: 30px !important;
    display: block;
    clear: both;
    background-color: #1a1a1a !important; /* Force Dark Bg */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.sidebar-area .widget ul li,
.sidebar-area .sidebar-widget ul li {
    border-bottom-color: #333 !important;
}

.sidebar-area .widget ul li a,
.sidebar-area .sidebar-widget ul li a {
    color: #e0e0e0 !important;
}

body.light-mode .sidebar-area .widget,
body.light-mode .sidebar-area .sidebar-widget {
    background-color: #ffffff !important;
    border-color: #e1e8ed !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.light-mode .sidebar-area .widget ul li,
body.light-mode .sidebar-area .sidebar-widget ul li {
    border-bottom-color: #f1f1f1 !important;
}

body.light-mode .sidebar-area .widget ul li a,
body.light-mode .sidebar-area .sidebar-widget ul li a {
    color: #555 !important;
}

.sidebar-area .widget-title,
.sidebar-area .widget h2 {
    color: var(--text-color, #ffffff) !important;
    border-bottom-color: var(--border-color, #333) !important;
}

body.light-mode .sidebar-area .widget-title,
body.light-mode .sidebar-area .widget h2 {
    color: var(--secondary-color, #1a1a1a) !important;
    border-bottom-color: #eee !important;
}

/* Firma Main Index Accordion Styles */
.firma-main-index .page-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

body.light-mode .firma-main-index .page-title {
    color: #1a1a1a;
    text-shadow: none;
}

/* Strong fallback: Single post dark mode final overrides */
body.single-post:not(.light-mode) .single-post-main,
body.single-post:not(.light-mode) article.single-post-main {
    background: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.single-post:not(.light-mode) .single-post-main .entry-title,
body.single-post:not(.light-mode) article.single-post-main .entry-title,
body.single-post:not(.light-mode) .single-post-main h1,
body.single-post:not(.light-mode) .single-post-main h2,
body.single-post:not(.light-mode) .single-post-main h3,
body.single-post:not(.light-mode) .single-post-main h4,
body.single-post:not(.light-mode) .single-post-main h5,
body.single-post:not(.light-mode) .single-post-main h6 {
    color: #f4f7fb !important;
}

body.single-post:not(.light-mode) .single-post-main,
body.single-post:not(.light-mode) .single-post-main p,
body.single-post:not(.light-mode) .single-post-main li,
body.single-post:not(.light-mode) .single-post-main span,
body.single-post:not(.light-mode) .single-post-main div,
body.single-post:not(.light-mode) .single-post-main td,
body.single-post:not(.light-mode) .single-post-main th,
body.single-post:not(.light-mode) .single-post-main label,
body.single-post:not(.light-mode) .single-post-main figcaption,
body.single-post:not(.light-mode) .single-post-main cite,
body.single-post:not(.light-mode) .single-post-main small {
    color: #d7dce3;
}

body.single-post:not(.light-mode) .single-post-main .entry-meta-top,
body.single-post:not(.light-mode) .single-post-main .posted-on,
body.single-post:not(.light-mode) .single-post-main .cat-links,
body.single-post:not(.light-mode) .single-post-main .cat-links a {
    color: #b6bdc7 !important;
}

body.single-post:not(.light-mode) .single-post-main strong,
body.single-post:not(.light-mode) .single-post-main b {
    color: #ffffff !important;
}

body.single-post:not(.light-mode) .single-post-main a:not(.btn):not(.button) {
    color: #f0a500 !important;
}

body.single-post:not(.light-mode) .single-post-main a:not(.btn):not(.button):hover {
    color: #ffbf47 !important;
}

body.single-post:not(.light-mode) .single-post-main blockquote,
body.single-post:not(.light-mode) .single-post-main .wp-block-quote,
body.single-post:not(.light-mode) .single-post-main .wp-block-pullquote,
body.single-post:not(.light-mode) .single-post-main .wp-block-verse {
    background: #161a21 !important;
    border-color: #f0a500 !important;
    color: #dce2eb !important;
}

body.single-post:not(.light-mode) .single-post-main pre,
body.single-post:not(.light-mode) .single-post-main code,
body.single-post:not(.light-mode) .single-post-main kbd,
body.single-post:not(.light-mode) .single-post-main samp,
body.single-post:not(.light-mode) .single-post-main .wp-block-code,
body.single-post:not(.light-mode) .single-post-main .wp-block-preformatted {
    background: #0c1117 !important;
    color: #d7e2f0 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

body.single-post:not(.light-mode) .single-post-main table,
body.single-post:not(.light-mode) .single-post-main .wp-block-table table {
    background: #12161d !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.single-post:not(.light-mode) .single-post-main th,
body.single-post:not(.light-mode) .single-post-main .wp-block-table th {
    background: #181f29 !important;
    color: #f4f7fb !important;
}

body.single-post:not(.light-mode) .single-post-main td,
body.single-post:not(.light-mode) .single-post-main .wp-block-table td {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.single-post:not(.light-mode) .single-post-main hr,
body.single-post:not(.light-mode) .single-post-main .wp-block-separator {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Comment Form Notice Integration */
.comments-area .comment-notes,
.comments-area .logged-in-as,
.comments-area .form-allowed-tags,
.comments-area .comment-awaiting-moderation {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid transparent;
}

.comments-area .comment-notes a,
.comments-area .logged-in-as a,
.comments-area .form-allowed-tags a,
.comments-area .comment-awaiting-moderation a {
    font-weight: 600;
}

body:not(.light-mode) .comments-area .comment-notes,
body:not(.light-mode) .comments-area .logged-in-as,
body:not(.light-mode) .comments-area .form-allowed-tags,
body:not(.light-mode) .comments-area .comment-awaiting-moderation {
    background: #171b22;
    color: #d7dce3;
    border-color: rgba(255, 255, 255, 0.1);
}

body:not(.light-mode) .comments-area .comment-notes {
    border-left: 4px solid #f0a500;
}

body:not(.light-mode) .comments-area .comment-notes a,
body:not(.light-mode) .comments-area .logged-in-as a,
body:not(.light-mode) .comments-area .form-allowed-tags a,
body:not(.light-mode) .comments-area .comment-awaiting-moderation a {
    color: #f0a500;
}

body.light-mode .comments-area .comment-notes,
body.light-mode .comments-area .logged-in-as,
body.light-mode .comments-area .form-allowed-tags,
body.light-mode .comments-area .comment-awaiting-moderation {
    background: #f8fafc;
    color: #374151;
    border-color: #e5e7eb;
}

body.light-mode .comments-area .comment-notes {
    border-left: 4px solid #f0a500;
}

body.light-mode .comments-area .comment-notes a,
body.light-mode .comments-area .logged-in-as a,
body.light-mode .comments-area .form-allowed-tags a,
body.light-mode .comments-area .comment-awaiting-moderation a {
    color: #b46900;
}

.sektor-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.sektor-accordion-item {
    background: #050505;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.light-mode .sektor-accordion-item {
    background: var(--card-bg);
    border-color: #e1e8ed;
}

.sektor-accordion-item:hover {
    border-color: var(--text-color);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.sektor-accordion-item.open {
    border-color: var(--primary-color, #F0A500);
    box-shadow: 0 5px 15px rgba(240, 165, 0, 0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: transparent;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background: rgba(255,255,255,0.03);
}

body.light-mode .accordion-header:hover {
    background-color: #f1f1f1;
}

.sektor-accordion-item.open .accordion-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
}

body.light-mode .sektor-accordion-item.open .accordion-header {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: rgba(240, 165, 0, 0.1);
    color: var(--primary-color, #F0A500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
}

.header-title {
    margin: 0;
    font-size: 1.15em;
    font-weight: 600;
}

.header-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

body.light-mode .header-title a {
    color: #1a1a1a;
}

.header-title a:hover {
    color: var(--primary-color, #F0A500);
}

.header-count {
    font-size: 0.8em;
    color: #888;
    font-weight: 400;
    margin-left: 5px;
}

.header-toggle {
    color: #aaa;
    font-size: 1.2em;
    transition: color 0.2s;
}

.sektor-accordion-item.open .header-toggle {
    color: var(--primary-color, #F0A500);
}

.header-toggle .fa-minus {
    display: none;
}

.sektor-accordion-item.open .header-toggle .fa-plus {
    display: none;
}

.sektor-accordion-item.open .header-toggle .fa-minus {
    display: block;
}

.accordion-content {
    display: none; /* Controlled by JS */
    padding: 20px 25px 25px;
    background: transparent;
}

.sub-sector-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.sub-sector-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e0e0e0;
    text-decoration: none;
    padding: 12px 15px;
    background: #111111;
    border-radius: 6px;
    font-size: 0.95em;
    transition: all 0.2s;
    border: 1px solid #222;
}

body.light-mode .sub-sector-list li a {
    background: #f8f9fa;
    color: #333;
    border-color: #eee;
}

.sub-sector-list li a:hover {
    background: #1a1a1a;
    border-color: var(--primary-color);
    color: var(--primary-color, #F0A500);
    transform: translateX(5px);
}

body.light-mode .sub-sector-list li a:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    color: var(--primary-color, #F0A500);
}

.sub-sector-list .sub-count {
    color: var(--meta-color);
    font-size: 0.85em;
    background: var(--input-bg);
    padding: 2px 6px;
    border-radius: 10px;
}

/* Location Specific Tweaks */
.location-accordion-list .sub-sector-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.location-accordion-list .header-icon {
    background: rgba(52, 152, 219, 0.1); 
    color: #3498db;
}

.location-accordion-list .sektor-accordion-item.open {
    border-color: #3498db;
}

.location-accordion-list .sektor-accordion-item.open .header-toggle {
    color: #3498db;
}

/* Breadcrumbs */
.firma-breadcrumbs a:hover {
    color: var(--primary-color, #F0A500) !important;
    text-decoration: underline !important;
}

.btn-container-center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-elegant-small {
    display: inline-block;
    padding: 8px 25px;
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.btn-elegant-small:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Web Tool Sponsor Display Adjustments (Desktop vs Mobile) */
@media (min-width: 769px) {
    /* Desktop: Hide under-tool sponsors (showcase) since sidebar sponsors are visible */
    .single-web_tool .wd-sponsor-showcase,
    .single-web_tool .sponsor-separator {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Mobile: Hide sidebar sponsors since under-tool sponsors are visible */
    .single-web_tool .sidebar-area .wd-sponsor-widget {
        display: none !important;
    }
    
    /* Mobile: Hide all sponsors on the online-araclar page */
    .post-type-archive-web_tool .sidebar-area .wd-sponsor-widget,
    .post-type-archive-web_tool .wd-sponsor-showcase,
    .post-type-archive-web_tool .sponsor-separator {
        display: none !important;
    }
}

/* Visibility Utilities */
.wd-hide-desktop {
    display: none !important;
}

@media (max-width: 992px) {
    .wd-hide-desktop {
        display: block !important;
    }
    
    .wd-hide-mobile {
        display: none !important;
    }
}

/* ===== 404 Page ===== */
.error-404-page {
    width: 100%;
    display: grid;
    gap: 22px;
}

.error-404-hero {
    padding: 34px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(240, 165, 0, 0.16), rgba(12, 12, 12, 0.98)),
        var(--card-bg);
    border: 1px solid rgba(240, 165, 0, 0.22);
    box-shadow: 0 20px 50px var(--shadow-color);
}

body.light-mode .error-404-hero {
    background: linear-gradient(135deg, rgba(240, 165, 0, 0.08), #ffffff);
    border-color: rgba(240, 165, 0, 0.18);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.error-404-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
    gap: 28px;
    align-items: center;
}

.error-404-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.error-404-title {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--secondary-color);
}

body.light-mode .error-404-title {
    color: #0f172a;
}

.error-404-intro {
    margin: 0;
    max-width: 640px;
    color: var(--meta-color);
    font-size: 1rem;
    line-height: 1.7;
}

.error-404-path {
    margin: 18px 0 0;
    display: grid;
    gap: 6px;
}

.error-404-path-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--meta-color);
}

.error-404-path code {
    display: inline-block;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.88rem;
    word-break: break-all;
}

body.light-mode .error-404-path code {
    background: #f8fafc;
    color: #334155;
}

.error-404-search {
    margin-top: 22px;
}

.error-404-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.28);
}

body.light-mode .error-404-search-row {
    background: #ffffff;
}

.error-404-search-row input {
    min-width: 0;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
}

.error-404-search-row input:focus {
    outline: none;
}

.error-404-search-row button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border: 0;
    border-left: 1px solid var(--border-color);
    background: var(--primary-color);
    color: #111;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.error-404-search-row button:hover {
    filter: brightness(1.05);
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.error-404-btn--primary {
    background: var(--primary-color);
    color: #111;
    border: 1px solid var(--primary-color);
}

.error-404-btn--primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.error-404-btn--ghost {
    background: transparent;
    color: inherit;
    border: 1px solid var(--border-color);
}

.error-404-btn--ghost:hover {
    border-color: var(--primary-color);
    background: rgba(240, 165, 0, 0.08);
}

.error-404-visual {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.error-404-code-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 260px);
    aspect-ratio: 1;
}

.error-404-code {
    position: relative;
    z-index: 1;
    font-size: clamp(4.5rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    background: linear-gradient(180deg, #fff 0%, rgba(240, 165, 0, 0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.light-mode .error-404-code {
    background: linear-gradient(180deg, #0f172a 0%, rgba(240, 165, 0, 0.95) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-404-code-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.28) 0%, rgba(240, 165, 0, 0) 72%);
    filter: blur(8px);
}

.error-404-visual-caption {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--meta-color);
}

.error-404-section {
    display: grid;
    gap: 16px;
}

.error-404-section-head h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

body.light-mode .error-404-section-head h2 {
    color: #0f172a;
}

.error-404-section-head p {
    margin: 0;
    color: var(--meta-color);
    font-size: 0.92rem;
    line-height: 1.6;
}

.error-404-section-head--compact h2 {
    margin-bottom: 0;
}

.error-404-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.error-404-quick-card {
    display: grid;
    grid-template-columns: 42px 1fr 16px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.error-404-quick-card:hover {
    border-color: rgba(240, 165, 0, 0.35);
    background: rgba(240, 165, 0, 0.06);
    transform: translateY(-1px);
}

body.light-mode .error-404-quick-card:hover {
    background: #fffaf0;
}

.error-404-quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 165, 0, 0.12);
    color: var(--primary-color);
}

body.light-mode .error-404-quick-icon {
    background: #fff4da;
}

.error-404-quick-label {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.error-404-quick-arrow {
    color: var(--meta-color);
    font-size: 0.75rem;
}

.error-404-quick-card:hover .error-404-quick-arrow {
    color: var(--primary-color);
}

.error-404-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.error-404-panel {
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: 0 8px 24px var(--shadow-color);
}

body.light-mode .error-404-panel {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.error-404-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.error-404-list-link {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.error-404-list-link:hover {
    background: rgba(240, 165, 0, 0.08);
}

body.light-mode .error-404-list-link:hover {
    background: #fff8eb;
}

.error-404-list-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

body.light-mode .error-404-list-icon {
    background: #f4f6f8;
}

.error-404-list-body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.error-404-list-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-color);
}

.error-404-list-meta {
    font-size: 0.8rem;
    color: var(--meta-color);
    line-height: 1.45;
}

.error-404-panel-footer {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.error-404-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.error-404-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 991px) {
    .error-404-hero-grid {
        grid-template-columns: 1fr;
    }

    .error-404-visual {
        order: -1;
    }

    .error-404-code-wrap {
        width: 180px;
    }

    .error-404-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .error-404-hero {
        padding: 22px 18px;
    }

    .error-404-search-row {
        grid-template-columns: 1fr;
    }

    .error-404-search-row button {
        border-left: 0;
        border-top: 1px solid var(--border-color);
        justify-content: center;
        padding: 12px 16px;
    }

    .error-404-quick-grid {
        grid-template-columns: 1fr;
    }

    .error-404-actions {
        flex-direction: column;
    }

    .error-404-btn {
        width: 100%;
        justify-content: center;
    }
}
