/*
Theme Name: Breaking News Digital
Description: Modern digital news theme with Apple liquid glass design, dark mode support, and author profiles. Perfect for technology blogs and digital innovation websites.
Author: Breaking News Team
Version: 3.1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: breaking-news-digital
Tags: blog, news, technology, dark-mode, responsive, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, one-column, two-columns, three-columns, left-sidebar, right-sidebar, sticky-post, theme-options, threaded-comments, translation-ready

Breaking News Digital WordPress Theme
Copyright (C) 2024

This theme is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
*/

/* Import all our custom styles */
@import url('assets/css/main.css');

/* WordPress specific styles */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wp-block-quote {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
    font-style: italic;
    color: #6b7280;
    margin: 2rem 0;
}

.dark .wp-block-quote {
    color: #9ca3af;
    border-color: #60a5fa;
}

/* WordPress Navigation Menus */
.wp-block-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-navigation li {
    display: inline-block;
    margin-right: 1rem;
}

/* WordPress Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .comment-body {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
}

/* WordPress Widgets */
.widget {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark .widget {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
}

.widget-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.dark .widget-title {
    color: #f3f4f6;
}

/* WordPress Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
    text-align: center;
}

.nav-previous a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.dark .nav-previous a,
.dark .nav-next a {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

/* WordPress Search Form */
.search-form {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dark .search-field {
    background: rgba(17, 24, 39, 0.8);
    border-color: #4b5563;
    color: #f3f4f6;
}

.dark .search-field:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* WordPress Tag Cloud */
.tagcloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    text-decoration: none;
    font-size: 0.875rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tagcloud a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.dark .tagcloud a {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .tagcloud a:hover {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-previous,
    .nav-next {
        text-align: center;
    }
}

/* Accessibility */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Skip links */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 6px;
    z-index: 999999;
    color: #fff;
    background: #000;
    text-decoration: none;
    padding: 8px 16px;
}

.skip-link:focus {
    left: 6px;
}

/* Стили для текста статьи */
div.prose {
  /* font-family: "Inter", sans-serif; */
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto;
}

div.prose p {
  margin-bottom: 1.2em;
}

div.prose h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 1.8em 0 0.8em;
  line-height: 1.4;
}

div.prose h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5em 0 0.6em;
}

div.prose ul,
div.prose ol {
  margin: 1em 0 1.5em 1.5em;
  padding-left: 1.2em;
}

div.prose ul li {
  list-style: disc;
  margin-bottom: 0.5em;
}

div.prose ol li {
  list-style: decimal;
  margin-bottom: 0.5em;
}

div.prose blockquote {
  border-left: 4px solid currentColor;
  padding-left: 1em;
  margin: 1.5em 0;
  font-style: italic;
}

div.prose a {
  text-decoration: underline;
}

div.prose img {
  border-radius: 12px;
  margin: 1.5em auto;
  display: block;
  max-width: 100%;
}

div.prose figure {
  margin: 1.5em 0;
  text-align: center;
}

div.prose figcaption {
  font-size: 0.9rem;
  margin-top: 0.5em;
}

div.prose code {
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: monospace;
}

div.prose pre {
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.95rem;
  font-family: monospace;
}

div.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

div.prose table th,
div.prose table td {
  border: 1px solid currentColor;
  padding: 0.75em 1em;
  text-align: left;
}

div.prose table th {
  font-weight: 600;
}
