/* GENERATED by tools/build-dark-css.php — do not edit. Hand-written tweaks: dark-extra.css */

/* ---- client.css ---- */
html[data-theme="dark"] .main-navbar .navbar-brand {
    color: #d0edf3;
}
html[data-theme="dark"] .main-navbar .nav-link {
    color: #d6d6d6;
}
html[data-theme="dark"] .main-navbar .nav-link:hover {
    color: #d0edf3;
}
html[data-theme="dark"] .search-pill {
    background-color: #151515;
}
html[data-theme="dark"] .btn-hero-primary {
    background-color: #090909!important;
    color: #eaeaea!important;
}
html[data-theme="dark"] .btn-hero-primary:hover {
    background-color: #1f1f1f!important;
    color: #eaeaea!important;
}
html[data-theme="dark"] .btn-hero-outline {
    border: 1px solid #292929!important;
}
html[data-theme="dark"] .btn-hero-outline:hover {
    background-color: rgba(9, 9, 9, 0.1)!important;
}
html[data-theme="dark"] .perks-section {
    background-color: #090909;
}
html[data-theme="dark"] .perks-bar {
    background-color: #1d2c33;
}
html[data-theme="dark"] .perk-title {
    color: #eaeaea;
}
html[data-theme="dark"] .perk-text {
    color: #bbbbbb;
}
html[data-theme="dark"] .featured-section {
    background-color: #090909;
}
html[data-theme="dark"] .featured-heading {
    color: #eaeaea;
}
html[data-theme="dark"] .btn-explore-more {
    color: #eaeaea;
}
html[data-theme="dark"] .magazine-card {
    background-color: #090909;
    border: 1px solid #333333;
}
html[data-theme="dark"] .magazine-title {
    color: #d0edf3;
}
html[data-theme="dark"] .magazine-author .author-name {
    color: #eaeaea;
}
html[data-theme="dark"] .magazine-author .stars {
    color: #e2cc8d;
}
html[data-theme="dark"] .btn-get-started {
    background-color: #1d2c33;
    color: #d0edf3;
}
html[data-theme="dark"] .btn-get-started:hover {
    background-color: #273a43;
    color: #d0edf3;
}
html[data-theme="dark"] .top-categories-section {
    background-color: #1e2f35;
}
html[data-theme="dark"] .top-categories-section .categories-heading {
    background-color: #1e2f35;
    color: #d0edf3;
}
html[data-theme="dark"] .category-circle {
    background-color: #090909;
}
html[data-theme="dark"] .category-label {
    color: #d0edf3;
}
html[data-theme="dark"] .top-magazine-section {
    background-color: #090909;
}
html[data-theme="dark"] .btn-shop-now {
    background-color: #090909;
    color: #d0edf3;
}
html[data-theme="dark"] .btn-shop-now:hover {
    background-color: #1f1f1f;
    color: #d0edf3;
}
html[data-theme="dark"] .discount-section {
    background-color: #090909;
}
html[data-theme="dark"] .discount-banner {
    background-color: #22353c;
}
html[data-theme="dark"] .discount-heading {
    color: #d0edf3;
}
html[data-theme="dark"] .top-rating-section {
    background-color: #1e2f35;
}
html[data-theme="dark"] .rating-panel {
    background-color: #090909;
}
html[data-theme="dark"] .rating-heading {
    color: #f5f5f5;
}
html[data-theme="dark"] .btn-view-more {
    color: #eaeaea;
}
html[data-theme="dark"] .rating-card {
    border: 1px solid #333333;
}
html[data-theme="dark"] .rating-thumb {
    background-color: #201612;
}
html[data-theme="dark"] .rating-label {
    color: #a0a0a0;
}
html[data-theme="dark"] .rating-title {
    color: #eaeaea;
}
html[data-theme="dark"] .rating-author {
    color: #d6d6d6;
}
html[data-theme="dark"] .stars-sm {
    color: #e2cc8d;
}
html[data-theme="dark"] .latest-news-section {
    background-color: #1e2f35;
}
html[data-theme="dark"] .news-heading {
    color: #eaeaea;
}
html[data-theme="dark"] .news-subtext {
    color: #c4c4c4;
}
html[data-theme="dark"] .news-card {
    background-color: #090909;
}
html[data-theme="dark"] .news-meta {
    color: #d6d6d6;
}
html[data-theme="dark"] .news-meta i {
    color: #eaeaea;
}
html[data-theme="dark"] .news-title {
    color: #eaeaea;
}
html[data-theme="dark"] .news-readmore {
    color: #eaeaea;
}
html[data-theme="dark"] .news-readmore:hover {
    color: #d0edf3;
}
html[data-theme="dark"] .get-started-section {
    background-color: #090909;
}
html[data-theme="dark"] .get-started-card {
    border: 1px solid #3d3d3d;
}
html[data-theme="dark"] .get-started-heading {
    color: #eaeaea;
}
html[data-theme="dark"] .get-started-text {
    color: #bbbbbb;
}
html[data-theme="dark"] .get-started-input {
    border: 1px solid #3e3e3e;
}
html[data-theme="dark"] .footer-social a {
    background-color: #090909;
    color: #d0edf3;
}
html[data-theme="dark"] .footer-social a:hover {
    background-color: #282828;
}
html[data-theme="dark"] .section-heading {
    color: #eaeaea;
}
html[data-theme="dark"] .section-subtext {
    color: #bbbbbb;
}
html[data-theme="dark"] .team-card {
    border: 1px solid #333333;
}
html[data-theme="dark"] .team-name {
    color: #d0edf3;
}
html[data-theme="dark"] .team-role {
    color: #a0a0a0;
}
html[data-theme="dark"] .service-card {
    border: 1px solid #333333;
}
html[data-theme="dark"] .service-title {
    color: #eaeaea;
}
html[data-theme="dark"] .service-text {
    color: #adadad;
}
html[data-theme="dark"] .job-card {
    border: 1px solid #333333;
}
html[data-theme="dark"] .job-title {
    color: #eaeaea;
}
html[data-theme="dark"] .job-meta {
    color: #a0a0a0;
}
html[data-theme="dark"] .support-info-card {
    border: 1px solid #333333;
}
html[data-theme="dark"] .faq-accordion .accordion-item {
    border: 1px solid #333333;
}
html[data-theme="dark"] .faq-accordion .accordion-button {
    color: #eaeaea;
}
html[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
    background-color: #1e2f35;
    color: #d0edf3;
}
html[data-theme="dark"] .contact-info-label {
    color: #eaeaea;
}
html[data-theme="dark"] .contact-info-text {
    color: #adadad;
}
html[data-theme="dark"] .contact-form-card {
    border: 1px solid #333333;
}
html[data-theme="dark"] body {
    background: #090909;
    color: #f1f1f1;
}
html[data-theme="dark"] .features-box {
    background: #1a292e;
}
html[data-theme="dark"] .feature-item h5 {
    color: #f1f1f1;
}
html[data-theme="dark"] .feature-item p {
    color: #f1f1f1;
}
html[data-theme="dark"] .section-heading h2 {
    color: #f5f5f5;
}
html[data-theme="dark"] .explore-btn {
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-card {
    border: 1px solid #3b3b3b;
    background: #090909;
}
html[data-theme="dark"] .magazine-card h4 {
    color: #b9e3ee;
}
html[data-theme="dark"] .price {
    color: #e2b68d;
}
html[data-theme="dark"] .rating {
    color: #e2c78d;
}
html[data-theme="dark"] .get-started {
    background: #1a292e;
    color: #b9e3ee;
}
html[data-theme="dark"] .get-started:hover i {
    border-color: #292929;
}
html[data-theme="dark"] .top-magazine-section {
    background: #090909;
}
html[data-theme="dark"] .magazine-card {
    border: 1px solid #383838;
    background: #090909;
}
html[data-theme="dark"] .magazine-title {
    color: #c0e5ef;
}
html[data-theme="dark"] .price {
    color: #e2b48d;
}
html[data-theme="dark"] .stars {
    color: #e2cb8d;
}
html[data-theme="dark"] .get-started1 {
    background: #1a292d;
    color: #c0e5ef;
}
html[data-theme="dark"] .shop-btn {
    background: #090909;
    color: #f1f1f1;
}
html[data-theme="dark"] .testimonial-title {
    color: #f5f5f5;
}
html[data-theme="dark"] .testimonial-prev,
html[data-theme="dark"] .testimonial-next {
    background: #282828;
    color: #f1f1f1;
}
html[data-theme="dark"] .testimonial-card {
    background: #090909;
    border: 1px solid #333333;
}
html[data-theme="dark"] .testimonial-text {
    color: #f1f1f1;
}
html[data-theme="dark"] .user-image {
    background: #181818;
    color: #d6d6d6;
    border: 3px solid #2f2f2f;
}
html[data-theme="dark"] .testimonial-user small {
    color: #bbbbbb;
}
html[data-theme="dark"] .stars {
    color: #e2cc8d;
}
html[data-theme="dark"] .top-magazine-section h2 {
    color: #f5f5f5;
}
html[data-theme="dark"] .realis-social-icons a {
    border: 1px solid rgba(35, 71, 82, 0.28);
}
html[data-theme="dark"] .realis-social-icons a:hover {
    background: #1a292e;
    color: #c2e7f0;
}
html[data-theme="dark"] .story-stats {
    color: #eaeaea;
}
html[data-theme="dark"] .story-stats .stat-icon {
    color: #d0edf3;
}
html[data-theme="dark"] .story-stats .stat-label {
    color: #bbbbbb;
}
html[data-theme="dark"] .prose {
    color: #d6d6d6;
}
html[data-theme="dark"] .prose blockquote {
    color: #bbbbbb;
}
html[data-theme="dark"] .prose a {
    color: #c2e7f0;
}

/* ---- ad-promo.css ---- */
html[data-theme="dark"] .advertising-promotion-section {
    background: #101010;
}
html[data-theme="dark"] .advertising-promotion-box {
    background: #090909;
}
html[data-theme="dark"] .advertising-subtitle {
    color: #c2e7f0;
}
html[data-theme="dark"] .advertising-title {
    color: #f1f1f1;
}
html[data-theme="dark"] .advertising-title span {
    color: #c2e7f0;
}
html[data-theme="dark"] .advertising-description {
    color: #a0a0a0;
}
html[data-theme="dark"] .advertising-feature > i {
    background: #1a292e;
    color: #c2e7f0;
}
html[data-theme="dark"] .advertising-feature h6 {
    color: #f1f1f1;
}
html[data-theme="dark"] .advertising-feature p {
    color: #a0a0a0;
}
html[data-theme="dark"] .advertising-icon {
    background: #1a292e;
    color: #c2e7f0;
}
html[data-theme="dark"] .advertising-btn {
    color: #f1f1f1;
}
html[data-theme="dark"] .advertising-btn:hover {
    color: #f1f1f1;
}
html[data-theme="dark"] .advertising-cta small {
    color: #929292;
}

/* ---- business-cards.css ---- */
html[data-theme="dark"] .business-ideas-section {
    background: #101010;
}
html[data-theme="dark"] .business-eyebrow {
    color: #c2e7f0;
}
html[data-theme="dark"] .business-heading h2 {
    color: #f1f1f1;
}
html[data-theme="dark"] .business-heading h2 span {
    color: #c2e7f0;
}
html[data-theme="dark"] .business-heading p {
    color: #a0a0a0;
}
html[data-theme="dark"] .business-card {
    background: #090909;
    border: 1px solid #373737;
}
html[data-theme="dark"] .business-card::before {
    background: #1a292e;
}
html[data-theme="dark"] .business-card:hover {
    border-color: #234752;
}
html[data-theme="dark"] .business-card:hover .business-icon {
    background: #1a292e;
    color: #f1f1f1;
}
html[data-theme="dark"] .business-card h3 {
    color: #f1f1f1;
}
html[data-theme="dark"] .business-card p {
    color: #a0a0a0;
}
html[data-theme="dark"] .business-card-bottom {
    border-top: 1px solid #333333;
    color: #f1f1f1;
}
html[data-theme="dark"] .business-arrow {
    color: #c2e7f0;
    background: #1a292e;
}
html[data-theme="dark"] .business-card:hover .business-arrow {
    background: #263c44;
}
html[data-theme="dark"] .business-card-main .business-number {
    color: #adadad;
}
html[data-theme="dark"] .business-card-main .business-arrow {
    background: #1a292e;
    color: #f1f1f1;
}
html[data-theme="dark"] .business-card-main .business-icon {
    background: #1a292e;
    color: #f1f1f1;
}
html[data-theme="dark"] .business-card-ad {
    background: #14110b;
}
html[data-theme="dark"] .business-bottom-cta span {
    color: #e2c88d;
}
html[data-theme="dark"] .business-main-btn {
    background: #1a292e;
    color: #f1f1f1;
}
html[data-theme="dark"] .business-main-btn:hover {
    background: #090909;
    color: #f1f1f1;
}

/* ---- contact-home.css ---- */
html[data-theme="dark"] .realis-form-point i {
    background: #1a292e;
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-form-box {
    background: #1a292e;
}
html[data-theme="dark"] .realis-form-box label {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-form-box input,
html[data-theme="dark"] .realis-form-box select,
html[data-theme="dark"] .realis-form-box textarea {
    background: #090909;
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-form-button:hover {
    background: #090909;
    color: #c2e7f0;
}

/* ---- cover-carousel.css ---- */
html[data-theme="dark"] .get-started-btn {
    color: #f5f5f5;
}
html[data-theme="dark"] .realis-equal-cover-section {
    background: #13130f;
}
html[data-theme="dark"] .realis-equal-cover-heading span {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-equal-cover-heading h2 {
    color: #f1f1f1;
}
html[data-theme="dark"] .realis-equal-cover-heading p {
    color: #a0a0a0;
}
html[data-theme="dark"] .realis-equal-cover-card {
    background: #1b1b18;
}

/* ---- link-banner.css ---- */
html[data-theme="dark"] .advertising-link-box a {
    border: 1px solid #292929;
}
html[data-theme="dark"] .advertising-link-box a:hover {
    background: #090909;
    color: #f1f1f1;
}

/* ---- magazine-detail.css ---- */
html[data-theme="dark"] .magazine-page-banner {
    background: #121212;
}
html[data-theme="dark"] .magazine-page-banner h1 {
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-page-banner .breadcrumb a {
    color: #a0a0a0;
}
html[data-theme="dark"] .magazine-page-banner .breadcrumb-item.active {
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-details-section {
    background: #090909;
}
html[data-theme="dark"] .magazine-title {
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-short-description {
    color: #a0a0a0;
}
html[data-theme="dark"] .magazine-meta-item {
    background: #101010;
    color: #bbbbbb;
}
html[data-theme="dark"] .btn-magazine-primary {
    color: #f1f1f1;
}
html[data-theme="dark"] .btn-magazine-outline {
    color: #f1f1f1;
}
html[data-theme="dark"] .issue-section {
    background: #101010;
}
html[data-theme="dark"] .section-main-title {
    color: #f1f1f1;
}
html[data-theme="dark"] .section-description {
    color: #a0a0a0;
}
html[data-theme="dark"] .issue-info-card {
    background: #090909;
    border: 1px solid #333333;
}
html[data-theme="dark"] .issue-info-card h3 {
    color: #f1f1f1;
}
html[data-theme="dark"] .issue-info-card p {
    color: #a0a0a0;
}
html[data-theme="dark"] .inside-section {
    background: #090909;
}
html[data-theme="dark"] .article-card {
    background: #090909;
    border: 1px solid #333333;
}
html[data-theme="dark"] .article-card h3 {
    color: #f1f1f1;
}
html[data-theme="dark"] .article-card p {
    color: #a0a0a0;
}
html[data-theme="dark"] .related-section {
    background: #101010;
}
html[data-theme="dark"] .related-card {
    background: #090909;
    border: 1px solid #333333;
}
html[data-theme="dark"] .related-image {
    background: #181818;
}
html[data-theme="dark"] .related-content h3 {
    color: #f1f1f1;
}
html[data-theme="dark"] .related-link {
    color: #f1f1f1;
}
html[data-theme="dark"] .business-cta-section {
    background: #090909;
}
html[data-theme="dark"] .business-cta-card {
    background: #101010;
    border: 1px solid #333333;
}
html[data-theme="dark"] .business-cta-card h3 {
    color: #f1f1f1;
}
html[data-theme="dark"] .business-cta-card p {
    color: #a0a0a0;
}

/* ---- magazine-slider.css ---- */
html[data-theme="dark"] .realis-magazine-section {
    background: #101010;
}
html[data-theme="dark"] .magazine-eyebrow {
    color: #c2e7f0;
}
html[data-theme="dark"] .magazine-section-heading h2 {
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-section-heading h2 span {
    color: #c2e7f0;
}
html[data-theme="dark"] .magazine-section-heading p {
    color: #a0a0a0;
}
html[data-theme="dark"] .magazine-modern-card {
    background: #090909;
    border: 1px solid #383838;
}
html[data-theme="dark"] .magazine-cover {
    background: #161616;
}
html[data-theme="dark"] .magazine-view-link {
    background: #090909;
    color: #d6d6d6;
    border: 1px solid #3d3d3d;
}
html[data-theme="dark"] .magazine-view-link:hover {
    background: #1a292e;
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-slider-btn {
    background: #090909;
    color: #f1f1f1;
    border: 1px solid #3d3d3d;
}
html[data-theme="dark"] .magazine-slider-btn:hover {
    color: #f1f1f1;
}

/* ---- partner-box.css ---- */
html[data-theme="dark"] .usb-partner-section {
    background: #090909;
    color: #c2e7f0;
}
html[data-theme="dark"] .usb-partner-heading span {
    color: #c2e7f0;
}
html[data-theme="dark"] .usb-partner-heading h2 {
    color: #c2e7f0;
}
html[data-theme="dark"] .usb-partner-feature {
    background: #1a292e;
}
html[data-theme="dark"] .usb-partner-feature h3 {
    color: #c2e7f0;
}
html[data-theme="dark"] .usb-partner-box {
    background: #0c1315;
}
html[data-theme="dark"] .usb-partner-box h3 {
    color: #c2e7f0;
}
html[data-theme="dark"] .usb-partner-box p {
    color: #9eb2b9;
}
html[data-theme="dark"] .usb-partner-box p strong {
    color: #c2e7f0;
}
html[data-theme="dark"] .usb-partner-highlight {
    background: #1a292e;
    color: #c2e7f0;
}

/* ---- publication-grid.css ---- */
html[data-theme="dark"] .magazine-issues-section {
    background: #090909;
}
html[data-theme="dark"] .magazine-subtitle {
    color: #e2c88d;
}
html[data-theme="dark"] .magazine-title span {
    color: #e2c88d;
}
html[data-theme="dark"] .magazine-description {
    color: #a0a0a0;
}
html[data-theme="dark"] .magazine-card {
    background: #090909;
}
html[data-theme="dark"] .magazine-image-wrap {
    background: #121212;
}
html[data-theme="dark"] .magazine-link {
    color: #f1f1f1;
}
html[data-theme="dark"] .magazine-link i {
    color: #c2e7f0;
}
html[data-theme="dark"] .magazine-link:hover {
    color: #c2e7f0;
}

/* ---- qr-checkout.css ---- */
html[data-theme="dark"] .qr-checkout-section {
    background: #13130f;
}
html[data-theme="dark"] .qr-checkout-box {
    background: #090909;
    border: 1px solid #383838;
}
html[data-theme="dark"] .qr-image-wrap {
    background: #090909;
    border: 1px solid #3d3d3d;
}
html[data-theme="dark"] .qr-small-title {
    color: #a0a0a0;
}
html[data-theme="dark"] .qr-content h2 {
    color: #f1f1f1;
}
html[data-theme="dark"] .qr-content p {
    color: #adadad;
}

/* ---- split-feature.css ---- */
html[data-theme="dark"] .pgt-usb-feature {
    background: #1a292e;
}
html[data-theme="dark"] .pgt-usb-kicker {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-usb-content h2 {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-usb-content h3 {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-usb-content p {
    color: #a7bfc5;
}
html[data-theme="dark"] .pgt-usb-content p strong {
    color: #c2e7f0;
}

/* ---- sponsor-media.css ---- */
html[data-theme="dark"] .sv-sponsor-media-card {
    background: #1a292e;
}
html[data-theme="dark"] .sv-sponsor-image-card {
    background: #1a292e;
}
html[data-theme="dark"] .sv-sponsor-button {
    border: 1px solid #234752;
    background: #1a292e;
    color: #c2e7f0;
}

/* ---- team.css ---- */
html[data-theme="dark"] .team-section {
    background: #090909;
}
html[data-theme="dark"] .team-subtitle {
    color: #e2c88d;
}
html[data-theme="dark"] .team-title {
    color: #f1f1f1;
}
html[data-theme="dark"] .team-description {
    color: #a0a0a0;
}
html[data-theme="dark"] .team-card {
    background: #090909;
    border: 1px solid #333333;
}
html[data-theme="dark"] .team-image {
    background: #121212;
}
html[data-theme="dark"] .team-info h3 {
    color: #f1f1f1;
}
html[data-theme="dark"] .team-info > span {
    color: #a0a0a0;
}
html[data-theme="dark"] .team-social a {
    background: #131313;
    color: #e4e4e4;
}

/* ---- tech-cards.css ---- */
html[data-theme="dark"] .pgt-tech-section {
    background: #1a292e;
}
html[data-theme="dark"] .pgt-tech-kicker {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-tech-heading h2 {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-tech-card {
    background: #090909;
}
html[data-theme="dark"] .pgt-tech-image {
    background: #0e1719;
}
html[data-theme="dark"] .pgt-tech-content h3 {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-tech-content p {
    color: #9fb5bb;
}
html[data-theme="dark"] .pgt-tech-link {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-tech-link:hover {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-tech-bottom p {
    color: #9fb5bb;
}
html[data-theme="dark"] .pgt-tech-bottom p strong {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-tech-main-btn:hover {
    background: #090909;
    color: #c2e7f0;
}

/* ---- text-block.css ---- */
html[data-theme="dark"] .pgt-compact-section {
    background: #1a292e;
}
html[data-theme="dark"] .pgt-compact-heading span {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-compact-heading h2 {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-compact-content {
    background: #090909;
}
html[data-theme="dark"] .pgt-compact-content p {
    color: #a1b5ba;
}
html[data-theme="dark"] .pgt-compact-content strong {
    color: #c2e7f0;
}
html[data-theme="dark"] .pgt-compact-highlight {
    background: #1a292e;
    color: #c2e7f0;
}

/* ---- top-rated.css ---- */
html[data-theme="dark"] .top-rated-magazine-section {
    background: #090909;
}
html[data-theme="dark"] .magazine-section-label {
    color: #a0a0a0;
}
html[data-theme="dark"] .magazine-section-title {
    color: #ededed;
}
html[data-theme="dark"] .magazine-section-description {
    color: #a0a0a0;
}
html[data-theme="dark"] .magazine-image-wrap {
    background: #181818;
}
html[data-theme="dark"] .magazine-view-btn {
    background: #090909;
    color: #ededed;
}
html[data-theme="dark"] .magazine-all-btn {
    color: #ededed;
}

/* ---- upcoming-issues.css ---- */
html[data-theme="dark"] .realis-upcoming-image-section {
    background: #1a292e;
}
html[data-theme="dark"] .realis-upcoming-image-label span {
    background: #1a292e;
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-image-kicker {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-image-content h2 {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-image-content h2 strong {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-image-intro {
    color: #9fb5bb;
}
html[data-theme="dark"] .realis-upcoming-issue-info span {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-issue-info h3 {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-issue > i {
    color: #9fb5bb;
}
html[data-theme="dark"] .realis-upcoming-issue:hover .realis-upcoming-issue-number {
    background: #090909;
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-issue:hover > i {
    color: #c2e7f0;
}
html[data-theme="dark"] .realis-upcoming-image-button:hover {
    background: #090909;
    color: #c2e7f0;
}

/* ---- dark-extra.css ---- */
/* Hand-written dark theme rules, appended to dark.css by tools/build-dark-css.php.
   Base colours, Bootstrap pieces and anything the generator can't infer. */

html[data-theme="dark"] {
    color-scheme: dark;
    --rt-bg: #000000;
    --rt-surface: #111315;
    --rt-text: #ffffff;
    --rt-muted: #b8c2c6;
    --rt-accent: #7cc4d6;
    --bs-body-bg: var(--rt-bg);
    --bs-body-color: var(--rt-text);
    --bs-heading-color: var(--rt-text);
    --bs-secondary-color: var(--rt-muted);
    --bs-border-color: #2b2f33;
    --bs-link-color-rgb: 124, 196, 214;
}

html[data-theme="dark"] body {
    background-color: var(--rt-bg);
    color: var(--rt-text);
}

/* Header: Bootstrap's bg-white utility and the dark toggler icon. */
html[data-theme="dark"] .main-navbar.bg-white {
    background-color: #050607 !important;
    border-bottom: 1px solid #1f2326;
}
html[data-theme="dark"] .main-navbar .navbar-brand { color: #ffffff; }
html[data-theme="dark"] .main-navbar .nav-link { color: #e6ecee; }
html[data-theme="dark"] .main-navbar .nav-link:hover,
html[data-theme="dark"] .main-navbar .nav-link.active { color: var(--rt-accent); }
html[data-theme="dark"] .navbar-toggler { border-color: #3a4044; }
html[data-theme="dark"] .navbar-toggler-icon { filter: invert(1); }
html[data-theme="dark"] .search-pill { background-color: #1a1d20; }
html[data-theme="dark"] .search-pill input { color: #ffffff; }
html[data-theme="dark"] .search-pill input::placeholder { color: #9aa5aa; }

/* Breadcrumb separators and muted text */
html[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: #9aa5aa; }
html[data-theme="dark"] .text-muted { color: var(--rt-muted) !important; }

/* Form fields everywhere */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background-color: #15181a;
    color: #ffffff;
    border-color: #343a3e;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #8d979b; }

/* Rich text (blog posts, privacy page) */
html[data-theme="dark"] .prose { color: #e6ecee; }
html[data-theme="dark"] .prose a { color: var(--rt-accent); }
html[data-theme="dark"] .prose blockquote { color: #c9d2d5; }

/* Theme toggle button (header) */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d9dee0;
    background: transparent;
    color: #0a363f;
    font-size: 1.05rem;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}
.theme-toggle:hover { background-color: #0a363f; color: #ffffff; }
.theme-toggle .bi-sun-fill { display: none; }
html[data-theme="dark"] .theme-toggle { border-color: #3a4044; color: #ffd27a; }
html[data-theme="dark"] .theme-toggle:hover { background-color: #1a1d20; color: #ffd27a; }
html[data-theme="dark"] .theme-toggle .bi-sun-fill { display: inline-block; }
html[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }

/* Small version in the top bar (teal in both themes) */
.theme-toggle.theme-toggle-topbar { width: 26px; height: 26px; font-size: .8rem; border-color: rgba(255, 255, 255, .35); color: #ffffff; }
.theme-toggle.theme-toggle-topbar:hover { background-color: rgba(255, 255, 255, .15); color: #ffffff; }
html[data-theme="dark"] .theme-toggle.theme-toggle-topbar { border-color: rgba(255, 255, 255, .35); color: #ffd27a; }

/* Optional dark-theme logo (Settings → General) */
.navbar-brand .logo-dark { display: none; }
html[data-theme="dark"] .navbar-brand .logo-light { display: none; }
html[data-theme="dark"] .navbar-brand .logo-dark { display: inline-block; }
