/*
Theme Name: dtheme
Theme URI: https://example.com/dtheme
Author: alkimoberon
Description: Hafif ve hızlı haber teması.
Version: 1.0.1
Text Domain: dtheme
*/

:root {
  --dtheme-primary: #e30613;
  --dtheme-secondary: #111111;
  --dtheme-bg: #ffffff;
  --dtheme-text: #222222;
  --dtheme-link: #e30613;
  --dtheme-header-bg: #f50546;
  --dtheme-header-height: 120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: var(--dtheme-bg);
  color: var(--dtheme-text);
}

a {
  color: var(--dtheme-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.dtheme-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.dtheme-header-top {
  background: var(--dtheme-secondary);
  color: #ffffff;
}

.dtheme-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  font-size: 13px;
}

.dtheme-header-main {
  background: var(--dtheme-header-bg);
  color: #ffffff;
  min-height: var(--dtheme-header-height);
  display: flex;
  align-items: center;
}

.dtheme-header-main-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  gap: 20px;
  justify-content: center;
}

.dtheme-header-main-inner.align-left {
  justify-content: flex-start;
}

.dtheme-header-main-inner.align-right {
  justify-content: flex-end;
}

.dtheme-header-left {
  font-size: 14px;
  font-weight: 600;
  margin-right: auto;
  white-space: nowrap;
}

.dtheme-header-left:empty {
  display: none;
}

.dtheme-header-main-inner.align-left .dtheme-header-left {
  display: none;
}

.dtheme-logo {
  margin: 0 auto;
  text-align: center;
}

.dtheme-header-main-inner.align-left .dtheme-logo {
  margin: 0;
  text-align: left;
}

.dtheme-header-main-inner.align-right .dtheme-logo {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.dtheme-nav-bar {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dtheme-nav-bar .dtheme-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dtheme-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dtheme-nav-menu li {
  margin: 0;
}

.dtheme-nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dtheme-nav-bar.palette-light {
  background: #ffffff;
}

.dtheme-nav-bar.palette-light .dtheme-nav-menu a {
  color: #111;
}

.dtheme-nav-bar.palette-light .dtheme-nav-menu a:hover,
.dtheme-nav-bar.palette-light .dtheme-nav-menu .current-menu-item > a {
  background: #f0f0f0;
}

.dtheme-nav-bar.palette-dark {
  background: #111111;
}

.dtheme-nav-bar.palette-dark .dtheme-nav-menu a {
  color: #ffffff;
}

.dtheme-nav-bar.palette-dark .dtheme-nav-menu a:hover,
.dtheme-nav-bar.palette-dark .dtheme-nav-menu .current-menu-item > a {
  background: rgba(255,255,255,0.15);
}

.dtheme-nav-bar.palette-primary {
  background: var(--dtheme-primary);
}

.dtheme-nav-bar.palette-primary .dtheme-nav-menu a {
  color: #ffffff;
}

.dtheme-nav-bar.palette-primary .dtheme-nav-menu a:hover,
.dtheme-nav-bar.palette-primary .dtheme-nav-menu .current-menu-item > a {
  background: rgba(255,255,255,0.2);
}

.dtheme-layout {
  margin-top: 20px;
}

.dtheme-main-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}

.dtheme-main-row .dtheme-main-content {
  flex: 2 1 0;
  min-width: 0;
}

.dtheme-main-row .dtheme-main-sidebar {
  flex: 1 1 0;
  min-width: 280px;
  max-width: 360px;
}

@media (max-width: 1024px) {
  .dtheme-main-row {
    flex-direction: column;
  }

  .dtheme-main-row .dtheme-main-sidebar,
  .dtheme-main-row .dtheme-main-content {
    flex: 1 1 auto;
    min-width: 100%;
  }
}

.dtheme-breaking {
  margin-bottom: 18px;
  border-bottom: 1px solid #ededed;
}

.dtheme-breaking-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 14px;
  overflow: hidden;
}

