/* Duroply Blog — layout styles matching main site */

/* ─── Homepage layout (screenshot design) ─── */

.blog-home-section {
    padding: 120px 0 70px;
    background: #fff;
}

@media (min-width: 992px) {
    .blog-home-section {
        padding-top: 130px;
    }
}

.blog-breadcrumbs {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
    flex: 1 1 auto;
    min-width: 0;
}

.blog-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.blog-topbar-search {
    flex: 0 0 340px;
    width: 340px;
    max-width: 40%;
}

.blog-topbar-search .blog-sidebar-search-form {
    width: 100%;
}

@media (min-width: 992px) {
    .blog-topbar {
        display: flex;
    }

    .blog-breadcrumbs {
        display: flex;
    }
}

.blog-breadcrumb-home {
    color: #df1e26;
    font-size: 16px;
    line-height: 1;
}

.blog-breadcrumb-home:hover {
    color: #00768d;
}

.blog-breadcrumb-sep {
    color: #999;
}

.blog-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.blog-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: #00768d;
}

.blog-home-layout {
    align-items: flex-start;
}

.blog-home-main {
    width: 100%;
    padding-right: 0;
}

/* Section headings */
.blog-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f2;
}

.blog-section-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    color: #0d3f4b;
    margin: 0;
}

.blog-section-meta {
    font-size: 13px;
    color: #8aa0a6;
    margin: 0;
    white-space: nowrap;
}

.blog-spotlight-section {
    margin-bottom: 44px;
}

.blog-archive-section {
    margin-bottom: 20px;
}

.blog-grid {
    margin-top: 4px;
}

.blog-grid .blog-card-title {
    font-size: 22px !important;
    line-height: 1.35 !important;
}

.blog-grid .blog-card-thumb img {
    height: 180px;
}

.blog-spotlight-grid {
    margin-bottom: 0;
}

/* Featured carousel — 3 visible, 8 slides */
.blog-featured-carousel-wrap {
    position: relative;
    margin-bottom: 40px;
    padding: 0 42px;
}

.blog-featured-carousel-wrap--hero {
    margin-bottom: 48px;
}

.blog-featured-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-featured-carousel::-webkit-scrollbar {
    display: none;
}

.blog-featured-track {
    display: flex;
    gap: 20px;
}

.blog-featured-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    scroll-snap-align: start;
}

.blog-featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-featured-nav:hover {
    background: #df1e26;
    border-color: #df1e26;
    color: #fff;
}

.blog-featured-nav--prev {
    left: 0;
}

.blog-featured-nav--next {
    right: 0;
}

.blog-featured-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.blog-featured-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    min-height: 260px;
}

.blog-featured-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-featured-img--placeholder {
    display: block;
    background: #d8ecec;
}

.blog-featured-link:hover .blog-featured-img {
    transform: scale(1.03);
}

.blog-featured-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 20px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 65%, transparent 100%);
    color: #fff;
}

.blog-featured-cat {
    display: block;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.95;
}

.blog-featured-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

/* Horizontal list feed */
.blog-list-feed {
    border-top: 1px solid #ececec;
}

.blog-list-item {
    padding: 28px 0;
    border-bottom: 1px solid #ececec;
}

.blog-list-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.blog-list-inner--no-thumb .blog-list-content {
    width: 100%;
}

.blog-list-thumb {
    flex: 0 0 40%;
    max-width: 40%;
    display: block;
    overflow: hidden;
}

.blog-list-thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.blog-list-content {
    flex: 1;
    min-width: 0;
}

.blog-list-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin: 0 0 10px;
    font-weight: 700;
}

.blog-list-title a {
    color: #0d3f4b;
    text-decoration: none;
}

.blog-list-title a:hover {
    color: #df1e26;
}

.blog-list-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.blog-list-meta a {
    color: #888;
}

.blog-list-meta a:hover {
    color: #df1e26;
}

.blog-list-meta-sep {
    margin: 0 6px;
    color: #ccc;
}

.blog-list-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 12px;
}

.blog-list-excerpt p {
    margin: 0;
}

.blog-list-readmore {
    font-size: 14px;
    font-weight: 600;
    color: #df1e26;
    text-decoration: none;
}

.blog-list-readmore:hover {
    color: #00768d;
}

