/* Module: single.css - Extracted from style.css */

/* =========================================
   SINGLE NEWS: Tags
   ========================================= */
.news-tags-section {
    margin-top: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    clear: both;
}

.tags-label {
    font-weight: bold;
    color: #000;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.news-tags-list a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s;
}

.news-tags-list a:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

/* =========================================
   SINGLE NEWS: Reaction Bar
   ========================================= */
.news-reaction-bar {
    display: flex !important;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 3px solid #333;
    margin-bottom: 20px;
}

.reaction-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reaction-count {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.reaction-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.reaction-btn:hover {
    transform: scale(1.2);
}

/* =========================================
   SINGLE NEWS: Navigation (Prev/Next)
   ========================================= */
.news-navigation {
    display: flex !important;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.nav-box {
    width: 48%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-box.next-nav {
    justify-content: flex-end;
    text-align: right;
}

.nav-thumb {
    width: 100px;
    flex-shrink: 0;
}

.nav-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 0;
}

.nav-info {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.nav-info a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.nav-info a:hover {
    color: #d32f2f;
}

/* =========================================
   SINGLE NEWS: Comment Form
   ========================================= */
.news-comment-section {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0;
    margin-top: 30px;
}

.comment-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.comment-form-group {
    margin-bottom: 15px;
}

.comment-form-group input,
.comment-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
    font-family: inherit;
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
    border-color: #999;
    outline: none;
}

/* Clean standard WP comment form fluff */
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
    display: none !important;
}

.form-submit {
    text-align: right;
    margin-top: 10px;
}

input#submit:hover {
    background: #b71c1c;
}

/* =========================================
   SINGLE NEWS: Header & Meta (New Request)
   ========================================= */
/* SVG Icon Styles */
.social-icon svg,
.meta-icon svg,
.share-btn svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #d32f2f;
}

.meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: #eee;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.meta-icon:hover {
    background: #d32f2f;
    color: #fff;
}

.meta-icon.fb:hover {
    background: #3b5998;
}

.meta-icon.tw:hover {
    background: #1da1f2;
}

.meta-icon.em:hover {
    background: #ea4335;
}

.meta-icon.wa:hover {
    background: #25d366;
}

.tool-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.tool-link:hover {
    color: #d32f2f;
}

.tool-link i {
    font-size: 16px;
}

.tool-text {
    display: none;
    /* Hide text on small screens if needed, or keeping it */
}

@media (min-width: 768px) {
    .tool-text {
        display: inline;
    }
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
}

/* =========================================
   SINGLE NEWS: Excerpt (Grey Box)
   ========================================= */
.news-excerpt-block {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 0;
    border-left: 5px solid #d32f2f;
    /* Keeping the red accent as it looks good and fits theme */
    font-family: 'PT Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: rgb(35, 35, 35) !important;
    line-height: 26px !important;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* =========================================
   SINGLE NEWS: Share Buttons (Colored Rectangles)
   ========================================= */
.news-share-buttons-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 0;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
    line-height: 1;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: #fff !important;
}

.share-btn i {
    font-size: 18px;
}

.share-btn.fb {
    background: #3b5998;
}

.share-btn.tw {
    background: #1da1f2;
}

.share-btn.pin {
    background: #bd081c;
}

.share-btn.in {
    background: #0077b5;
}

.share-btn.wa {
    background: #25d366;
}


/* ============================================
   SINGLE PAGE CONTENT STYLES
   ============================================ */
.news-body-content h2,
.news-body-content h3,
.news-body-content h4 {
    font-family: 'Roboto', Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

.news-body-content h2 {
    font-size: 24px !important;
}

.news-body-content h3 {
    font-size: 20px !important;
}

.news-body-content h4 {
    font-size: 18px !important;
}

.news-body-content p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    color: rgb(33, 37, 41) !important;
    margin-bottom: 20px !important;
}

.news-body-content strong,
.news-body-content b {
    font-weight: 700 !important;
    color: rgb(33, 37, 41) !important;
}

