/*
Theme Name: Circula Seguro
Theme URI: http://www.circulaseguro.com/
Author: Circula Seguro
Author URI: http://www.circulaseguro.com/
Description: Blog profesional sobre seguridad vial, conduccion segura y normativa de trafico en Espana
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: circulaseguro
Tags: blog, custom-menu, featured-images, translation-ready, one-column
*/

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

:root {
    --cs-blue: #1a5276;
    --cs-blue-light: #2980b9;
    --cs-blue-dark: #0e2f44;
    --cs-green: #27ae60;
    --cs-green-dark: #1e8449;
    --cs-orange: #e67e22;
    --cs-red: #c0392b;
    --cs-gray-100: #f8f9fa;
    --cs-gray-200: #e9ecef;
    --cs-gray-300: #dee2e6;
    --cs-gray-600: #6c757d;
    --cs-gray-800: #343a40;
    --cs-gray-900: #212529;
    --cs-white: #ffffff;
    --cs-font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --cs-font-serif: Georgia, 'Times New Roman', serif;
    --cs-max-width: 1200px;
    --cs-content-width: 800px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--cs-font);
    color: var(--cs-gray-900);
    background: var(--cs-gray-100);
    line-height: 1.7;
}

a { color: var(--cs-blue-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cs-blue-dark); }

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--cs-gray-900);
    margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1em; }

