@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);

/* Theme Mode Styles */
body.light-theme {
  --bg-color: #ffffff;
  --text-color: #121212;
  --header-bg: #ffffff;
  --card-bg: #ffffff;
  --border-color: rgba(0,0,0,.1);
  --shadow-color: rgba(173,168,168,.1);
  --link-color: #121212;
  --link-hover-color: #E0193F;
}

body.dark-theme {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --header-bg: #222222;
  --card-bg: #2a2a2a;
  --border-color: rgba(255,255,255,.1);
  --shadow-color: rgba(0,0,0,.3);
  --link-color: #ffffff;
  --link-hover-color: #ff6b87;
}

body {
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--link-color);
  transition: 0.5s; }
  a:hover {
    color: var(--link-hover-color);
    text-decoration: none; }

* {
  outline: none !important; }

.fa-1x {
  background: transparent;
  font-size: 1rem; }

.content-shadow {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-bottom: inset 2px rgba(80,80,80,.2);
  box-shadow: 0 1px 1px var(--shadow-color); }

/* Theme toggle button styles */
.theme-toggle {
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text-color);
}

.theme-toggle:hover {
  color: var(--link-hover-color);
}

/* Header styles for dark mode */
#header {
  background-color: var(--header-bg);
  transition: background-color 0.3s ease;
}

/* Card styles for dark mode */
.card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.card-body {
  background-color: var(--card-bg);
  color: var(--text-color);
}

/* Navigation styles for dark mode */
#navigation .navbar-nav .nav-item .nav-link {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: -0.30px;
  border-bottom: 3px solid transparent;
  transition: 0.5s; }

#navigation .navbar-nav .nav-item:hover .nav-link, #navigation .navbar-nav .nav-item.active .nav-link {
  color: #E0193F;
  border-color: #E0193F; }

/* Footer styles for dark mode */
#footer {
  background-color: var(--header-bg);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

ul.iletisimBilgileri {width: 100%;height: auto;overflow: hidden;}
ul.iletisimBilgileri > li {width: 100%;height: 50px;list-style: none;font-size: 14px;font-weight: 400;}

@media only screen and (max-width: 320px) {
.reklam {width: 100%;}
}
@media only screen and (min-width: 320px) and (max-width: 480px) {
.reklam {width: 100%;}
}
@media only screen and (min-width: 480px) and (max-width: 768px) {
.reklam {width: 100%;}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.reklam {width: 100%;}
}

/* @Header */
#header {
  margin-bottom: 30px; }

.last-articles .article-item {
  font-size: 14px; }

@media (max-width: 575px) {
  .last-articles .article-item {
    font-size: 12px; } }

/* @Navigation */
@media (min-width: 1200px) {
  #navigation .navbar-nav {
    justify-content: space-evenly; } }

/* @Language */
.language.dropdown #languageDropdown {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  box-shadow: none; }
  .language.dropdown #languageDropdown:after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: unset;
    border: none; }

.language.dropdown .dropdown-menu {
  padding: 0;
  border-radius: 0;
  border: none; }
  .language.dropdown .dropdown-menu.show {
    display: flex; }
  .language.dropdown .dropdown-menu .dropdown-item {
    flex: 0 0 50%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    background-color: #E5E5E5;
    color: #121212;
    font-weight: 300;
    font-family: "Roboto", sans-serif;
    transition: none; }
    .language.dropdown .dropdown-menu .dropdown-item.active, .language.dropdown .dropdown-menu .dropdown-item:hover {
      background-color: #E0193F;
      color: #ffffff; }

/* @Slider */
.slider-thumbnail {
  position: relative; }
  .slider-thumbnail .slider .slider-item {
    position: relative; }
    .slider-thumbnail .slider .slider-item .slider-item-content-container {
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      width: 100%; }
      .slider-thumbnail .slider .slider-item .slider-item-content-container .slider-item-content {
        color: #ffffff; }
        .slider-thumbnail .slider .slider-item .slider-item-content-container .slider-item-content .slider-item-title {
          background-color: rgba(224, 25, 63, 0.7);
          color: #ffffff;
          font-size: 35px;
          font-weight: 600;
          display: inline-flex; }
        .slider-thumbnail .slider .slider-item .slider-item-content-container .slider-item-content .slider-item-description {
          background-color: rgba(0, 0, 0, 0.7); }
  .slider-thumbnail .slider-thumb-container .slider-thumb-item {
    cursor: pointer;
    transition: 0.5s; }
    .slider-thumbnail .slider-thumb-container .slider-thumb-item img {
      transition: 0.5s; }
  .slider-thumbnail .slider-thumb-container .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2; }
    .slider-thumbnail .slider-thumb-container .slick-arrow.slick-prev {
      left: 15px; }
    .slider-thumbnail .slider-thumb-container .slick-arrow.slick-next {
      right: 15px; }
  @media (min-width: 1200px) {
    .slider-thumbnail {
      margin-bottom: 130px; }
      .slider-thumbnail .slider-thumb-container {
        position: absolute;
        bottom: -95px;
        left: 0;
        width: 100%;
        z-index: 2; } }

/* @Section */
.section-title h4 {
  font-size: 1.2rem;
  color: var(--text-color);
  position: relative; }
  .section-title h4:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    margin: auto;
    width: 100px;
    height: 2px;
    background-color: #E0193F; }

.section-content .card > button {
  padding: 0; }

.section-content .card .card-img-overlay {
  z-index: 2;
  padding-left: 0;
  padding-right: 0;
  text-align: left; }
  .section-content .card .card-img-overlay .badge {
    border-radius: 0;
    font-size: 1rem;
    font-weight: 300;
    padding: 5px; }

.section-content .card .card-image {
  position: relative;
  padding-top: 60%;
  overflow: hidden; }
  .section-content .card .card-image:before {
    content: "";
    display: block;
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    visibility: hidden; }
  .section-content .card .card-image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 100%; }
  .section-content .card .card-image .card-img-top {
    transition: 0.5s; }

