/*
Theme Name: Webolur Professional Blog
Theme URI: https://webolur.com
Author: Webolur
Author URI: https://webolur.com
Description: Magazine style theme based on user request.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: webolur-blog
*/

:root {
    --bg-color: #f1f1f1;
    --text-primary: #333333;
    --text-secondary: #777777;
    --white: #ffffff;
    --theme-blue: #5c7b96;
    --theme-blue-hover: #4a6378;
    --theme-red: #df4a43;
    --border-color: #e5e5e5;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: "Work Sans", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--theme-blue);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* === HEADER === */
.top-bar {
    background-color: #f4f4f4;
    border-bottom: 1px solid #eaeaea;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 0;
    color: #000;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar .date {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-bar .date svg {
    width: 14px;
    height: 14px;
}

.middle-header {
    background-color: var(--white);
    padding: 10px 0;
}
.middle-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    max-width: 100%;
}
.site-logo img {
    max-height: 100px;
    width: auto;
    height: auto;
    display: block;
}
.header-banners {
    display: flex;
    gap: 8px;
}
.header-banners img {
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.main-navigation {
    position: relative;
    background: linear-gradient(0deg, rgb(221, 221, 221) 0px, rgb(255, 255, 255) 85%, rgb(238, 238, 238) 100%);
    border-bottom: 1px solid rgb(204, 204, 204);
    border-top: 1px solid #f9f9f9;
    box-shadow: inset 0 1px 0 rgba(255,255,255,1);
}
.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu {
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-menu > li {
    position: static;
    display: flex;
    align-items: center;
}
.nav-menu > li > a {
    display: block;
    padding: 15px 18px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a {
    background-color: transparent;
    color: #333;
}
.nav-menu > li > a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--theme-blue);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.nav-menu > li:hover > a:after, .nav-menu > li.current-menu-item > a:after {
    transform: scaleX(1);
}

.mega-toggle {
    display: none;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 2px solid var(--theme-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 30px 0;
}
.nav-menu > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mega-post {
    display: flex;
    flex-direction: column;
}
.mega-thumb {
    display: block;
    width: 100%;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}
.mega-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.mega-post:hover .mega-thumb img {
    transform: scale(1.05);
}
.mega-content h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}
.mega-content h4 a {
    color: var(--text-primary);
}
.mega-content h4 a:hover {
    color: var(--theme-blue);
}
.mega-date {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-actions svg {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* === HERO SECTION === */
.hero-section {
    margin: 10px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 480px;
}
.hero-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}
.hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hero-item:hover img {
    transform: scale(1.05);
}
.hero-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.hero-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.hero-item:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.hero-item:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
.hero-item:nth-child(5) { grid-column: 3 / 4; grid-row: 2 / 3; }

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    padding: 25px 20px 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hero-item:not(:nth-child(1)) .hero-overlay {
    padding: 15px;
}

.hero-cat {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    align-self: flex-start;
}
.hero-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.hero-item:nth-child(1) .hero-title {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 12px;
}
.hero-meta {
    font-size: 12px;
    font-weight: 600;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.hero-meta svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: text-bottom;
}

/* Slider Dots */
.hero-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}
.hero-slider-nav svg {
    width: 20px;
    height: 20px;
    color: #5c7b96;
    cursor: pointer;
}
.hero-slider-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #8c8c8c;
    cursor: pointer;
}
.hero-slider-dot.active {
    background-color: var(--theme-blue);
}

/* === MAIN CONTENT === */
.content-area {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

/* Sticky Header */
.sticky-logo {
    display: none;
    align-items: center;
    margin-right: 30px;
}
.sticky-logo img {
    max-height: 35px;
    width: auto;
}
@media (min-width: 993px) {
    body.is-sticky .sticky-logo {
        display: flex;
    }
    body.is-sticky .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        animation: slideDown 0.3s ease-out;
    }
    body.is-sticky .site-main {
        padding-top: 60px !important;
    }
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.main-column {
    flex: 1;
    min-width: 0;
}
.sidebar-column {
    width: 320px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Modern Section Header */
.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--theme-blue);
    margin-bottom: 30px;
    padding-bottom: 0;
}
.section-tab {
    background: var(--theme-blue);
    color: #fff;
    padding: 10px 25px 10px 20px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
    position: relative;
    top: 2px;
}
.section-filters-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
}
.filter-links {
    display: flex;
    gap: 15px;
}
.filter-links a {
    color: #555;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.filter-links a:hover {
    color: var(--theme-blue);
}
.filter-refresh {
    background: var(--theme-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 26px; height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Posts Grid & Cards */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.webolur-post-card {
    display: flex;
    flex-direction: column;
}
.post-card-img {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}
.post-card-img img, .post-card-img a > div {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.post-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}
.post-card-title a {
    color: var(--text-primary);
}
.post-card-title a:hover {
    color: var(--theme-blue);
}
.post-card-meta {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #999;
    font-weight: 700;
    margin-bottom: 10px;
}
.meta-author {
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}
.meta-sep {
    margin: 0 8px;
    color: #ccc;
}
.meta-date {
    display: flex;
    align-items: center;
    gap: 4px;
}
.post-card-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Post List Item (Sidebar Section) */
.post-list-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: none;
}
.post-list-item:last-child {
    margin-bottom: 0;
}
.post-list-img {
    width: 250px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}
.post-list-img img, .post-list-img a > div {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.post-list-content {
    display: flex;
    flex-direction: column;
}
.post-cat {
    display: inline-block;
    background-color: #5c7b96;
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 8px;
    border-radius: 2px;
}
.post-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}
.post-title a {
    color: var(--text-primary);
    text-decoration: none;
}
.post-title a:hover {
    color: var(--theme-blue);
}
.post-excerpt {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}
.post-read-more-wrapper {
    align-self: flex-end;
}
.post-read-more {
    display: inline-flex;
    align-items: center;
    background-color: #5c7b96;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}
.post-read-more:hover {
    background-color: var(--theme-blue);
    color: #fff;
}

/* Load More Button */
.load-more-wrapper {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}
#load-more-btn {
    background: #fff;
    color: var(--theme-blue);
    border: 2px solid var(--theme-blue);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}
#load-more-btn:hover {
    background: var(--theme-blue);
    color: #fff;
}
#load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === SIDEBAR === */
.widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 30px;
}
.widget-title {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.widget-select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    font-size: 12px;
}