.news-body-content a {
    color: #d32f2f !important;
    text-decoration: underline !important;
}

.news-body-content a:hover {
    color: #a01830 !important;
}

.news-body-content ul,
.news-body-content ol {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    color: rgb(33, 37, 41) !important;
    margin-bottom: 20px !important;
    padding-left: 25px !important;
}

.news-body-content li {
    margin-bottom: 10px !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    color: rgb(33, 37, 41) !important;
}

.news-body-content blockquote {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    line-height: 32px !important;
    border-left: 4px solid #d32f2f !important;
    padding-left: 20px !important;
    margin: 25px 0 !important;
    color: rgb(33, 37, 41) !important;
}

/* ============================================
   RESPONSIVE GRID CLASSES
   ============================================ */
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.grid-1-5-1 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {

    .grid-2-1,
    .grid-1-5-1,
    .grid-2-col {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ============================================
   FLASH TICKER STYLES
   ============================================ */
.vatan-top-flash-ticker {
    background: #1a1a2e !important;
    color: #fff !important;
    border-bottom: 2px solid #d32f2f !important;
    overflow: hidden !important;
    position: relative !important;
    height: 50px !important;
    z-index: 10000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vatan-top-flash-ticker .vatan-container {
    position: relative !important;
    height: 100% !important;
    overflow: hidden !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.flash-ticker-label {
    position: absolute !important;
    left: 15px !important;
    top: 0 !important;
    background: #d32f2f !important;
    color: #fff !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    z-index: 10 !important;
    min-width: 140px !important;
    text-align: center !important;
    line-height: 1.1 !important;
}

.flash-ticker-label span {
    display: block !important;
    line-height: 1.1 !important;
}

.flash-ticker-content {
    margin-left: 155px !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.flash-ticker-track {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    animation: ticker-vertical 12s linear infinite !important;
}

.flash-ticker-item {
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   SINGLE NEWS DESKTOP LAYOUT STABILITY
   ============================================ */
@media (min-width: 992px) {
    .single-news-layout .vatan-container {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .single-news-layout .single-news-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr) !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .single-news-layout .news-main-content,
    .single-news-layout .news-sidebar {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

/* ============================================
   SINGLE NEWS MOBILE LAYOUT FIXES
   ============================================ */
@media (max-width: 991px) {
    .single-news-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .single-news-grid .news-sidebar {
        display: none !important;
        visibility: hidden !important;
    }

    .single-news-grid .news-main-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .single-news-layout {
        margin-top: 16px !important;
        margin-bottom: 24px !important;
        overflow-x: hidden !important;
    }

    .single-news-layout .vatan-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .single-news-layout .news-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }

    .single-news-layout .news-body-content,
    .single-news-layout .news-body-content p,
    .single-news-layout .news-body-content li,
    .single-news-layout .news-body-content ul,
    .single-news-layout .news-body-content ol,
    .single-news-layout .news-body-content blockquote {
        font-size: 19px !important;
        line-height: 1.65 !important;
    }

    .single-news-layout .news-meta-line,
    .single-news-layout .news-share-buttons-top {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.flash-ticker-item a {
    font-family: 'Roboto', sans-serif !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.flash-ticker-item .flash-title {
    font-family: 'Roboto', sans-serif !important;
}

.flash-dot {
    background: #d32f2f !important;
    width: 8px !important;
    height: 8px !important;
    display: inline-block !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
}

.flash-title {
    flex: 1 !important;
}

@keyframes ticker-vertical {
    0% {
        transform: translateY(0) !important;
    }

    100% {
        transform: translateY(-50%) !important;
    }
}

.vatan-top-flash-ticker:hover .flash-ticker-track {
    animation-play-state: paused !important;
}

/* Footer Social Icons */
.footer-socials,
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials .social-icon,
.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer-socials .social-icon:hover,
.footer-social .social-icon:hover {
    color: #fff;
    background: #d32f2f;
    transform: translateY(-2px);
}

.footer-socials .social-icon svg,
.footer-social .social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