@media (min-width: 1200px) {
  .section-content .card:hover .card-image:before {
    opacity: 1;
    visibility: visible; }
  .section-content .card:hover .card-image .card-img-top {
    filter: brightness(0.5); } }

.section-content .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2; }
  .section-content .slick-arrow.slick-prev {
    left: 15px; }
  .section-content .slick-arrow.slick-next {
    right: 15px; }

.blog .card .card-image-container {
  position: relative; }

.blog .card .card-body {
  padding: 10px; }
  .blog .card .card-body .card-title {
    margin-left: -15px;
    font-size: 14px;
    color: var(--text-color); }
  .blog .card .card-body .card-text {
    font-size: 12px;
    height: 40px;
    overflow: hidden;
    color: var(--text-color); }

/* @Excange Rates */
.exchange-rates a[title="Dolar"] {
  color: #59BF59; }

.exchange-rates a[title="Euro"] {
  color: #DA2C38; }

.exchange-rates a[title="Altın"] {
  color: #FFCC5C; }

.exchange-rates a[title="Borsa"] {
  color: #1DB5D2; }

.exchange-rates a[title="Kripto"] {
  color: #F3650F; }

.exchange-rates a[title="Yen"] {
  color: blue; }

.exchange-rates strong {
  height: auto !important;
  overflow: auto !important; }

@media (max-width: 991px) {
  .exchange-rates .section-content .binary-list .binary-list-item {
    flex: 0 0 100%;
    max-width: 100%; } }

/* @Binary */
.binary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap; }
  .binary-list .binary-list-item {
    flex: 0 0 50%;
    max-width: 100%;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0; }
    .binary-list .binary-list-item strong {
      height: 40px;
      overflow: hidden;
      display: block;
      color: var(--text-color); }
    .binary-list .binary-list-item i, .binary-list .binary-list-item span {
      display: inline-block;
      vertical-align: middle;
      color: var(--text-color); }
    .binary-list .binary-list-item span {
      padding-left: 5px; }
    .binary-list .binary-list-item:nth-child(even) {
      border-left: 1px solid var(--border-color); }
    .binary-list .binary-list-item:last-child, .binary-list .binary-list-item:nth-last-child(2) {
      border-bottom: none; }

/* @List Group */
.list-group .list-group-item {
  background-color: var(--card-bg);
  color: var(--text-color);
  border-color: var(--border-color);
}

.list-group .list-group-item strong {
  height: 40px;
  overflow: hidden;
  display: block;
  color: var(--text-color); }

/* @Comments */
.comments form .form-control {
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 10px #f7f7f7;
  background-color: #fff;
  color: #BBBBBB;
  font-size: 1rem;
  font-weight: 300; }

/* @Pagination */
.pagination .page-item {
  padding: 0 5px; }
  .pagination .page-item .page-link {
    background-color: #EEEEEE;
    color: #9F9F9F;
    font-size: 1rem;
    border: none;
    border-radius: 0; }
  .pagination .page-item:hover .page-link, .pagination .page-item.active .page-link {
    background-color: #E0193F;
    color: #ffffff; }

/* @Social Links */
.social-links a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem; }
  .social-links a:hover {
    color: #ffffff; }

/* @Newsletter */
.newsletter-title h4 {
  font-size: 14px;
  font-weight: 300;
  color: #ffffff;
  border-bottom: 3px solid #272727;
  position: relative;
  padding-bottom: 15px; }
  .newsletter-title h4:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 33px;
    height: 3px;
    background-color: #E0193F; }

.newsletter-title p {
  color: #7C7C7C;
  font-size: 12px;
  font-weight: 300; }

.newsletter-content .input-group .form-control {
  font-size: 12px;
  border: 1px solid #232323;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none; }

.newsletter-content .input-group .btn {
  font-size: 12px;
  font-weight: 300; }

/* @Footer */
#footer {
  background-color: #486aa5;
  margin-top: 30px;
  position: relative;
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  /* @Footer Menu*/ }
  #footer .footer-top .footer-top-content {
    padding: 15px;
    border-radius: 10px;
    background-color: #486aa5;
    box-shadow: 0px 12px 14px 6px rgba(255, 255, 255, 0.16), 0 2px 10px 0 rgba(255, 255, 255, 0.12); }
  #footer .footer-menu .footer-menu-header {
    margin-bottom: 15px; }
    #footer .footer-menu .footer-menu-header h2 {
      border-bottom: 3px solid #272727; }
      #footer .footer-menu .footer-menu-header h2 button {
        font-size: 14px;
        font-weight: 300;
        color: #ffffff;
        padding-right: 0;
        padding-left: 0;
        position: relative; }
        #footer .footer-menu .footer-menu-header h2 button:before {
          content: "";
          display: block;
          position: absolute;
          bottom: -3px;
          left: 0;
          width: 100%;
          height: 3px;
          background-color: #E0193F; }
  #footer .footer-menu .footer-menu-body ul {
    list-style: none;
    margin: 0;
    padding: 0; }
    #footer .footer-menu .footer-menu-body ul li a {
      display: block;
      padding: 5px 0;
      color: rgba(255,255,255,0.6);
      font-size: 12px;
      font-weight: 300; }
      #footer .footer-menu .footer-menu-body ul li a:hover {
        color: #E0193F; }
  @media (min-width: 1200px) {
    #footer .footer-top {
      position: absolute;
      top: -27px;
      left: 0;
      width: 100%;
      z-index: 2; }
    #footer .footer-bottom {
      padding-top: 50px;
      padding-bottom: 30px; }
    #footer .footer-menu .footer-menu-header {
      pointer-events: none; }
      #footer .footer-menu .footer-menu-header h2 button {
        box-shadow: none; }
    #footer .footer-menu .collapse {
      display: block; } }