/* === Layout === */
.cs-container {
    max-width: var(--cs-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cs-content-area {
    max-width: var(--cs-content-width);
    margin: 0 auto;
}

/* === Header === */
.cs-header {
    background: var(--cs-blue-dark);
    color: var(--cs-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    max-width: var(--cs-max-width);
    margin: 0 auto;
}

.cs-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cs-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* === Navigation === */
.cs-nav { display: flex; align-items: center; gap: 0; }

.cs-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.cs-nav li {
    white-space: nowrap;
}

.cs-nav a {
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 500;
    display: block;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.cs-nav a:hover,
.cs-nav .current-menu-item a,
.cs-nav .current_page_item a {
    color: var(--cs-white);
    background: rgba(255,255,255,0.1);
}

.cs-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cs-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* === Hero / Page Header === */
.cs-page-header {
    background: linear-gradient(135deg, var(--cs-blue-dark) 0%, var(--cs-blue) 100%);
    color: var(--cs-white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.cs-page-header h1 {
    color: var(--cs-white);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.cs-page-header .cs-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === Front Page === */
.cs-hero {
    background: linear-gradient(135deg, var(--cs-blue-dark) 0%, var(--cs-blue) 50%, var(--cs-green-dark) 100%);
    color: var(--cs-white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.cs-hero h1 {
    color: var(--cs-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cs-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.cs-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.cs-category-strip {
    background: var(--cs-white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--cs-gray-200);
}

.cs-category-strip h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--cs-blue-dark);
}

.cs-category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    max-width: var(--cs-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cs-category-card {
    background: var(--cs-gray-100);
    border: 1px solid var(--cs-gray-200);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.cs-category-card:hover {
    border-color: var(--cs-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cs-category-card .cs-cat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cs-category-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--cs-blue-dark);
}

.cs-category-card .cs-cat-count {
    font-size: 0.85rem;
    color: var(--cs-gray-600);
}

/* === Post Cards === */
.cs-card {
    background: var(--cs-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--cs-green);
}

.cs-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.cs-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--cs-gray-200);
}

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

.cs-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cs-card-category {
    display: inline-block;
    background: var(--cs-blue);
    color: var(--cs-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cs-card-title a { color: var(--cs-gray-900); }
.cs-card-title a:hover { color: var(--cs-blue-light); }

.cs-card-excerpt {
    font-size: 0.9rem;
    color: var(--cs-gray-600);
    flex: 1;
    margin-bottom: 1rem;
}

.cs-card-meta {
    font-size: 0.8rem;
    color: var(--cs-gray-600);
    border-top: 1px solid var(--cs-gray-200);
    padding-top: 0.75rem;
    display: flex;
    justify-content: space-between;
}

/* === Single Post === */
.cs-single {
    background: var(--cs-white);
    max-width: var(--cs-content-width);
    margin: 2rem auto;
    padding: 2.5rem 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.cs-single-header { margin-bottom: 2rem; }

.cs-single-header .cs-card-category { margin-bottom: 1rem; }

.cs-single-header h1 {
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
    color: var(--cs-blue-dark);
}

.cs-single-meta {
    color: var(--cs-gray-600);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--cs-green);
}

.cs-single-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--cs-gray-800);
}

/* Drop cap on first paragraph */
.cs-single-content > p:first-child::first-letter {
    float: left;
    font-size: 3.2em;
    line-height: 0.85;
    padding-right: 0.08em;
    margin-top: 0.05em;
    font-weight: 700;
    color: var(--cs-blue-dark);
}

/* Styled h2 with left accent */
.cs-single-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 0.6rem 0 0.6rem 1rem;
    border-left: 4px solid var(--cs-green);
    border-top: none;
    color: var(--cs-blue-dark);
    font-size: 1.55rem;
    background: linear-gradient(90deg, rgba(39,174,96,0.06) 0%, transparent 100%);
    border-radius: 0 4px 4px 0;
}

.cs-single-content h3 {
    margin-top: 1.75rem;
    color: var(--cs-blue);
    font-size: 1.25rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed var(--cs-gray-300);
}

/* Styled lists with custom bullets */
.cs-single-content ul {
    margin: 1.25em 0;
    padding-left: 0;
    list-style: none;
}

.cs-single-content ul > li {
    margin-bottom: 0.6em;
    padding-left: 1.6em;
    position: relative;
}

.cs-single-content ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--cs-green);
    border-radius: 50%;
}

.cs-single-content ol {
    margin: 1.25em 0;
    padding-left: 1.5em;
    counter-reset: cs-counter;
    list-style: none;
}

.cs-single-content ol > li {
    margin-bottom: 0.6em;
    padding-left: 1.2em;
    position: relative;
    counter-increment: cs-counter;
}

.cs-single-content ol > li::before {
    content: counter(cs-counter);
    position: absolute;
    left: -0.3em;
    top: 0.1em;
    width: 1.5em;
    height: 1.5em;
    background: var(--cs-blue);
    color: var(--cs-white);
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-single-content li { line-height: 1.7; }

/* Better blockquote */
.cs-single-content blockquote {
    border-left: 4px solid var(--cs-blue-light);
    padding: 1.25rem 1.75rem;
    margin: 2em 0;
    background: linear-gradient(135deg, #eaf2f8 0%, #ebf5fb 100%);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--cs-gray-800);
    font-size: 1.08em;
    position: relative;
}

.cs-single-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.15em;
    left: 0.3em;
    font-size: 3em;
    color: var(--cs-blue-light);
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Strong text highlight */
.cs-single-content strong {
    color: var(--cs-gray-900);
    font-weight: 650;
}

/* Tables */
.cs-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75em 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cs-single-content th, .cs-single-content td {
    border: 1px solid var(--cs-gray-200);
    padding: 0.85rem 1rem;
    text-align: left;
}

.cs-single-content th {
    background: var(--cs-blue-dark);
    color: var(--cs-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cs-single-content tr:nth-child(even) { background: var(--cs-gray-100); }
.cs-single-content tr:hover { background: rgba(41,128,185,0.05); }

/* Featured image */
.cs-single-featured-img {
    margin: -2.5rem -3rem 2rem;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.cs-single-featured-img img { width: 100%; }

/* === Info Boxes === */
.cs-info-box {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.75em 0;
    border-left: 4px solid;
    position: relative;
}

.cs-info-box.cs-warning {
    background: linear-gradient(135deg, #fef9e7, #fdebd0);
    border-color: var(--cs-orange);
}

.cs-info-box.cs-danger {
    background: linear-gradient(135deg, #fdedec, #fadbd8);
    border-color: var(--cs-red);
}

.cs-info-box.cs-tip {
    background: linear-gradient(135deg, #eafaf1, #d5f5e3);
    border-color: var(--cs-green);
}

/* === FAQ Accordion === */
.cs-faq-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--cs-blue);
}

.cs-faq-section > h2 {
    border-left: none !important;
    background: none !important;
    padding-left: 0 !important;
    text-align: center;
    color: var(--cs-blue-dark);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.cs-faq-item {
    border: 1px solid var(--cs-gray-200);
    border-radius: 8px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.cs-faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cs-faq-item[open] {
    border-color: var(--cs-blue-light);
    box-shadow: 0 2px 12px rgba(41,128,185,0.1);
}

.cs-faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--cs-blue-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--cs-white);
    transition: background 0.2s;
    user-select: none;
}

.cs-faq-item summary::-webkit-details-marker { display: none; }

.cs-faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--cs-blue-light);
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    transition: transform 0.2s;
}

.cs-faq-item[open] summary::after {
    content: '\2212';
    color: var(--cs-green);
}

.cs-faq-item summary:hover {
    background: var(--cs-gray-100);
}

.cs-faq-item[open] summary {
    background: linear-gradient(90deg, rgba(39,174,96,0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--cs-gray-200);
}

.cs-faq-answer {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--cs-gray-800);
    background: var(--cs-gray-100);
}

.cs-faq-answer p:last-child { margin-bottom: 0; }

/* === Tags === */
.cs-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cs-gray-200);
}

.cs-tag {
    display: inline-block;
    background: var(--cs-gray-100);
    color: var(--cs-gray-800);
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin: 0.25rem 0.15rem;
    border: 1px solid var(--cs-gray-300);
    transition: all 0.2s;
}

.cs-tag:hover {
    background: var(--cs-blue);
    color: var(--cs-white);
    border-color: var(--cs-blue);
}

/* === Related Posts === */
.cs-related {
    max-width: var(--cs-content-width);
    margin: 2rem auto;
}

.cs-related h2 {
    margin-bottom: 1rem;
    color: var(--cs-blue-dark);
}

.cs-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

/* === Archive / Blog === */
.cs-archive {
    max-width: var(--cs-max-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.cs-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* === Pagination === */
.cs-pagination {
    text-align: center;
    padding: 2rem 0;
}

.cs-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cs-pagination a, .cs-pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.cs-pagination a {
    background: var(--cs-white);
    border: 1px solid var(--cs-gray-300);
    color: var(--cs-blue-light);
}

.cs-pagination a:hover {
    background: var(--cs-blue);
    color: var(--cs-white);
    border-color: var(--cs-blue);
}

.cs-pagination .current {
    background: var(--cs-blue);
    color: var(--cs-white);
    border: 1px solid var(--cs-blue);
}

/* === Sidebar === */
.cs-sidebar-widget {
    background: var(--cs-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cs-sidebar-widget h3 {
    font-size: 1rem;
    color: var(--cs-blue-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cs-green);
}

/* === Footer === */
.cs-footer {
    background: var(--cs-gray-900);
    color: rgba(255,255,255,0.7);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 3rem;
}

.cs-footer-inner {
    max-width: var(--cs-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cs-footer h3 {
    color: var(--cs-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cs-footer a { color: rgba(255,255,255,0.7); }
.cs-footer a:hover { color: var(--cs-white); }

.cs-footer ul { list-style: none; }
.cs-footer li { margin-bottom: 0.5rem; font-size: 0.9rem; }

.cs-footer-bottom {
    max-width: var(--cs-max-width);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* === Breadcrumbs === */
.cs-breadcrumbs {
    font-size: 0.85rem;
    color: var(--cs-gray-600);
    padding: 1rem 0;
    max-width: var(--cs-max-width);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.cs-breadcrumbs a { color: var(--cs-blue-light); }
.cs-breadcrumbs span { margin: 0 0.3rem; }

/* === 404 === */
.cs-404 {
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.cs-404 h1 { font-size: 4rem; color: var(--cs-blue); }
.cs-404 p { font-size: 1.1rem; color: var(--cs-gray-600); margin-bottom: 2rem; }

.cs-btn {
    display: inline-block;
    background: var(--cs-blue);
    color: var(--cs-white);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.cs-btn:hover {
    background: var(--cs-blue-dark);
    color: var(--cs-white);
}

.cs-btn-green { background: var(--cs-green); }
.cs-btn-green:hover { background: var(--cs-green-dark); }

/* === Search === */
.cs-search-form {
    display: flex;
    gap: 0.5rem;
}

.cs-search-form input[type="search"] {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid var(--cs-gray-300);
    border-radius: 4px;
    font-size: 0.95rem;
}

.cs-search-form button {
    background: var(--cs-blue);
    color: var(--cs-white);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* === Page Template === */
.cs-page {
    background: var(--cs-white);
    max-width: var(--cs-content-width);
    margin: 2rem auto;
    padding: 2.5rem 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.cs-page h1 {
    margin-bottom: 1.5rem;
    color: var(--cs-blue-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cs-green);
}

.cs-page-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--cs-gray-800);
}

.cs-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 0.6rem 0 0.6rem 1rem;
    border-left: 4px solid var(--cs-green);
    color: var(--cs-blue-dark);
    background: linear-gradient(90deg, rgba(39,174,96,0.06) 0%, transparent 100%);
    border-radius: 0 4px 4px 0;
}

.cs-page-content h3 {
    margin-top: 1.75rem;
    color: var(--cs-blue);
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed var(--cs-gray-300);
}

.cs-page-content ul {
    list-style: none;
    padding-left: 0;
}

.cs-page-content ul > li {
    padding-left: 1.6em;
    position: relative;
    margin-bottom: 0.5em;
}

.cs-page-content ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--cs-green);
    border-radius: 50%;
}

.cs-page-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--cs-blue-light), var(--cs-green), transparent);
    margin: 2.5rem 0;
}

/* === Responsive === */
@media (max-width: 960px) {
    .cs-menu-toggle { display: block; }

    .cs-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cs-blue-dark);
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        flex-wrap: wrap;
    }

    .cs-nav.active ul { display: flex; }

    .cs-nav a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

@media (max-width: 768px) {
    .cs-hero h1 { font-size: 1.8rem; }
    .cs-hero p { font-size: 1rem; }

    .cs-featured-grid,
    .cs-archive-grid { grid-template-columns: 1fr; }

    .cs-single { padding: 1.25rem; margin: 0.75rem; }
    .cs-single-featured-img { margin: -1.25rem -1.25rem 1.5rem; }
    .cs-single-header h1 { font-size: 1.6rem; }

    .cs-category-cards { grid-template-columns: repeat(2, 1fr); }

    .cs-page { padding: 1.25rem; margin: 0.75rem; }
    .cs-single-content > p:first-child::first-letter { font-size: 2.5em; }
}

@media (max-width: 480px) {
    .cs-category-cards { grid-template-columns: 1fr; }
    .cs-related-grid { grid-template-columns: 1fr; }
}

/* === WordPress Core === */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 1.5em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--cs-gray-600); margin-top: 0.5rem; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}