.popular-post {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.popular-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.popular-img {
    width: 90px;
    height: 60px;
    position: relative;
    flex-shrink: 0;
}
.popular-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular-views {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 10px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.popular-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.popular-title {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3;
}
.popular-cat {
    display: inline-block;
    background-color: var(--theme-blue);
    color: var(--white);
    font-size: 9px;
    padding: 2px 6px;
    align-self: flex-start;
}
.load-more {
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    margin-top: 15px;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--white);
    padding-top: 40px;
    border-top: 5px solid #dcdcdc;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-widget-header {
    border-bottom: 1px solid var(--theme-blue);
    margin-bottom: 20px;
    padding-bottom: 0;
    width: 150px; /* makes the line extend partially */
}
.footer-tab {
    background-color: var(--theme-blue);
    color: var(--white);
    padding: 6px 15px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
}

/* Stats Widget */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stat-row {
    display: flex;
    color: var(--white);
    font-weight: bold;
    font-size: 13px;
}
.stat-left {
    background-color: #db4f46;
    width: 50%;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    position: relative;
}
.stat-left:after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #db4f46;
    z-index: 10;
}
.stat-right {
    background-color: #c93d34;
    width: 50%;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-row-darker .stat-left {
    background-color: #d1443a;
}
.stat-row-darker .stat-right {
    background-color: #bf372e;
}
.stat-row-darker .stat-left:after {
    border-left-color: #d1443a;
}

/* About Widget */
.about-widget {
    text-align: center;
}
.about-img-wrapper {
    position: relative;
    margin-bottom: 40px;
}
.about-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.about-logo-circle {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.about-logo-circle .logo-main {
    color: var(--theme-blue);
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
}
.about-logo-circle .logo-sub {
    font-size: 10px;
    color: #555;
    margin-top: 2px;
}
.about-text-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}
.about-text-content p {
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

/* Pages Menu */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-list li {
    margin-bottom: 12px;
}
.footer-nav-list a {
    color: #333;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.footer-nav-list a:before {
    content: '•';
    color: #333;
    margin-right: 8px;
    font-size: 14px;
}
.footer-nav-list a svg {
    display: none; /* Hide any SVGs if they added them manually */
}

/* Bottom Bar */
.site-info-wrapper {
    background-color: #000;
    color: var(--white);
    padding: 20px 0;
    font-size: 12px;
    font-weight: bold;
    position: relative;
    text-align: center;
}
.site-info-container {
    max-width: 1200px;
    margin: 0 auto;
}
.scroll-top {
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    background-color: var(--theme-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
}
.scroll-top:hover {
    background-color: #4a627a;
    color: var(--white);
}

/* === SINGLE POST MODERN === */
.single-breadcrumbs {
    font-size: 13px;
    font-weight: bold;
    color: #555;
    margin-bottom: 25px;
}
.single-breadcrumbs a {
    color: #111;
}
.single-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}
.single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.single-author-logo {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}
.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.single-author-info {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
.single-author-info .meta-sep {
    color: #999;
    margin: 0 5px;
}

.single-featured-image-wrapper {
    position: relative;
    margin-bottom: 50px;
}
.single-featured-image-container {
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.single-featured-image-container img, .single-featured-image-container > div {
    width: 100% !important;
    height: auto !important;
    max-height: 600px;
    object-fit: cover !important;
    display: block;
}
.single-rating-block {
    position: absolute;
    bottom: -25px; /* Overlap by half */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 30px;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 20px;
    gap: 20px;
    z-index: 10;
}
.rating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 30px;
}
.rating-icon {
    font-size: 20px;
    margin-bottom: 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.single-rating-block:not(.has-voted) .rating-btn:hover .rating-icon {
    opacity: 1;
    transform: scale(1.2);
}
.single-rating-block:not(.has-voted) .rating-btn.thumb-up:hover .rating-icon {
    color: #4caf50;
}
.single-rating-block:not(.has-voted) .rating-btn.thumb-down:hover .rating-icon {
    color: #f44336;
}
.rating-btn.voted .rating-icon {
    opacity: 1;
    transform: scale(1.1);
}
.rating-btn.voted.thumb-up .rating-icon {
    color: #4caf50;
}
.rating-btn.voted.thumb-down .rating-icon {
    color: #f44336;
}
.single-rating-block.has-voted .rating-btn:not(.voted) {
    opacity: 0.5;
}
.rating-count {
    font-size: 13px;
    font-weight: bold;
    color: #666;
}

.single-content-wrapper {
    position: relative;
}
.seo-score-circle {
    position: relative;
    float: right;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffc168 0%, #ff9800 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 0 20px 30px;
    box-shadow: 0 5px 15px rgba(255,152,0,0.3);
}
.seo-score-number {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}
.seo-score-text {
    font-size: 11px;
    font-weight: bold;
    opacity: 0.9;
}
.seo-score-label {
    position: absolute;
    bottom: -25px;
    color: #999;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}
/* Single Post Base Container */
.single-post-modern {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px) {
    .single-post-modern {
        padding: 10px;
    }
    .middle-header {
        padding: 11px 0;
    }
    .container {
        margin-top: 10px !important;
    }
    .single-author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .nav-links {
        flex-direction: column;
        gap: 30px;
    }
    .nav-previous, .nav-next {
        align-items: flex-start;
        text-align: left;
    }
    .reactions-grid {
        flex-wrap: wrap;
    }
    .reaction-item {
        flex: 1 1 30%;
    }
}

.single-post-modern .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}
.single-post-modern .entry-content pre,
.single-post-modern .entry-content table {
    max-width: 100%;
    overflow-x: auto;
}
.single-post-modern .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 25px 0;
}
.single-post-modern .entry-content p {
    margin-bottom: 25px;
}
/* Modern Typography */
.single-post-modern .entry-content h1,
.single-post-modern .entry-content h2,
.single-post-modern .entry-content h3,
.single-post-modern .entry-content h4,
.single-post-modern .entry-content h5,
.single-post-modern .entry-content h6 {
    color: #111;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.single-post-modern .entry-content h2 { font-size: 28px; }
.single-post-modern .entry-content h3 { font-size: 24px; }
.single-post-modern .entry-content h4 { font-size: 20px; }

.single-post-modern .entry-content a {
    color: #ff9800;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,152,0,0.3);
    transition: all 0.3s ease;
}
.single-post-modern .entry-content a:hover {
    color: #e65100;
    border-bottom-color: #e65100;
}

.single-post-modern .entry-content strong,
.single-post-modern .entry-content b {
    color: #111;
    font-weight: 700;
    background: rgba(255,152,0,0.1);
    padding: 0 4px;
    border-radius: 4px;
}

.single-post-modern .entry-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #fdfbf7;
    border-left: 5px solid #ff9800;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: #555;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.single-post-modern .entry-content blockquote p {
    margin-bottom: 0;
}

.single-post-modern .entry-content ul,
.single-post-modern .entry-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}
.single-post-modern .entry-content li {
    margin-bottom: 10px;
}
.single-post-modern .entry-content ul li::marker {
    color: #ff9800;
}
.single-post-modern .entry-content p:first-of-type {
    font-weight: bold;
}

/* Tags & Share Buttons */
.single-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eaeaea;
}
.single-tags {
    display: flex;
    align-items: center;
    gap: 15px;
}
.tags-label, .share-label {
    font-weight: 800;
    color: #000;
    font-size: 14px;
}
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tags-list a {
    display: inline-block;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.tags-list a:hover {
    color: var(--theme-blue);
}
.single-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: none;
}
.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
    color: #fff;
}
.share-btn.facebook { background: #1877F2; }
.share-btn.x { background: #000000; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.pinterest { background: #E60023; }

/* Comments Accordion */
.modern-comments-accordion {
    margin-top: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    margin-bottom: 40px;
}
.comments-summary-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    background: #fcfcfc;
    border-bottom: 1px solid #eaeaea;
    transition: background 0.3s ease;
    list-style: none; /* Hide default arrow */
}
.comments-summary-btn::-webkit-details-marker {
    display: none;
}
.comments-summary-btn:hover {
    background: #f4f6f8;
}
.comments-summary-btn .chevron-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}
details[open] .comments-summary-btn .chevron-icon {
    transform: rotate(180deg);
}
.comments-accordion-content {
    padding: 0 30px 30px;
}