/* Modern pagination */
.blog-pagination-modern {
    margin-top: 48px;
    padding-top: 4px;
}

.blog-pagination-modern ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.blog-pagination-modern li {
    margin: 0;
}

.blog-pagination-modern .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e3ecec;
    border-radius: 10px;
    background: #f8fbfb;
    color: #5f757a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: none;
}

.blog-pagination-modern .page-numbers:hover {
    background: #fff;
    border-color: #c8dadc;
    color: #00768d;
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 118, 141, 0.08);
}

.blog-pagination-modern .page-numbers.current {
    background: linear-gradient(145deg, #0a8a9f 0%, #00768d 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 118, 141, 0.2);
    pointer-events: none;
}

.blog-pagination-modern .page-numbers.dots {
    border: 0;
    background: transparent;
    box-shadow: none;
    min-width: auto;
    height: auto;
    padding: 0 2px;
    color: #9eb0b4;
    font-weight: 400;
}

.blog-pagination-modern .prev,
.blog-pagination-modern .next {
    min-width: auto;
    padding: 0 18px;
    background: #fff;
    border-color: #dce8e8;
    color: #3d5a60;
}

.blog-pagination-modern .prev:hover,
.blog-pagination-modern .next:hover {
    background: #f4fafb;
    border-color: #b8d0d4;
    color: #00768d;
}

.blog-pagination-modern .prev i,
.blog-pagination-modern .next i {
    font-size: 11px;
    opacity: 0.85;
}

.blog-pagination-modern .prev span,
.blog-pagination-modern .next span {
    font-size: 13px;
    font-weight: 500;
}

/* Simple prev/next pagination */
.blog-pagination-simple {
    margin-top: 30px;
    padding-top: 10px;
}

.blog-pagination-simple .page-numbers {
    display: inline-block;
    margin-right: 18px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border: 0;
    background: none;
    padding: 0;
    min-width: 0;
}

.blog-pagination-simple .page-numbers:hover,
.blog-pagination-simple .page-numbers.current {
    color: #df1e26;
    background: none;
}

/* Sidebar — modern card system */
.blog-home-sidebar {
    padding-left: 16px;
}

.blog-sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 100px;
}

.blog-sidebar-panel {
    background: #fff;
    border: 1px solid #e8ecec;
    border-radius: 14px;
    padding: 22px 22px 24px;
    box-shadow: 0 8px 24px rgba(13, 63, 75, 0.06);
}

.blog-sidebar-panel--search {
    padding: 8px;
    background: linear-gradient(135deg, #f7fbfb 0%, #fff 100%);
}

.blog-sidebar-panel--expert {
    padding: 10px 8px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    border-color: #dceeee;
}

.blog-sidebar-panel--expert .blog-sidebar-panel-head {
    margin-bottom: 8px;
    padding: 0 4px;
}

.blog-sidebar-panel-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.blog-sidebar-panel-head--compact {
    margin-bottom: 16px;
    align-items: center;
}

.blog-sidebar-panel-accent {
    flex: 0 0 4px;
    width: 4px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(180deg, #df1e26 0%, #00768d 100%);
    margin-top: 2px;
}

.blog-sidebar-panel-head--compact .blog-sidebar-panel-accent {
    height: 28px;
}

.blog-sidebar-heading {
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    color: #0d3f4b;
    margin: 0;
    letter-spacing: -0.01em;
}

.blog-sidebar-intro {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7c82;
    margin: 4px 0 0;
}

/* Search */
.blog-sidebar-search-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d9e4e4;
    border-radius: 999px;
    padding: 2px 2px 2px 12px;
    min-height: 36px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-sidebar-search-form:focus-within {
    border-color: #00768d;
    box-shadow: 0 0 0 3px rgba(0, 118, 141, 0.12);
}

.blog-sidebar-search-icon {
    color: #8aa0a6;
    font-size: 12px;
    line-height: 1;
}

.blog-sidebar-search-form input[type="search"] {
    width: 100%;
    border: 0;
    padding: 5px 0;
    font-size: 13px;
    line-height: 1.2;
    outline: none;
    background: transparent;
    color: #1a2e33;
}

.blog-sidebar-search-form input[type="search"]::placeholder {
    color: #9aadb3;
}

.blog-sidebar-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: #df1e26;
    color: #fff;
    border-radius: 50%;
    padding: 0;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.blog-sidebar-search-btn:hover {
    background: #00768d;
}

/* Expert form */
.blog-expert-form {
    display: grid;
    gap: 5px;
}

.blog-expert-form input[type="text"],
.blog-expert-form input[type="email"],
.blog-expert-form input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9e4e4;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.2;
    outline: none;
    background: #fff;
    color: #1a2e33;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-expert-form input::placeholder {
    color: #a3b3b8;
}

.blog-expert-form input:focus {
    border-color: #00768d;
    box-shadow: 0 0 0 3px rgba(0, 118, 141, 0.1);
}

.blog-expert-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.blog-expert-recaptcha {
    margin-top: 8px;
}

.blog-expert-otp {
    margin-bottom: 12px;
}

.blog-expert-otp-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.blog-expert-otp-row input[type="text"] {
    max-width: 160px;
    flex: 1 1 140px;
}

.blog-expert-otp-send {
    border: 1px solid #00768d;
    border-radius: 999px;
    background: #fff;
    color: #00768d;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
}

.blog-expert-otp-send:hover {
    background: #00768d;
    color: #fff;
}

.blog-expert-otp-help {
    margin: 6px 0 0;
    font-size: 12px;
    color: #8aa0a6;
    line-height: 1.45;
}

.blog-expert-otp-status {
    margin: 4px 0 0;
    font-size: 12px;
    color: #b45309;
}

.blog-expert-recaptcha .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
}