.dtheme-breaking-label {
  font-weight: 700;
  color: var(--dtheme-primary);
  text-transform: uppercase;
}

.dtheme-breaking-ticker {
  flex: 1;
  color: #ffffff;
  overflow: hidden;
}

.dtheme-breaking-current a {
  color: #ffffff;
  text-decoration: none;
}

.dtheme-breaking-current a:hover {
  text-decoration: underline;
}

.dtheme-market {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.dtheme-market-weather {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.dtheme-market-weather-icon {
  font-size: 32px;
}

.dtheme-market-weather-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dtheme-market-weather-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
}

.dtheme-market-weather-select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #d6d6d6;
  background: #fff;
  font-size: 13px;
}

.dtheme-market-weather-location {
  font-weight: 600;
  color: #111;
}

.dtheme-market-weather-temp {
  font-size: 20px;
  font-weight: 700;
}

.dtheme-market-tickers {
  display: flex;
  flex: 1;
  gap: 12px;
  align-items: stretch;
}

.dtheme-market-item {
  flex: 1;
  min-width: 120px;
  background: #f9f9f9;
  border-radius: 24px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #ececec;
}

.dtheme-market-label {
  font-size: 12px;
  font-weight: 600;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dtheme-market-value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.dtheme-market-change {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.dtheme-market-change.is-up {
  color: #1ba160;
}

.dtheme-market-change.is-down {
  color: #d7263d;
}

.dtheme-market-change.is-flat {
  color: #888;
}

.dtheme-market-item.is-hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .dtheme-market {
    flex-direction: column;
    align-items: flex-start;
  }

  .dtheme-market-tickers {
    width: 100%;
    flex-wrap: wrap;
  }

  .dtheme-market-item {
    flex: calc(50% - 6px);
  }
}

@media (max-width: 640px) {
  .dtheme-market {
    display: none;
  }

  body.dtheme-market-mobile-enabled .dtheme-market {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0 20px;
  }

  body.dtheme-market-mobile-enabled .dtheme-market-weather {
    width: 100%;
    justify-content: space-between;
  }

  body.dtheme-market-mobile-enabled .dtheme-market-tickers {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.dtheme-market-mobile-enabled .dtheme-market-item {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .dtheme-header-main-inner {
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .dtheme-header-left,
  .dtheme-nav-bar .dtheme-nav-menu {
    margin: 0;
  }

  .dtheme-nav-bar .dtheme-container {
    justify-content: center;
  }
}

.dtheme-manset-wrap {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}

.dtheme-manset-left {
  flex: 2 1 0;
  min-width: 0;
  height: 392px;
}

.dtheme-manset-right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 392px;
}

.dtheme-manset {
  background: #000000;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  padding-bottom: 60px;
}

.dtheme-manset-slide {
  display: none;
}

.dtheme-manset-slide.is-active {
  display: block;
}

.dtheme-manset-image {
  position: relative;
}

.dtheme-manset-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.dtheme-manset-title {
  position: absolute;
  left: 20px;
  right: 0;
  bottom: 16px;
  padding: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.dtheme-manset-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0;
  padding: 0 2px;
  background: #050505;
  justify-content: center;
  align-items: stretch;
  z-index: 2;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.35);
}

.dtheme-manset-page {
  flex: 1 1 70px;
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  border: 2px solid #950014;
  background: linear-gradient(180deg, #ff3043 0%, #c4001d 100%);
  color: #ffffff;
  padding: 0 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
  text-align: center;
  line-height: 1;
}

.dtheme-manset-page.is-active {
  background: #ffffff;
  color: #c4001d;
  border-color: #ffffff;
  transform: none;
  box-shadow: none;
}

.dtheme-manset-page:hover,
.dtheme-manset-page:focus {
  outline: none;
  background: #ffffff;
  color: #c4001d;
}

@media (max-width: 600px) {
  .dtheme-manset-pagination {
    padding: 0;
  }

  .dtheme-manset-page {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 16px;
    height: 40px;
  }
}

.dtheme-card-small {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  flex: 1 1 0; /* iki kart, her biri yüksekliğin yarısını kaplasın */
  overflow: hidden;
}

.dtheme-card-small-thumb {
  position: relative;
  height: 100%;
}

.dtheme-card-small-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dtheme-card-small-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.dtheme-manset-right-card {
  flex: 1 1 0;
  position: relative;
  overflow: hidden;
}

.dtheme-manset-right-inner {
  display: block;
  height: 100%;
  position: relative;
}

.dtheme-manset-right-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dtheme-manset-right-caption {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.dtheme-manset-right-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

.dtheme-manset-right-meta {
  font-size: 12px;
  opacity: 0.85;
}

.dtheme-card-small-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

.dtheme-card-small-meta {
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.85;
}

.dtheme-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.dtheme-card {
  border: 1px solid #e4e4e4;
  background: #ffffff;
}

.dtheme-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.dtheme-card-body {
  padding: 12px 14px 16px;
}

.dtheme-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #333333;
}

.dtheme-card-meta {
  font-size: 12px;
  color: #333333;
  font-weight: 600;
}

.dtheme-footer {
  margin-top: 40px;
  background: var(--dtheme-secondary);
  color: #ffffff;
  padding: 20px 0;
  font-size: 13px;
}

.dtheme-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.dtheme-footer-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.dtheme-footer-online {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dtheme-footer-code {
  background: var(--dtheme-secondary);
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dtheme-footer-code a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.dtheme-footer-code a:hover {
  color: var(--dtheme-primary);
}

.widget {
  border: 1px solid #e4e4e4;
  background: #ffffff;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.dtheme-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0b1526;
  color: #e7ecf6;
  z-index: 9999;
  box-shadow: 0 -12px 40px rgba(12, 21, 34, 0.35);
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dtheme-cookie-banner.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.dtheme-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.dtheme-cookie-message {
  margin: 0;
  flex: 1 1 480px;
  font-size: 14px;
  line-height: 1.5;
}

.dtheme-cookie-message a {
  color: #6fb9ff;
  text-decoration: underline;
}

.dtheme-cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dtheme-cookie-button {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.dtheme-cookie-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.dtheme-cookie-button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.dtheme-cookie-button.is-accept {
  background: #1dbf5b;
}

.dtheme-cookie-button.is-reject {
  background: #3c414b;
}

@media (max-width: 640px) {
  .dtheme-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .dtheme-cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dtheme-cookie-message {
    flex: 1 1 auto;
    width: 100%;
  }
}

.widget-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--dtheme-primary);
}

.dtheme-latest-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dtheme-latest-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
}

.dtheme-latest-icon {
  color: var(--dtheme-primary);
  font-size: 10px;
  margin-top: 4px;
}

.dtheme-latest-link {
  color: #222222;
}

.dtheme-latest-link:hover {
  color: var(--dtheme-primary);
}

.dtheme-sidebar-card {
  border-bottom: 1px solid #ececec;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.dtheme-sidebar-card-thumb {
  position: relative;
}

.dtheme-sidebar-card-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.dtheme-sidebar-card-date {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0,0,0,0.7);
  color: #ffffff;
  font-size: 11px;
  padding: 2px 5px;
  border-radius: 2px;
}

.dtheme-sidebar-card-title {
  font-size: 13px;
  margin: 6px 0 0;
}

.dtheme-side-manset {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e8ff;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(16, 24, 40, 0.12);
  margin-bottom: 18px;
}

.dtheme-side-manset-slides {
  position: relative;
}

.dtheme-side-manset-slide {
  display: none;
}

.dtheme-side-manset-slide.is-active {
  display: block;
}

.dtheme-side-manset-figure {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dtheme-side-manset-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dtheme-side-manset-slide.is-active .dtheme-side-manset-cover {
  transform: scale(1.03);
}

.dtheme-side-manset-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px 24px;
  background: linear-gradient(180deg, rgba(7, 11, 25, 0.05) 0%, rgba(7, 11, 25, 0.85) 95%);
  color: #ffffff;
  text-shadow: 0 5px 14px rgba(0, 0, 0, 0.55);
}

.dtheme-side-manset-date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.dtheme-side-manset-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
}

.dtheme-side-manset-excerpt {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.dtheme-side-manset-nav {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
}

.dtheme-side-manset-arrow {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: none;
  background: rgba(5, 7, 16, 0.5);
  color: #ffffff;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.dtheme-side-manset-arrow::after {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.dtheme-side-manset-arrow.is-prev::after {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.dtheme-side-manset-arrow:hover {
  background: rgba(5, 7, 16, 0.75);
}

.dtheme-follow {
  padding: 4px 0;
}

.dtheme-follow-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dtheme-follow-item {
  width: 46px;
  height: 46px;
}

.dtheme-follow-link {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #f5f7ff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #111827;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dtheme-follow-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.15);
}

.dtheme-follow-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dtheme-weather-widget {
  background: #f7f9ff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dtheme-weather-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dtheme-weather-icon {
  font-size: 36px;
}

.dtheme-weather-location {
  font-weight: 600;
  color: #0f172a;
}

.dtheme-weather-temp {
  font-size: 20px;
  font-weight: 700;
  color: #1d273b;
}

.dtheme-weather-select-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.dtheme-weather-select {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
}

.dtheme-finance-widget {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  background: #ffffff;
}

.dtheme-finance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dtheme-finance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f5f7ff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 13px;
  gap: 10px;
}

.dtheme-finance-label {
  font-weight: 700;
  color: #111827;
}

.dtheme-finance-value {
  font-weight: 600;
  color: #0b1120;
}

.dtheme-finance-change {
  font-weight: 600;
  font-size: 12px;
}

.dtheme-finance-change.is-up {
  color: #18a957;
}

.dtheme-finance-change.is-down {
  color: #e30613;
}

.dtheme-finance-change.is-flat {
  color: #64748b;
}


.dtheme-after-slider {
  margin: 30px 0 10px;
}

.dtheme-after-title {
  font-size: 18px;
  margin: 0 0 10px;
}

.dtheme-after-track {
  position: relative;
}

.dtheme-after-slide {
  display: none;
}

.dtheme-after-slide.is-active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dtheme-post-line {
  border-bottom: 1px solid #ececec;
}

.dtheme-post-line-inner {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.dtheme-post-line-title {
  color: #222222;
}

.dtheme-post-line-date {
  color: #999999;
  font-size: 12px;
  margin-left: 12px;
}

@media (max-width: 960px) {
  .dtheme-home-top {
    grid-template-columns: 1fr;
  }

  .dtheme-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dtheme-breaking {
    display: none;
  }

  .dtheme-main-row {
    flex-direction: column;
  }

  .dtheme-main-row .dtheme-card-grid,
  .dtheme-main-row .dtheme-sidebar {
    width: 100%;
  }

  .dtheme-header-top-inner,
  .dtheme-header-main-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dtheme-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dtheme-header-main-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dtheme-manset-title {
    font-size: 18px;
  }
  .dtheme-sidebar-card-thumb img {
    height: 110px;
    object-fit: cover;
    display: block;
  }
  .dtheme-card-body {
    padding: 12px 14px 16px;
  }
}

.dtheme-mobile .dtheme-manset-wrap {
  flex-direction: column;
  margin-bottom: 20px;
}

.dtheme-mobile .dtheme-manset-left,
.dtheme-mobile .dtheme-manset-right {
  width: 100%;
  height: auto;
}

.dtheme-mobile .dtheme-manset-right {
  flex-direction: column;
  gap: 12px;
}

.dtheme-mobile .dtheme-manset-right-card {
  min-height: 200px;
}