/* Modern Comments Area */
.comments-area {
    margin-top: 30px !important;
    padding-top: 0 !important;
    border-top: none !important;
}
.comments-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #111;
}

/* Comment List */
.comment-list, .comment-list .children {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment-list li.comment {
    margin-bottom: 20px;
}
.comment-body {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    padding-left: 70px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.comment-author .avatar {
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.comment-author {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}
.comment-author b.fn {
    font-style: normal;
}
.comment-author .says {
    display: none; /* Hide "dedi ki:" */
}
.comment-metadata {
    font-size: 12px;
    color: #888;
}
.comment-metadata a {
    color: inherit;
    text-decoration: none;
}
.comment-content {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}
.comment-content p {
    margin-bottom: 8px;
}
.comment-content p:last-child {
    margin-bottom: 0;
}
.reply {
    margin-top: 8px;
}
.reply a {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}
.reply a:hover {
    text-decoration: underline;
}

/* Child Comments */
.comment-list .children {
    padding-left: 30px;
    margin-top: 20px;
}
.comment-list .children .comment-body {
    padding-left: 60px;
}
.comment-list .children .comment-author .avatar {
    width: 28px;
    height: 28px;
}

/* Comment Form */
.comment-respond {
    margin-top: 50px;
    background: #fcfcfc;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 30px;
}
.comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}
.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #ff9800;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.1);
}
.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-form .comment-form-cookies-consent label {
    margin-bottom: 0;
    font-weight: normal;
    color: #666;
}
.comment-form .submit-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.comment-form .submit-btn:hover {
    background: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,152,0,0.3);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    width: 44px; height: 44px;
    background: #f1f1f1;
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}
.search-close:hover {
    transform: scale(1.1);
    background: #e1e1e1;
}
.search-form {
    display: flex;
    width: 90%;
    max-width: 600px;
    border: 2px solid var(--theme-blue);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 25px;
    font-size: 18px;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.search-submit {
    background: var(--theme-blue);
    color: #fff;
    border: none;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.search-submit:hover {
    background: var(--theme-blue-hover);
}

.mobile-header-actions {
    display: none;
}

/* --- Single Post Additions --- */
.single-author-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 20px 30px;
    margin: 40px 0;
    gap: 25px;
    background: #fff;
}
.author-box-avatar {
    flex-shrink: 0;
}
.author-box-avatar img {
    border-radius: 4px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}
.author-box-name {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #000;
}
.author-box-desc {
    margin: 0;
    font-size: 15px;
    color: #666;
    font-weight: 700;
}
.single-post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}
.nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.nav-previous, .nav-next {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-previous { align-items: flex-start; }
.nav-next { align-items: flex-end; text-align: right; }
.nav-subtitle {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 15px;
    color: #111;
}
.nav-post-card {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.3s;
}
.nav-post-card:hover { color: var(--theme-blue); }
.nav-img {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}
.nav-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ribbon-header {
    border-bottom: 2px solid #5c7b96;
    margin: 40px 0 20px;
    display: flex;
    align-items: flex-end;
    position: relative;
}
.ribbon-title {
    background: #5c7b96;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    position: relative;
}
.ribbon-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    border-top: 38px solid #5c7b96;
    border-right: 15px solid transparent;
}
.ribbon-tail {
    width: 6px;
    height: 38px;
    background: #5c7b96;
    margin-left: 19px;
    transform: skewX(-21deg);
}
.related-refresh-btn {
    margin-left: auto;
    background: #5c7b96;
    color: #fff;
    border: none;
    border-radius: 4px 4px 0 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 2px;
}
.related-refresh-btn:hover { background: var(--theme-blue-hover); }