.blog-expert-field-error,
.blog-expert-recaptcha-error {
    margin: 4px 0 0;
    font-size: 12px;
    color: #b45309;
}

.blog-expert-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
    min-height: 36px;
    border: 1px solid #df1e26;
    border-radius: 999px;
    padding: 0 16px;
    background: #fff;
    color: #df1e26;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-expert-submit:hover {
    background: #df1e26;
    color: #fff;
    box-shadow: none;
    transform: none;
}

.blog-expert-submit:hover i {
    color: #fff;
}

.blog-expert-submit i {
    font-size: 11px;
    color: #df1e26;
}

/* Trending */
.blog-trending-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.blog-trending-list-item {
    border-top: 1px solid #edf2f2;
}

.blog-trending-list-item:first-child {
    border-top: 0;
}

.blog-trending-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.blog-trending-item:hover {
    background: linear-gradient(90deg, rgba(0, 118, 141, 0.04) 0%, transparent 100%);
}

.blog-trending-rank {
    font-size: 11px;
    font-weight: 700;
    color: #df1e26;
    letter-spacing: 0.06em;
    min-width: 22px;
}

.blog-trending-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 999px;
    flex-shrink: 0;
}

.blog-trending-thumb--placeholder {
    display: block;
    background: linear-gradient(135deg, #e8f3f3, #d5e8e8);
}

.blog-trending-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.blog-trending-title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: #0d3f4b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-trending-date {
    font-size: 11px;
    color: #8aa0a6;
    letter-spacing: 0.02em;
}

.blog-trending-item:hover .blog-trending-title {
    color: #df1e26;
}

/* Social */
.blog-sidebar-social-text {
    font-size: 13px;
    line-height: 1.6;
    color: #6b7c82;
    margin: 0 0 16px;
}

.blog-sidebar-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.blog-sidebar-social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #dce7e7;
    border-radius: 12px;
    color: #4f6369;
    font-size: 16px;
    background: #f9fbfb;
    transition: all 0.2s ease;
}

.blog-sidebar-social-list a:hover {
    color: #fff;
    background: #00768d;
    border-color: #00768d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 118, 141, 0.2);
}

.blog-sidebar-social-list a:hover i.fa-linkedin,
.blog-sidebar-social-list a:hover i.fa-youtube,
.blog-sidebar-social-list a:hover i.fa-facebook,
.blog-sidebar-social-list a:hover i.fa-instagram,
.blog-sidebar-social-list a:hover i.fa-twitter {
    color: #fff;
}

/* ─── Inner pages / legacy card grid ─── */

.blog-hero {
    background: #00768d url(../images/contact-bg.jpg) center center / cover no-repeat;
    min-height: 280px;
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero h6 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-hero h1 {
    color: #fff;
    font-size: 56px !important;
    line-height: 1.15 !important;
    margin-bottom: 0;
}

.blog-hero .blog-hero-sub {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    max-width: 720px;
}

.blog-section {
    padding: 60px 0 80px;
    background: #effbfb;
}

.blog-grid {
    margin-top: 10px;
}

.blog-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.blog-card-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 24px 22px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 13px;
    color: #00768d;
    margin-bottom: 10px;
}