/* @Modal */
.modal iframe {
  width: 465px;
  height: 315px; }

@media (max-width: 991px) {
  .modal {
    width: 100%; } }

/* @Override */
.btn-primary {
  color: #fff;
  background-color: #E0193F;
  border-color: #be1535; }
  .btn-primary:hover {
    color: #fff;
    background-color: #b21432;
    border-color: #e72b4f; }
  .btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #b21432;
    border-color: #e72b4f;
    box-shadow: 0 0 0 0.2rem rgba(199, 56, 84, 0.5); }
  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #E0193F;
    border-color: #be1535; }
  .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #ea4262;
    border-color: #560a18; }
    .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
      box-shadow: 0 0 0 0.2rem rgba(199, 56, 84, 0.5); }

.text-primary {
  color: #E0193F !important; }

.badge-primary {
  background-color: #B30505;
  color: #ffffff; }

/* Additional dark mode fixes */
.header-bottom {
  background-color: #1a1a1a !important;
}

.dark-theme .header-bottom {
  background-color: #000 !important;
}

input, textarea, select {
  background-color: var(--card-bg) !important;
  color: var(--text-color) !important;
  border-color: var(--border-color) !important;
}

input::placeholder, textarea::placeholder {
  color: var(--text-color) !important;
  opacity: 0.7;
}

.dark-theme .form-control {
  background-color: #333 !important;
  color: #f1f1f1 !important;
  border-color: #444 !important;
}

table {
  color: var(--text-color) !important;
}

.table {
  color: var(--text-color) !important;
}

.table td, .table th {
  border-color: var(--border-color) !important;
}

.modal-content {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border-color: var(--border-color) !important;
}

/* Additional dark mode specific overrides */
.dark-theme h1, 
.dark-theme h2, 
.dark-theme h3, 
.dark-theme h4, 
.dark-theme h5, 
.dark-theme h6,
.dark-theme p,
.dark-theme span,
.dark-theme div,
.dark-theme li {
  color: var(--text-color);
}

.dark-theme .card {
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.dark-theme .btn-primary {
  color: #fff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

.dark-theme .header-bottom {
  background-color: #111 !important;
}

.dark-theme .dropdown-menu {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.dark-theme .dropdown-item {
  color: var(--text-color);
}

.dark-theme .dropdown-item:hover,
.dark-theme .dropdown-item:focus {
  background-color: #444;
  color: white;
}

.dark-theme #footer {
  background-color: #333;
}

.dark-theme .nav-link {
  color: var(--text-color) !important;
}

.dark-theme .nav-link:hover {
  color: var(--link-hover-color) !important;
}

.dark-theme blockquote {
  background-color: #333;
  border-left-color: var(--link-hover-color);
}

/* Improved form inputs in dark mode */
.dark-theme input, 
.dark-theme textarea, 
.dark-theme select,
.dark-theme .form-control {
  background-color: #333 !important;
  color: #fff !important;
  border-color: #444 !important;
}

.dark-theme .slick-prev, 
.dark-theme .slick-next {
  background-color: #333 !important;
}

.dark-theme .modal-header,
.dark-theme .modal-footer {
  border-color: var(--border-color);
}

.dark-theme pre, 
.dark-theme code {
  background-color: #333;
  color: #f1f1f1;
}

/* Fix for breadcrumb in dark mode */
.dark-theme .breadcrumb {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.dark-theme .breadcrumb-item {
  color: var(--text-color);
}

.dark-theme .breadcrumb-item.active {
  color: var(--link-hover-color);
}

.dark-theme .breadcrumb-item a {
  color: var(--link-color);
}

.dark-theme .breadcrumb-item a:hover {
  color: var(--link-hover-color);
}

/* Fix for detail page content */
.dark-theme .detail .detail-content h5 {
  color: var(--text-color);
}

.dark-theme .detail .detail-content .text-muted,
.dark-theme .detail-content-text.text-muted,
.dark-theme .comment-item .text-muted,
.dark-theme small,
.dark-theme .lead {
  color: #b0b0b0 !important;
}

.dark-theme .comment-item {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.dark-theme .similar-subjects .section-title h4,
.dark-theme .comments-list .section-title h4,
.dark-theme .comments .section-title h4 {
  color: var(--text-color);
}

/* Fix for sidebar */
.dark-theme aside .list-group-item {
  background-color: var(--card-bg);
  color: var(--text-color);
  border-color: var(--border-color);
}

.dark-theme aside .list-group-item a {
  color: var(--link-color);
}

.dark-theme aside .list-group-item a:hover {
  color: var(--link-hover-color);
}

/* Additional fixes for Bootstrap components in dark mode */
.dark-theme .alert {
  background-color: #333;
  color: var(--text-color);
  border-color: var(--border-color);
}

.dark-theme .alert-warning {
  background-color: #665e28;
  color: #f8f9c4;
  border-color: #6c6a33;
}

.dark-theme .alert-success {
  background-color: #285e39;
  color: #c4f9d1;
  border-color: #256b3a;
}

.dark-theme .alert-danger {
  background-color: #632828;
  color: #f9c4c4;
  border-color: #6b2525;
}

.dark-theme .alert-info {
  background-color: #285a65;
  color: #c4f1f9;
  border-color: #25666b;
}

/* Fix for .text-muted class which is commonly used */
.dark-theme .text-muted {
  color: #a7a7a7 !important;
}

/* Fix article content which may have hardcoded colors */
.dark-theme #main article,
.dark-theme #main section,
.dark-theme .detail-content-text {
  color: var(--text-color) !important;
}

.dark-theme #main article p,
.dark-theme #main section p,
.dark-theme #main article span,
.dark-theme #main section span,
.dark-theme #main article div,
.dark-theme #main section div,
.dark-theme #main article li,
.dark-theme #main section li {
  color: var(--text-color) !important;
}

.dark-theme #main article a,
.dark-theme #main section a {
  color: var(--link-hover-color) !important;
}

/* Fix background color in dark mode for article pages */
.dark-theme #main {
  background-color: var(--bg-color) !important;
}

.dark-theme .detail {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}

/* Force strongly set colors in article content */
.dark-theme .detail-content-text.text-muted * {
  color: var(--text-color) !important;
}

.dark-theme .detail-content-text.text-muted strong,
.dark-theme .detail-content-text.text-muted b {
  color: #ffffff !important;
}

.dark-theme .detail-content-text.text-muted a {
  color: var(--link-hover-color) !important;
}

/* Make sure breadcrumb is visible */
.dark-theme .breadcrumb {
  background-color: #2a2a2a !important;
}

.dark-theme .breadcrumb-item+.breadcrumb-item::before {
  color: #888 !important;
}

/* Fix article content background and text colors */
.dark-theme .detail-content-text {
  background-color: var(--card-bg) !important;
  color: var(--text-color) !important;
  padding: 15px;
  border-radius: 4px;
}

.dark-theme .detail-content,
.dark-theme .detail-content div,
.dark-theme .detail-content p,
.dark-theme .detail-content span,
.dark-theme .detail-content h1,
.dark-theme .detail-content h2,
.dark-theme .detail-content h3,
.dark-theme .detail-content h4,
.dark-theme .detail-content h5,
.dark-theme .detail-content h6,
.dark-theme .detail-content li,
.dark-theme .detail-content a {
  color: var(--text-color) !important;
  background-color: transparent !important;
}

/* Fix the tag button text color */
.dark-theme .btn-primary,
.dark-theme .btn-block.btn-primary,
.dark-theme a.btn.btn-primary,
.dark-theme .col a.btn.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important; 
  background-color: #E0193F !important;
  border-color: #E0193F !important;
  font-weight: 500 !important;
}

/* Increase contrast for article detail sections */
.dark-theme .detail-content {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 20px;
}

.dark-theme .detail-image {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
}

/* Ensure all article text has proper contrast */
.dark-theme .detail * {
  background-color: transparent !important;
}

.dark-theme .detail p,
.dark-theme .detail div:not(.btn),
.dark-theme .detail span:not(.btn) {
  color: var(--text-color) !important;
}

/* Force all news content text to be visible */
.dark-theme .detail-content-text.text-muted {
  color: #e0e0e0 !important;
}

.dark-theme .detail-content-text.text-muted p,
.dark-theme .detail-content-text.text-muted div,
.dark-theme .detail-content-text.text-muted span,
.dark-theme .detail-content-text.text-muted strong,
.dark-theme .detail-content-text.text-muted b,
.dark-theme .detail-content-text.text-muted i,
.dark-theme .detail-content-text.text-muted em,
.dark-theme .detail-content-text.text-muted li {
  color: #e0e0e0 !important;
  background-color: transparent !important;
}

/* Override any white backgrounds in the article content */
.dark-theme main#main,
.dark-theme main#main > div,
.dark-theme main#main > div > .row,
.dark-theme main#main > div > .row > section,
.dark-theme main#main > div > .row > section > div,
.dark-theme main#main > div > .row > section > div > div {
  background-color: var(--bg-color) !important;
}

/* Stronger overrides for any white content */
.dark-theme .detail .detail-content * {
  background-color: transparent !important;
}

/* Increase contrast of text in dark mode */
.dark-theme .detail-content-text.text-muted {
  color: #e0e0e0 !important;
  background-color: var(--card-bg) !important;
}

/* Fix tag buttons */
.dark-theme .col .btn-primary,
.dark-theme .col-lg-auto .btn-primary,
.dark-theme .col .btn-block.btn-primary,
.dark-theme .col-lg-auto .btn-block.btn-primary {
  color: white !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  font-weight: bold !important;
}

/* Make sure no white background remains in news content */
.dark-theme .detail, 
.dark-theme .detail-content, 
.dark-theme .detail-content-text,
.dark-theme .detail-content-text.lead,
.dark-theme .detail-content-text.text-muted,
.dark-theme .detail-content-text.lead.mb-3 {
  background-color: var(--card-bg) !important;
}

/* Fix the bottom margin of paragraphs to avoid white gaps */
.dark-theme .detail-content-text p {
  margin-bottom: 15px;
  padding-bottom: 0;
  background-color: transparent !important;
}

/* Target specific elements in the article you mentioned */
.dark-theme .detail-content-text.text-muted.lead.mb-3 {
  color: #e0e0e0 !important;
  background-color: var(--card-bg) !important;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px !important;
}

/* Fix the styling for the metadata elements like comments, views, date */
.dark-theme .fa-1x small,
.dark-theme .fa-1x small i,
.dark-theme .fa-1x small span,
.dark-theme .row.align-items-center.fa-1x.mb-3 .col-auto small {
  color: #b8b8b8 !important;
}

/* Fix any buttons or colored areas */
.dark-theme .btn-primary {
  background-color: #E0193F !important;
  border-color: #be1535 !important;
  color: white !important;
}

/* Make sure any forced white backgrounds are removed */
.dark-theme section {
  background-color: var(--bg-color) !important;
}

/* Ensure content is readable */
.dark-theme #main p,
.dark-theme #main div:not(.btn) {
  color: var(--text-color) !important;
}

