/* ==========================================================================
   DevOps CloudRox — main.css
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-dark); }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; margin: 0 0 0.5em; }
.dcr-container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.screen-reader-text, .dcr-skip-link { position: absolute; left: -9999px; }
.dcr-skip-link:focus { left: 12px; top: 12px; background: var(--color-accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 999; }

/* Buttons */
.dcr-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; }
.dcr-btn-primary { background: var(--color-accent); color: #fff; }
.dcr-btn-primary:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-2px); }
.dcr-btn-outline { border-color: var(--color-border); color: var(--color-text); background: transparent; }
.dcr-btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Sections */
.dcr-section { padding: 64px 0; }
.dcr-section-alt { background: var(--color-bg-alt); }
.dcr-section-title { font-size: clamp(24px, 3vw, 34px); text-align: center; }
.dcr-section-sub { text-align: center; color: var(--color-text-muted); max-width: 620px; margin: 0 auto 40px; }
.dcr-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.dcr-section-head .dcr-section-title { text-align: left; margin: 0; }
.dcr-link-more { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ---------------- Header ---------------- */
.dcr-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
[data-theme="dark"] .dcr-header { background: rgba(15,21,33,0.92); }
.dcr-header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 24px; }
.dcr-logo-text { font-size: 20px; font-weight: 800; color: var(--color-text); }
.dcr-primary-nav { flex: 1; display: flex; justify-content: center; }
.dcr-nav-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.dcr-nav-list a { color: var(--color-text); font-weight: 500; font-size: 15px; }
.dcr-nav-list a:hover { color: var(--color-accent); }
.dcr-header-actions { display: flex; align-items: center; gap: 10px; }
.dcr-header-actions button { background: none; border: 1px solid var(--color-border); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-text); }
.dcr-header-actions button:hover { border-color: var(--color-accent); color: var(--color-accent); }
.dcr-mobile-toggle { display: none; flex-direction: column; gap: 4px; }
.dcr-mobile-toggle span { width: 18px; height: 2px; background: var(--color-text); border-radius: 2px; }

.dcr-search-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; border-top: 0 solid var(--color-border); }
.dcr-search-panel.is-open { max-height: 260px; border-top-width: 1px; }
.dcr-search-form { display: flex; gap: 8px; padding: 16px 0; }
.dcr-search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; background: var(--color-bg); color: var(--color-text); }
.dcr-search-form button { background: var(--color-accent); border: none; color: #fff; width: 44px; border-radius: var(--radius-sm); cursor: pointer; }
.dcr-search-suggestions { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); max-height: 300px; overflow-y: auto; margin-bottom: 12px; }
.dcr-search-suggestions a { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--color-border); color: var(--color-text); align-items: center; }
.dcr-search-suggestions img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

.dcr-mobile-nav { display: none; }
.dcr-mobile-nav.is-open { display: block; border-top: 1px solid var(--color-border); }
.dcr-mobile-nav-list { list-style: none; margin: 0; padding: 16px 24px; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 900px) {
  .dcr-primary-nav { display: none; }
  .dcr-mobile-toggle { display: flex; }
}

/* ---------------- Breadcrumbs ---------------- */
.dcr-breadcrumb-wrap { padding-top: 20px; }
.dcr-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 13px; color: var(--color-text-muted); }
.dcr-breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--color-border); }
.dcr-breadcrumb-on-banner .dcr-breadcrumbs { color: rgba(255,255,255,0.75); }
.dcr-breadcrumb-on-banner .dcr-breadcrumbs a { color: rgba(255,255,255,0.95); }

/* ---------------- Hero ---------------- */
.dcr-hero { padding: 80px 0; background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-bg) 100%); }
.dcr-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.dcr-hero-copy h1 { font-size: clamp(32px, 4.5vw, 52px); }
.dcr-hero-copy p { font-size: 18px; color: var(--color-text-muted); max-width: 520px; }
.dcr-hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.dcr-hero-svg { width: 100%; height: auto; }
@media (max-width: 860px) { .dcr-hero-inner { grid-template-columns: 1fr; } .dcr-hero-art { order: -1; max-width: 340px; margin: 0 auto; } }