.blog-card-meta a {
    color: #00768d;
}

.blog-card-title {
    font-size: 22px !important;
    line-height: 1.35 !important;
    margin: 0 0 12px;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #df1e26;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 18px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #df1e26;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #00768d;
}

.blog-single-wrap {
    padding: 36px 0 80px;
    background: #fff;
}

.blog-single-wrap .blog-topbar {
    margin-bottom: 24px;
}

.blog-single-article {
    max-width: 960px;
    margin: 0 auto;
}

.blog-single-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: #5f757a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-single-back:hover {
    color: #00768d;
}

.blog-single-back i {
    font-size: 12px;
}

.blog-single-featured {
    margin-bottom: 36px;
}

.blog-single-featured img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(13, 63, 75, 0.12);
}

.blog-entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #3a4a4e;
}

.blog-entry-content > *:first-child {
    margin-top: 0;
}

.blog-entry-content p {
    margin: 0 0 1.35em;
}

.blog-entry-content h2 {
    font-size: 30px !important;
    line-height: 1.3 !important;
    margin: 2em 0 0.75em;
    color: #0d3f4b;
    font-weight: 700;
}

.blog-entry-content h3 {
    font-size: 24px !important;
    line-height: 1.35 !important;
    margin: 1.75em 0 0.65em;
    color: #0d3f4b;
    font-weight: 600;
}

.blog-entry-content h4 {
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin: 1.5em 0 0.55em;
    color: #1a4d57;
    font-weight: 600;
}

.blog-entry-content h5,
.blog-entry-content h6 {
    font-size: 17px !important;
    line-height: 1.45 !important;
    margin: 1.25em 0 0.5em;
    color: #1a4d57;
    font-weight: 600;
}

.blog-entry-content ul,
.blog-entry-content ol {
    margin: 0 0 1.35em;
    padding-left: 1.35em;
}

.blog-entry-content li {
    margin-bottom: 0.45em;
}

.blog-entry-content li::marker {
    color: #00768d;
}

.blog-entry-content blockquote {
    margin: 1.75em 0;
    padding: 20px 24px;
    border-left: 4px solid #00768d;
    background: #f4fafb;
    border-radius: 0 10px 10px 0;
    font-size: 20px;
    line-height: 1.65;
    color: #2f4b52;
    font-style: italic;
}

.blog-entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.blog-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5em 0;
}

.blog-entry-content figure {
    margin: 1.75em 0;
}

.blog-entry-content figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7c82;
    text-align: center;
}

.blog-entry-content a {
    color: #df1e26;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-entry-content a:hover {
    color: #00768d;
}

.blog-entry-content strong {
    color: #1f3439;
    font-weight: 600;
}

.blog-page-links {
    margin-top: 2em;
    padding-top: 1.25em;
    border-top: 1px solid #e8ecec;
    font-size: 15px;
    color: #5f757a;
}

.blog-page-links-label {
    font-weight: 600;
    margin-right: 8px;
    color: #0d3f4b;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #e8ecec;
}

.blog-tags-label {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0d3f4b;
    padding-top: 7px;
}

.blog-tags-list {
    flex: 1 1 auto;
}

/* Single post hero */
.blog-hero--single {
    min-height: auto;
}

.blog-hero--single::before {
    background: rgba(0, 0, 0, 0.42);
}

.blog-hero-inner--single {
    padding: 36px 0 42px;
}

.blog-hero--single .blog-hero-title {
    font-size: 40px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 100%;
}

.blog-hero-label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.blog-hero-label a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.blog-hero-label a:hover {
    color: #fff;
    text-decoration: underline;
}

.blog-hero-sub--single {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 100%;
}

.blog-pagination:not(.blog-pagination-modern) {
    margin-top: 40px;
}