/* Enhance link contrast */
.dark-theme #main a:not(.btn) {
  color: #ff6b87 !important;
  text-decoration: underline;
}

/* Fix quotation sections if any */
.dark-theme blockquote,
.dark-theme .blockquote {
  background-color: #333 !important;
  border-left: 4px solid #E0193F !important;
  color: #e0e0e0 !important;
  padding: 10px 20px;
}

/* Additional fix for tags/buttons specifically */
.dark-theme .col a.btn.btn-block.btn-primary,
.dark-theme .col-lg-auto a.btn.btn-block.btn-primary,
.dark-theme [title] a.btn.btn-primary {
  color: white !important;
  font-weight: bold !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Fix for tag buttons text color - make it pure white */
.dark-theme a.btn.btn-block.btn-primary.rounded-0[title],
.dark-theme a.btn.btn-primary.rounded-0[title],
.dark-theme .col a.btn.btn-block.btn-primary.rounded-0,
.dark-theme .col-lg-auto a.btn.btn-block.btn-primary.rounded-0,
.dark-theme .col-auto a.btn.btn-block.btn-primary.rounded-0,
.dark-theme .col-auto a.btn.btn-primary.rounded-0,
.dark-theme .col a.btn.btn-primary.rounded-0,
.dark-theme .col-lg-auto a.btn.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

/* Additional fixes for the specific tag buttons */
.dark-theme a[href^="/etiket/"],
.dark-theme a[href*="/etiket/"] {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Add !important to override any other styles */
.dark-theme .detail-content .row.align-items-center .col a.btn,
.dark-theme .detail-content .row.align-items-center .col-auto a.btn,
.dark-theme .detail-content .row.align-items-center .col-lg-auto a.btn {
  color: #ffffff !important;
}

/* Target the exact structure you shared */
.dark-theme a[href^="https://demo19.sosyalspace.xyz/etiket/"],
.dark-theme a[href*="/etiket/"].btn.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

/* More aggressive tag button text color fixes */
.dark-theme .btn-primary,
.dark-theme a.btn-primary,
.dark-theme button.btn-primary {
  color: rgba(255, 255, 255, 1) !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Target buttons by their structure and make them white */
.dark-theme .detail-content .row.align-items-center div[class^="col"] a.btn.btn-primary {
  color: rgba(255, 255, 255, 1) !important;
}

/* Redefine the primary button styles for dark theme */
.dark-theme .btn-primary {
  color: #fff !important;
  background-color: #E0193F !important;
  border-color: #be1535 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.dark-theme .btn-primary:hover {
  color: #fff !important;
  background-color: #ff3a5f !important;
  border-color: #e72b4f !important;
}

/* Override Bootstrap styles that might affect button text color */
.dark-theme .btn.btn-primary,
.dark-theme .btn.btn-primary:active,
.dark-theme .btn.btn-primary:focus,
.dark-theme .btn.btn-primary:hover {
  color: #fff !important;
}

/* Force white text with extreme specificity */
.dark-theme .row.align-items-center div[class*="col"] a.btn.btn-primary.rounded-0[title],
.dark-theme .row.align-items-center div[class*="col"] a.btn.btn-block.btn-primary.rounded-0,
.dark-theme div.detail-content div.row.align-items-center div[class*="col"] a.btn.btn-primary,
.dark-theme div.detail-content div.row.align-items-center div[class*="col"] a.btn.btn-block.btn-primary {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  letter-spacing: 0.5px !important;
}

/* Reset any inherited transparency or alpha values */
.dark-theme a.btn.btn-primary *,
.dark-theme a.btn.btn-primary > span,
.dark-theme a.btn.btn-primary > div {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Overriding any Bootstrap classes that might add transparency */
.dark-theme .btn.text-white,
.dark-theme .btn.text-light,
.dark-theme .btn.text-white-50,
.dark-theme .btn.text-light-50 {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Last resort - create a custom CSS class with inline styles */
.white-text-force {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Include a direct attribute selector in case there's a style attribute */
.dark-theme a.btn.btn-primary[style] {
  color: #ffffff !important;
}

/* Completely override any tag button colors to force white text color */
.dark-theme a.btn.btn-primary,
.dark-theme a.btn.btn-block.btn-primary.rounded-0,
.dark-theme a.btn.btn-primary.rounded-0,
.dark-theme .btn-primary {
  color: #ffffff !important; /* Pure white color code instead of variable */
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Target all buttons with href containing etiket (tag) to ensure they have white text */
.dark-theme a[href*="etiket"].btn-primary,
.dark-theme a[href*="etiket"].btn {
  color: #ffffff !important; /* Pure white color code */
}

/* Direct fix for the issue with buttons */
.dark-theme .detail-content .row.align-items-center .col a.btn,
.dark-theme .detail-content .row.align-items-center .col-auto a.btn,
.dark-theme .detail-content .row.align-items-center .col-lg-auto a.btn {
  color: #ffffff !important; /* Pure white color code */
}

/* Disconnect hover state from variable */
.dark-theme .btn-primary:hover,
.dark-theme a.btn-primary:hover {
  color: #ffffff !important; /* Keep white even on hover */
}

/* This forces all tag buttons to be white text with red background */
.dark-theme .detail-content .row.align-items-center [class*="col"] a.btn,
.dark-theme .detail-content .row.align-items-center [class*="col"] a.btn-primary,
.dark-theme .detail-content .row.align-items-center [class*="col"] a.btn-block {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Super aggressive fix for tag buttons to ensure they're white text on red background */
.dark-theme a[href*="/etiket/"] {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Direct attribute modification to override any variable */
html .dark-theme .btn-primary {
  --bs-btn-color: #ffffff !important;
  --bs-btn-bg: #E0193F !important;
  --bs-btn-border-color: #E0193F !important;
  --bs-btn-hover-color: #ffffff !important;
  --bs-btn-active-color: #ffffff !important;
  color: #ffffff !important;
}

/* Fix for specific tag buttons - most aggressive possible */
.dark-theme [class*="col"] > a[href*="etiket"]:not(.text-primary) {
  color: #ffffff !important;
  background-color: #E0193F !important;
  text-shadow: none !important;
}

/* Reset any other colors for tag links */
.dark-theme .detail-content .row.align-items-center .col a.btn-primary,
.dark-theme .detail-content .row.align-items-center .col-auto a.btn-primary,
.dark-theme .detail-content .row.align-items-center .col-lg-auto a.btn-primary {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
  --link-hover-color: #ffffff !important; /* Override the variable directly */
  --link-color: #ffffff !important; /* Override the variable directly */
}

/* Add a style tag in the head to force white text for tag buttons */
@media (prefers-color-scheme: dark), (prefers-color-scheme: no-preference) {
  .dark-theme a[href*="etiket"].btn-primary,
  .dark-theme a[href*="etiket"].btn-block,
  .dark-theme a[href*="etiket"].btn {
    color: #ffffff !important;
  }
}

/* Specific selectors with highest specificity possible */
body.dark-theme .detail-content .row.align-items-center .col a.btn.btn-block.btn-primary.rounded-0[href*="etiket"],
body.dark-theme .detail-content .row.align-items-center .col-auto a.btn.btn-block.btn-primary.rounded-0[href*="etiket"],
body.dark-theme .detail-content .row.align-items-center .col-lg-auto a.btn.btn-block.btn-primary.rounded-0[href*="etiket"] {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Add a class for direct inline style */
.tag-button-white-text {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Fix for all primary buttons in dark theme */
.dark-theme .btn.btn-primary,
.dark-theme a.btn.btn-primary,
.dark-theme button.btn-primary,
.dark-theme input.btn.btn-primary {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Fix for "Devamını Oku" (Read More) buttons */
.dark-theme .btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme a.btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme .card-body .btn-sm.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

/* Target the exact read more button structure */
.dark-theme .card-body a[href*="detay/"].btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme .col-lg-auto a[href*="detay/"].btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme .col-lg-auto > a.btn-sm.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Additional specific selector for "Devamını Oku" button */
.dark-theme a.btn-sm.btn-block.btn-primary.rounded-0:contains("Devamını Oku"),
.dark-theme .btn-sm.btn-block.btn-primary.rounded-0:contains("Devamını Oku") {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Targeting class and parent structure */
.dark-theme .blog-item .card-body .row.align-items-center .col-lg-auto .btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme .blog-item .card-body .row.align-items-center .col-lg-auto a.btn-sm.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Extreme specificity for all small primary buttons */
html body.dark-theme .btn-sm.btn-primary,
html body.dark-theme a.btn-sm.btn-primary,
html body.dark-theme button.btn-sm.btn-primary {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
  opacity: 1 !important;
}

/* General fix for all button sizes in dark mode */
.dark-theme .btn-xs.btn-primary,
.dark-theme .btn-sm.btn-primary, 
.dark-theme .btn-md.btn-primary,
.dark-theme .btn-lg.btn-primary,
.dark-theme .btn.btn-primary {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
  font-weight: 600 !important;
}

/* Fix for the text within buttons */
.dark-theme .btn-primary span,
.dark-theme .btn-primary strong,
.dark-theme .btn-primary b,
.dark-theme .btn-primary i,
.dark-theme .btn-primary * {
  color: #ffffff !important;
}

/* Force white text on all buttons regardless of other style attributes */
.dark-theme button,
.dark-theme .btn,
.dark-theme a.btn {
  text-shadow: none !important;
}

/* Override any potential Bootstrap utility classes */
.dark-theme .btn-primary.text-dark,
.dark-theme .btn-primary.text-muted,
.dark-theme .btn-primary.text-black-50 {
  color: #ffffff !important;
}

/* Ensure all .btn-primary elements have white text in dark mode */
.dark-theme .btn-primary {
  color: #ffffff !important;
}

/* EXTREME OVERRIDE FOR DEVAMINI OKU BUTTONS - FORCE WHITE TEXT */
.dark-theme .card-body .row.align-items-center .col-lg-auto .btn,
.dark-theme .card-body .row.align-items-center .col-lg-auto .btn-sm,
.dark-theme .card-body .row.align-items-center .col-lg-auto .btn-block,
.dark-theme .card-body .row.align-items-center .col-lg-auto .btn-primary,
.dark-theme .card-body .row.align-items-center .col-lg-auto a.btn {
  color: #ffffff !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* !!! HACK SOLUTION: INJECT CONTENT PROPERTY !!! */
.dark-theme .card-body .row.align-items-center .col-lg-auto a.btn-primary::before {
  content: "Devamını Oku";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-weight: 700 !important;
  background-color: #E0193F !important;
  text-shadow: none !important;
  opacity: 1 !important;
  z-index: 1;
}

/* Hide the original text that's not showing correctly */
.dark-theme .card-body .row.align-items-center .col-lg-auto a.btn-primary span {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* More extreme button styling */
html body.dark-theme button.btn-primary,
html body.dark-theme a.btn.btn-primary,
html body.dark-theme .btn.btn-primary,
html body.dark-theme .btn-primary {
  color: white !important;
  -webkit-text-fill-color: white !important;
  -webkit-font-smoothing: antialiased !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* !!! ABSOLUTE LAST RESORT - INLINE STYLE OVERRIDE !!! */
.dark-theme a.btn.btn-sm.btn-block.btn-primary.rounded-0[style] {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* Add styles for a special class that we'll add with JavaScript */
.white-text-override {
  color: white !important;
  -webkit-text-fill-color: white !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  background-color: #E0193F !important;
}

/* Target all primary buttons regardless of their location */
.dark-theme .btn.btn-primary {
  --important-white-color: #ffffff !important;
  --highlight-color: #ffffff !important;
  --button-text: #ffffff !important;
  color: var(--important-white-color) !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Define special override class for force-white spans */
.force-white {
  color: white !important;
  -webkit-text-fill-color: white !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* Extremely aggressive approach to force white text */
.dark-theme .btn-primary {
  position: relative;
}

.dark-theme .btn-primary::after {
  content: none !important;
  display: none !important;
}

/* Apply a special color to any explicit Devamını Oku text */
.dark-theme [class*="btn"][class*="primary"]:not([class*="outline"]) {
  position: relative;
  color: white !important;
  -webkit-text-fill-color: white !important;
  font-weight: 700 !important;
}

/* Additional selector specifically for the exact button */
.dark-theme .blog-item .card-body .col-lg-auto a.btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme .blog-item .card-body .col-lg-auto > a.btn-sm.btn-block.btn-primary.rounded-0 {
  color: white !important;
  -webkit-text-fill-color: white !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Remove the problematic pseudo-element that hides the text */
.dark-theme .btn-primary::after {
  content: none !important;
  display: none !important;
}

.dark-theme .card-body .row.align-items-center .col-lg-auto a.btn-primary::before {
  content: none !important;
  display: none !important;
}

/* Remove visibility hidden properties */
.dark-theme .card-body .row.align-items-center .col-lg-auto a.btn-primary span {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Fix button colors without hiding text */
.dark-theme .btn-primary,
.dark-theme a.btn-primary,
.dark-theme button.btn-primary,
.dark-theme .btn.btn-primary,
.dark-theme a.btn.btn-primary {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
  font-weight: 600 !important;
}

/* Direct fix for the etiket/devamını oku buttons */
.dark-theme a[href*="etiket"].btn-primary,
.dark-theme a[href*="detay/"].btn-primary,
.dark-theme .col-lg-auto a.btn-sm.btn-block.btn-primary.rounded-0,
.dark-theme .col a.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
}

/* SIMPLIFIED APPROACH: Keep button text visible and white */
.dark-theme .btn-primary {
  color: #fff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Reset any problematic styles */
.dark-theme .btn {
  position: static !important;
}

.dark-theme [class*="btn"][class*="primary"]:not([class*="outline"]) {
  position: static !important;
}

/* Clean fix for read more buttons */
.dark-theme .blog-item .card-body .col-lg-auto a.btn-sm.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
}

/* Clean fix for tag buttons */
.dark-theme a[href*="etiket"].btn.btn-block.btn-primary.rounded-0 {
  color: #ffffff !important;
}

/* Comments form styles with dark mode support */
.comments .form-control {
  border-radius: 0;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
}

.comments .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(224, 25, 63, 0.25);
  border-color: #E0193F;
}

.comments .form-control::placeholder {
  color: rgba(128, 128, 128, 0.7);
}

/* Improve button text visibility in dark mode */
.dark-theme .btn-primary {
  color: #ffffff !important;
  background-color: #E0193F;
  border-color: #E0193F;
}

.dark-theme .btn-primary:hover {
  color: #ffffff !important;
  background-color: #c01735;
  border-color: #c01735;
}

.dark-theme #yorum-gonder, 
.dark-theme button[id*="yorum"] {
  color: #ffffff !important;
  background-color: #E0193F !important;
  border-color: #E0193F !important;
}

/* Form styling in dark mode */
.dark-theme .form-control {
  background-color: rgba(45, 45, 45, 0.8);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .form-control:focus {
  background-color: rgba(60, 60, 60, 0.9);
  color: #ffffff;
  border-color: rgba(224, 25, 63, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(224, 25, 63, 0.25);
}

/* Comment section in dark mode */
.dark-theme .comments .section-title h4,
.dark-theme .comments-list .section-title h4 {
  color: #ffffff;
}

.dark-theme .comment-item {
  background-color: rgba(60, 60, 60, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 15px;
}

.dark-theme .comment-item .lead {
  color: #ffffff;
}

.dark-theme .comment-item .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}