/* ---------------- Category Grid ---------------- */
.dcr-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dcr-category-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px 20px; text-align: left; box-shadow: var(--shadow-sm); transition: all 0.2s ease; display: flex; flex-direction: column; gap: 6px; }
.dcr-category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.dcr-category-icon { font-size: 26px; color: var(--color-accent); width: 46px; height: 46px; background: var(--color-accent-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.dcr-category-name { font-weight: 700; font-size: 16px; color: var(--color-text); }
.dcr-category-desc { font-size: 13px; color: var(--color-text-muted); }
@media (max-width: 900px) { .dcr-category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dcr-category-grid { grid-template-columns: 1fr; } }

/* ---------------- Post grid / cards ---------------- */
.dcr-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dcr-post-grid-list { grid-template-columns: repeat(2, 1fr); }
.dcr-post-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.2s ease; display: flex; flex-direction: column; }
.dcr-post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dcr-post-card-img { position: relative; display: block; aspect-ratio: 16/10; background: var(--color-bg-alt); overflow: hidden; }
.dcr-post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dcr-post-cat { position: absolute; top: 12px; left: 12px; background: var(--color-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.dcr-post-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.dcr-post-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.dcr-post-card-body h3 a { color: var(--color-text); }
.dcr-post-card-body h3 a:hover { color: var(--color-accent); }
.dcr-post-meta { font-size: 12.5px; color: var(--color-text-muted); display: flex; gap: 6px; margin-bottom: 10px; }
.dcr-post-card-body p { font-size: 14px; color: var(--color-text-muted); margin: 0 0 12px; flex: 1; }
@media (max-width: 900px) { .dcr-post-grid, .dcr-post-grid-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .dcr-post-grid, .dcr-post-grid-list { grid-template-columns: 1fr; } }

/* Tutorial mini cards */
.dcr-tutorial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dcr-tutorial-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.dcr-tutorial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dcr-tutorial-card img { aspect-ratio: 8/5; object-fit: cover; }
.dcr-tutorial-card h4 { padding: 14px 16px 4px; font-size: 15px; color: var(--color-text); }
.dcr-tutorial-card .dcr-post-meta { padding: 0 16px 16px; margin: 0; }
@media (max-width: 900px) { .dcr-tutorial-grid { grid-template-columns: repeat(2, 1fr); } }

/* Projects */
.dcr-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.dcr-project-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.dcr-project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dcr-project-card-img { aspect-ratio: 16/10; background: var(--color-bg-alt); overflow: hidden; }
.dcr-project-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dcr-project-card-body { padding: 18px 20px 22px; }
.dcr-project-tech { font-size: 12.5px; color: var(--color-accent); font-family: var(--font-mono); }
.dcr-project-tech-lg { font-size: 14px; color: var(--color-text-muted); }
.dcr-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase; }
.dcr-badge-green { background: #dcfce7; color: #15803d; }
.dcr-badge-amber { background: #fef3c7; color: #b45309; }
.dcr-badge-red { background: #fee2e2; color: #b91c1c; }
@media (max-width: 900px) { .dcr-project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .dcr-project-grid { grid-template-columns: 1fr; } }

/* Roadmap teaser (homepage) */
.dcr-roadmap-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dcr-roadmap-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dcr-roadmap-mini li { display: flex; align-items: center; gap: 12px; background: var(--color-bg-alt); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 500; }
.dcr-roadmap-step-num { width: 26px; height: 26px; background: var(--color-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
@media (max-width: 860px) { .dcr-roadmap-teaser { grid-template-columns: 1fr; } }

/* Roadmap full timeline */
.dcr-roadmap-timeline { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.dcr-roadmap-card { display: flex; gap: 20px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); }
.dcr-roadmap-num { width: 44px; height: 44px; background: var(--color-accent-light); color: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.dcr-roadmap-content h3 { margin-bottom: 4px; }
.dcr-roadmap-content p { color: var(--color-text-muted); margin: 0 0 8px; }

/* Feature cards (Why Learn DevOps) */
.dcr-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dcr-feature-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.dcr-feature-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.dcr-feature-card p { color: var(--color-text-muted); font-size: 14px; }
@media (max-width: 900px) { .dcr-feature-grid { grid-template-columns: repeat(2, 1fr); } }

/* Newsletter */
.dcr-newsletter-section { background: var(--color-accent); color: #fff; text-align: center; }
.dcr-newsletter-inner h2 { color: #fff; }
.dcr-newsletter-inner p { opacity: 0.85; margin-bottom: 24px; }
.dcr-newsletter-form { display: flex; justify-content: center; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.dcr-newsletter-form input { flex: 1; min-width: 220px; padding: 13px 16px; border-radius: var(--radius-md); border: none; font-size: 15px; }

/* Testimonials */
.dcr-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dcr-testimonial-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); margin: 0; }
.dcr-testimonial-card p { font-style: italic; margin: 0 0 14px; }
.dcr-testimonial-card footer { font-size: 13.5px; color: var(--color-text-muted); }
@media (max-width: 900px) { .dcr-testimonial-grid { grid-template-columns: 1fr; } }

/* FAQ */
.dcr-faq-container { max-width: 760px; }
.dcr-faq-list { display: flex; flex-direction: column; gap: 12px; }
.dcr-faq-item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px 20px; }
.dcr-faq-item summary { font-weight: 600; cursor: pointer; }
.dcr-faq-item p { color: var(--color-text-muted); margin: 10px 0 0; }

/* Category banner */
.dcr-category-banner { background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%); color: #fff; padding: 20px 0 48px; text-align: center; }
.dcr-category-banner h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 10px 0; }
.dcr-category-desc-lg { color: rgba(255,255,255,0.9); max-width: 640px; margin: 0 auto; }
.dcr-category-icon-lg { font-size: 40px; width: 72px; height: 72px; background: rgba(255,255,255,0.15); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

/* Layout with sidebar */
.dcr-layout-with-sidebar { display: grid; grid-template-columns: 2.4fr 1fr; gap: 42px; padding: 36px 24px 64px; }
.dcr-content-col { min-width: 0; }
@media (max-width: 900px) { .dcr-layout-with-sidebar { grid-template-columns: 1fr; } }

/* Sidebar widgets */
.dcr-sidebar { display: flex; flex-direction: column; gap: 24px; }
.dcr-widget { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px; }
.dcr-widget-title { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--color-accent-light); }
.dcr-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dcr-widget-categories a { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-text); }
.dcr-widget-categories a:hover { color: var(--color-accent); }
.dcr-mini-post { display: flex; gap: 10px; align-items: center; }
.dcr-mini-post img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.dcr-mini-post a:last-child { font-size: 13.5px; font-weight: 500; color: var(--color-text); }
.dcr-widget-search form, .dcr-widget-newsletter form { display: flex; gap: 8px; }
.dcr-widget-search input, .dcr-widget-newsletter input { flex: 1; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-text); }
.dcr-widget-search button, .dcr-widget-newsletter button { background: var(--color-accent); color: #fff; border: none; border-radius: var(--radius-sm); padding: 0 14px; cursor: pointer; }
.dcr-ad-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); display: block; margin-bottom: 8px; text-align: center; }
.dcr-ad-box { background: var(--color-bg-alt); border: 1px dashed var(--color-border); border-radius: var(--radius-sm); min-height: 250px; display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 13px; }
.dcr-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.dcr-social-links a { width: 36px; height: 36px; border-radius: 50%; background: var(--color-accent-light); color: var(--color-accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.dcr-social-links a:hover { background: var(--color-accent); color: #fff; }

/* Sticky sidebar on wide viewports */
@media (min-width: 901px) { .dcr-sidebar { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }}

/* Pagination */
.dcr-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.dcr-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); font-size: 14px; }
.dcr-pagination .page-numbers.current { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.dcr-pagination .page-numbers:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Archive header / toolbar */
.dcr-archive-header h1 { font-size: 28px; }
.dcr-archive-toolbar { margin-bottom: 24px; }
.dcr-archive-search { display: flex; gap: 8px; max-width: 420px; }
.dcr-archive-search input { flex: 1; padding: 11px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.dcr-archive-search button { background: var(--color-accent); color: #fff; border: none; border-radius: var(--radius-sm); width: 42px; cursor: pointer; }
.dcr-no-posts { color: var(--color-text-muted); padding: 40px 0; }

/* Single post */
.dcr-single-header h1 { font-size: clamp(26px, 4vw, 38px); margin: 10px 0 12px; }
.dcr-post-cat-tag { display: inline-block; background: var(--color-accent-light); color: var(--color-accent); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; }
.dcr-single-thumb { margin: 24px 0; border-radius: var(--radius-lg); overflow: hidden; }
.dcr-single-content { font-size: 17px; line-height: 1.8; }
.dcr-single-content h2 { margin-top: 2em; font-size: 26px; }
.dcr-single-content h3 { margin-top: 1.6em; font-size: 21px; }
.dcr-single-content pre { background: #0f1521; color: #e6ecf5; padding: 18px; border-radius: var(--radius-md); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; }
.dcr-single-content code { font-family: var(--font-mono); background: var(--color-bg-alt); padding: 2px 6px; border-radius: 4px; }
.dcr-single-content img { border-radius: var(--radius-md); }
.dcr-inline-ad { margin: 32px 0; text-align: center; }
.dcr-author-box { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 20px; background: var(--color-bg-alt); border-radius: var(--radius-md); }
.dcr-author-box img { border-radius: 50%; }
.dcr-related-posts { margin-top: 48px; }

/* Static pages */
.dcr-page-container { padding: 36px 24px 64px; max-width: 900px; }
.dcr-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.dcr-about-card { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: 22px; }
.dcr-tech-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.dcr-tech-list li { background: var(--color-accent-light); color: var(--color-accent); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 20px; }
.dcr-cta-box { text-align: center; background: var(--color-bg-alt); border-radius: var(--radius-lg); padding: 40px; margin-top: 40px; }
@media (max-width: 700px) { .dcr-about-grid { grid-template-columns: 1fr; } }

/* Contact page */
.dcr-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 24px; }
.dcr-contact-form { display: flex; flex-direction: column; gap: 16px; }
.dcr-contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.dcr-contact-form input, .dcr-contact-form textarea { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; background: var(--color-bg); color: var(--color-text); }
.dcr-honeypot { position: absolute; left: -9999px; }
.dcr-notice { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.dcr-notice-success { background: #dcfce7; color: #15803d; }
.dcr-notice-error { background: #fee2e2; color: #b91c1c; }
.dcr-contact-plugin-note { font-size: 13px; color: var(--color-text-muted); }
.dcr-map-box { background: var(--color-bg-alt); border: 1px dashed var(--color-border); border-radius: var(--radius-sm); min-height: 160px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-text-muted); font-size: 13px; padding: 12px; }
@media (max-width: 800px) { .dcr-contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.dcr-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); margin-top: 60px; }
.dcr-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 24px 40px; }
.dcr-footer-col h4 { font-size: 15px; margin-bottom: 16px; }
.dcr-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.dcr-footer-col ul a { color: var(--color-text-muted); }
.dcr-footer-col ul a:hover { color: var(--color-accent); }
.dcr-footer-about p { color: var(--color-text-muted); font-size: 14px; }
.dcr-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.dcr-footer-bottom { border-top: 1px solid var(--color-border); }
.dcr-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--color-text-muted); }
.dcr-legal-menu { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.dcr-legal-menu a { color: var(--color-text-muted); }
@media (max-width: 900px) { .dcr-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dcr-footer-grid { grid-template-columns: 1fr; } }

/* Back to top */
.dcr-back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--color-accent); color: #fff; border: none; font-size: 18px; cursor: pointer; box-shadow: var(--shadow-md); z-index: 90; }
.dcr-back-to-top:hover { background: var(--color-accent-dark); }

/* 404 */
.dcr-404-page { text-align: center; padding: 100px 24px; }
.dcr-404-page h1 { font-size: 96px; color: var(--color-accent); margin: 0; }
.dcr-404-search { max-width: 380px; margin: 30px auto 0; display: flex; gap: 8px; }
.dcr-404-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.dcr-404-search button { background: var(--color-accent); color: #fff; border: none; padding: 0 18px; border-radius: var(--radius-sm); cursor: pointer; }

/* Comments (basic, WP default markup) */
.comment-list { list-style: none; padding: 0; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 12px; }