.blog-pagination:not(.blog-pagination-modern) .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.blog-pagination:not(.blog-pagination-modern) .page-numbers {
    display: inline-block;
    min-width: 42px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid #dce8e8;
    color: #5f757a;
    text-decoration: none;
    border-radius: 10px;
    background: #f8fbfb;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.blog-pagination:not(.blog-pagination-modern) .page-numbers.current,
.blog-pagination:not(.blog-pagination-modern) .page-numbers:hover {
    background: #00768d;
    border-color: #00768d;
    color: #fff;
}

.blog-search-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 30px;
}

.blog-search-form input[type="search"] {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 12px 14px;
    font-size: 15px;
}

.blog-search-form button {
    background: #df1e26;
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 12px 22px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.blog-search-form button:hover {
    background: #00768d;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
}

.blog-empty-search {
    max-width: 420px;
    margin: 0 auto;
}

.blog-empty-search .blog-sidebar-search-form {
    width: 100%;
}

.blog-empty h2 {
    font-size: 32px !important;
    line-height: 1.3 !important;
    color: #00768d;
}

.blog-sidebar .widget {
    background: #fff;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.blog-tags a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 7px 14px;
    background: #f4fafa;
    color: #00768d;
    border: 1px solid #dce8e8;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-tags a:hover {
    background: #00768d;
    color: #fff;
}

@media (max-width: 991px) {
    .blog-home-main {
        padding-right: 15px;
        margin-bottom: 20px;
    }

    .blog-home-sidebar {
        padding-left: 15px;
    }

    .blog-sidebar-widgets {
        position: static;
        top: auto;
    }

    .blog-sidebar-social-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-width: 360px;
    }
}

@media (max-width: 991px) {
    .blog-featured-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .blog-hero h1 {
        font-size: 36px !important;
    }

    .blog-hero--single .blog-hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .blog-hero-inner--single {
        padding: 28px 0 32px;
    }

    .blog-hero-sub--single {
        font-size: 14px;
    }

    .blog-single-wrap {
        padding: 24px 0 60px;
    }

    .blog-entry-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .blog-entry-content h2 {
        font-size: 24px !important;
    }

    .blog-entry-content h3 {
        font-size: 21px !important;
    }

    .blog-entry-content h4 {
        font-size: 18px !important;
    }

    .blog-entry-content blockquote {
        font-size: 18px;
        padding: 16px 18px;
    }

    .blog-tags {
        flex-direction: column;
        gap: 10px;
    }

    .blog-section {
        padding: 40px 0 60px;
    }

    .blog-home-section {
        padding: 105px 0 50px;
    }

    .blog-list-inner {
        flex-direction: column;
        gap: 16px;
    }

    .blog-list-thumb {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .blog-list-thumb img {
        height: 200px;
    }

    .blog-list-title {
        font-size: 22px !important;
    }

    .blog-featured-img {
        height: 220px;
    }

    .blog-featured-link {
        min-height: 220px;
    }

    .blog-featured-carousel-wrap {
        padding: 0 32px;
    }

    .blog-featured-item {
        flex: 0 0 85%;
        min-width: 85%;
    }
}

.duroply-form-success {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #e8f7ef;
    border: 1px solid #b7e4c7;
    color: #1b6b3a;
    font-size: 14px;
    line-height: 1.45;
}

.duroply-form-general-error {
    margin: 12px 0 0;
    font-size: 14px;
}

.duroply-form--submitted .blog-expert-recaptcha,
.duroply-form--submitted .g-recaptcha {
    display: none;
}

.funding-submit.is-submitting,
.blog-expert-submit.is-submitting {
    opacity: 0.85;
    cursor: wait;
}

.funding-submit.is-submitted,
.blog-expert-submit.is-submitted {
    opacity: 1;
    cursor: default;
    background-color: #1b6b3a;
}

.blog-thank-you-section {
    padding: 48px 0 96px;
}

.blog-thank-you-card {
    background: #fff;
    border: 1px solid #dce7e7;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.blog-thank-you-title {
    color: #00768d;
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px;
}

.blog-thank-you-text {
    color: #3b4b50;
    font-size: 17px;
    line-height: 1.7;
}

.blog-thank-you-text a {
    color: #df1e26;
    font-weight: 600;
}

.blog-thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.blog-thank-you-back,
.blog-thank-you-main {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.blog-thank-you-back {
    background: #00768d;
    color: #fff !important;
}

.blog-thank-you-main {
    background: #f3f8f8;
    color: #00768d !important;
    border: 1px solid #dce7e7;
}