.reactions-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 40px;
}
.reaction-item {
    background: #f1f1f1;
    flex: 1;
    text-align: center;
    padding: 15px 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    user-select: none;
}
.reaction-item:hover, .reaction-item.active {
    transform: translateY(-5px);
    background: #e5e5e5;
}
.reaction-icon {
    font-size: 32px;
    margin-bottom: 5px;
    transition: transform 0.3s;
}
.reaction-item:hover .reaction-icon {
    transform: scale(1.2);
}
.reaction-count {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
}
.reaction-label {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.single-related-posts {
    margin-bottom: 50px;
}
.related-grid .post-card-excerpt {
    display: none;
}
.related-grid .post-card-meta {
    margin-bottom: 0;
}
.related-grid .webolur-post-card {
    padding: 0;
    box-shadow: none;
    border: none;
}
.related-grid .post-card-img {
    height: 140px;
}
.related-grid .post-card-title {
    font-size: 15px;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .sticky-logo {
        display: none !important;
    }
    .mobile-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        color: var(--theme-blue);
    }
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        cursor: pointer;
    }
    .middle-header .container {
        flex-direction: column;
        gap: 15px;
    }
    .site-logo {
        text-align: left;
        width: auto;
    }
    .site-logo img {
        margin: 0;
        max-height: 45px;
    }
    .header-banners {
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        overflow-x: visible;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 4px;
    }
    .header-banners::-webkit-scrollbar {
        display: none;
    }
    .header-banners a {
        flex-shrink: 0;
        width: calc((100% - 20px) / 6) !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        font-size: 8px !important;
        padding: 2px !important;
        border-width: 2px !important;
    }
    .main-navigation {
        position: fixed;
        top: 0; left: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 10000;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 0;
        overflow-y: auto;
        border: none;
        border-right: 1px solid rgba(255,255,255,0.4);
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    }
    .main-navigation.active {
        left: 0;
    }
    .main-navigation .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        overflow: visible;
    }
    .nav-left, .nav-actions {
        display: none;
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        white-space: normal;
    }
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        position: relative;
        flex-wrap: wrap;
    }
    .nav-menu > li > a {
        padding: 20px 0;
        color: #111;
        font-size: 22px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }
    .nav-menu > li > a:after {
        display: none;
    }
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 15px 0 20px 0;
        background: transparent;
        display: none;
    }
    .mega-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 60px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        color: #111;
    }
    .mega-toggle svg {
        transition: transform 0.2s;
    }
    .nav-menu > li.mega-open .mega-toggle svg {
        transform: rotate(180deg);
    }
    .nav-menu > li.mega-open .mega-menu {
        display: block;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .mega-post {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    .mega-thumb {
        width: 70px;
        height: 70px;
        margin-bottom: 0;
        border-radius: 6px;
        flex-shrink: 0;
    }
    .mega-content {
        flex: 1;
    }
    .mega-content h4 {
        font-size: 14px;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
    .mega-content h4 a {
        display: inline;
    }
    .mega-date {
        font-size: 11px;
    }
    .content-area {
        flex-direction: column;
        align-items: stretch;
    }
    .main-column,
    .sidebar-column {
        width: 100%;
    }
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    body.is-sticky .mobile-header-top {
        position: fixed;
        top: 0; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        padding: 10px 20px;
        animation: slideDown 0.3s ease-out;
    }
    body.is-sticky .site-main {
        padding-top: 100px !important;
    }
    .section-header-modern {
        flex-direction: row;
        align-items: center;
        border-bottom: 2px solid var(--theme-blue);
        margin-bottom: 20px;
        padding-bottom: 0;
    }
    .section-tab {
        margin-bottom: 0;
        padding: 6px 15px 6px 10px;
        font-size: 13px;
        flex-shrink: 0;
        top: 2px;
    }
    .section-filters-modern {
        width: auto;
        flex-grow: 1;
        overflow-x: auto;
        padding-bottom: 0;
        margin-left: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        display: flex;
        align-items: center;
    }
    .section-filters-modern::-webkit-scrollbar {
        display: none;
    }
    .filter-links {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 8px;
    }
    .filter-links a {
        font-size: 12px;
        background: #f1f1f1;
        padding: 4px 12px;
        border-radius: 20px;
        color: #555 !important;
    }
    .filter-links a.active, .filter-links a:active {
        background: var(--theme-blue);
        color: #fff !important;
    }
    .filter-refresh {
        display: none;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .post-list-item {
        flex-direction: column;
        gap: 15px;
    }
    .post-list-img {
        width: 100%;
        height: 200px;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 10px;
    }
    .hero-item:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 250px;
    }
    .hero-item:nth-child(n+2) {
        grid-column: span 1;
        grid-row: auto;
        height: 150px;
    }
    .hero-item:nth-child(1) .hero-title {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .hero-item:nth-child(1) .hero-meta {
        font-size: 11px;
    }
    .hero-item:nth-child(n+2) .hero-title {
        font-size: 12px;
        line-height: 1.2;
    }
    .hero-item:nth-child(n+2) .hero-overlay {
        padding: 10px;
    }
    .post-title {
        font-size: 16px;
    }
    .post-excerpt {
        font-size: 12px;
    }
    .post-list-item {
        flex-direction: column;
        padding-right: 0;
    }
    .post-list-img {
        width: 100%;
    }
}

/* Pagination Styling */
.pagination {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}
.pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}
.pagination .page-numbers:hover {
    background: #f4f6f8;
    border-color: #ddd;
}
.pagination .page-numbers.current {
    background: var(--theme-blue);
    color: #fff;
    border-color: var(--theme-blue);
    box-shadow: 0 4px 10px rgba(13,138,188,0.3);
}
.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    padding: 0 5px;
    min-width: auto;
}
.pagination .screen-reader-text {
    display: none;
}

/* Submit Modal Styling */
.submit-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.submit-overlay.active {
    opacity: 1;
    visibility: visible;
}
.submit-modal {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.submit-overlay.active .submit-modal {
    transform: translateY(0) scale(1);
}
.submit-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}
.submit-close:hover {
    color: #111;
}
.submit-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #111;
}
.submit-desc {
    margin: 0 0 15px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.submit-input, .submit-textarea {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}
.submit-input:focus, .submit-textarea:focus {
    border-color: var(--theme-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13,138,188,0.1);
}
.submit-textarea {
    min-height: 80px;
    resize: vertical;
}
.submit-btn {
    width: 100%;
    background: var(--theme-blue);
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background: #0b739e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,138,188,0.3);
}
.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Preloader */
#webolur-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#webolur-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-spinner svg {
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alphabet Filter */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
}
.alphabet-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    background: #fff;
    border: 1px solid #ccc;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 38px;
    border-radius: 4px;
}
.alphabet-btn:hover, .alphabet-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Custom Login Page - Minimal */
.webolur-login-wrapper {
    min-height: calc(60vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    padding: 40px 20px;
}
.minimal-login-box {
    width: 400px;
    max-width: 90%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    padding: 40px;
    border: 1px solid #f1f5f9;
}
.minimal-login-box .site-logo img {
    max-width: 100%;
    height: auto;
}
.login-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.login-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}
.login-form-inner form p {
    margin-bottom: 20px;
}
.login-form-inner form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.login-form-inner form input[type="text"],
.login-form-inner form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.3s;
}
.login-form-inner form input[type="text"]:focus,
.login-form-inner form input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    background: #fff;
}
.login-form-inner form p.login-remember {
    display: flex;
    align-items: center;
}
.login-form-inner form input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.login-form-inner form input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.login-form-inner form input[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.login-footer-links {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
}
.login-footer-links a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.login-footer-links a:hover {
    text-decoration: underline;
}
.login-footer-links .sep {
    color: #cbd5e1;
    margin: 0 10px;
}
/* Advanced Search Form */
.advanced-search-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}
.search-form-row {
    margin-bottom: 20px;
}
.advanced-search-select {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 8px;
    appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 15px center;
    background-size: 20px;
    cursor: pointer;
    font-family: inherit;
}
.search-input-row {
    position: relative;
    display: flex;
}
.advanced-search-field {
    width: 100%;
    padding: 15px 50px 15px 15px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}
.advanced-search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.advanced-search-submit:hover {
    color: #111;
}
.search-reactions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.reaction-label {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: transform 0.2s;
}
.reaction-label input[type="radio"] {
    display: none;
}
.reaction-label .emoji-icon {
    font-size: 28px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s;
    display: block;
}
.reaction-label:hover .emoji-icon,
.reaction-label input[type="radio"]:checked + .emoji-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}
.clear-reaction {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #f1f5f9;
    transition: all 0.2s;
}
.clear-reaction-text {
    font-size: 14px !important;
    color: #64748b;
    font-weight: 600;
}
.clear-reaction:hover {
    background: #e2e8f0;
}
.reaction-label input[type="radio"]:checked ~ .clear-reaction-text {
    color: #2563eb;
}
.reaction-label:has(input[type="radio"]:checked).clear-reaction {
    border-color: #2563eb;
    background: #eff6ff;
}
.advanced-search-main-submit {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.advanced-search-main-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
