/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* ErnaSoft Custom CSS */

.section-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #f15a24;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-subtitle::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 30px;
    height: 2px;
    background-color: #f15a24;
    margin-top: 21px;
}
.section-subtitle .ekit-heading--subtitle {
	margin-left: -40px !important;
}
.section-subtitle .ekit-heading__description {
	margin-left: -40px;
}
.site-below-footer-wrap {
    display: none !important;
}

/* =================================================
   EUROPE HOSTING - SINGLE BLOG
   Matches Homepage Design
   Orange / Navy / White
================================================= */

:root {
    --eh-orange: #FF5A0A;
    --eh-navy: #0B1F33;
    --eh-text: #526174;
    --eh-muted: #8995A3;
    --eh-border: #E9EDF2;
    --eh-soft: #F7F8FA;
}

/* Keep Astra's original layout */
body.single-post #content {
    background: #fff;
    padding-top: 45px;
    padding-bottom: 65px;
}

body.single-post #content .ast-container {
    max-width: 1200px;
}

/* Article */
body.single-post article.ast-article-single {
    background: #fff;
    border: 1px solid var(--eh-border);
    border-radius: 5px;
    padding: 34px;
    box-shadow: 0 5px 22px rgba(11,31,51,.045);
}

/* Article header */
body.single-post .entry-header {
    padding-bottom: 22px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--eh-border);
}

/* Small orange category marker */
body.single-post .entry-header:before {
    content: "BLOG / INSIGHTS";
    display: inline-block;
    color: var(--eh-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

body.single-post .entry-header:after {
    content: "";
    display: block;
    position: absolute;
}

/* Title */
body.single-post .entry-title {
    color: var(--eh-navy);
    font-size: 34px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: -.6px;
    margin: 0 0 16px;
}

/* Meta */
body.single-post .entry-meta {
    color: var(--eh-muted);
    font-size: 12px;
    font-weight: 400;
}

body.single-post .entry-meta a {
    color: var(--eh-orange);
    font-weight: 600;
    text-decoration: none;
}

body.single-post .entry-meta a:hover {
    color: var(--eh-navy);
}

/* Article text */
body.single-post .entry-content {
    color: var(--eh-text);
    font-size: 15px;
    line-height: 1.9;
}

body.single-post .entry-content p {
    margin-bottom: 20px;
}

body.single-post .entry-content h2 {
    color: var(--eh-navy);
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    margin: 38px 0 17px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--eh-border);
    position: relative;
}

body.single-post .entry-content h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 2px;
    background: var(--eh-orange);
}

body.single-post .entry-content h3 {
    color: var(--eh-navy);
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 13px;
}

body.single-post .entry-content h4 {
    color: var(--eh-navy);
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 12px;
}

/* Links */
body.single-post .entry-content a {
    color: var(--eh-orange);
    text-decoration: none;
    font-weight: 600;
}

body.single-post .entry-content a:hover {
    color: var(--eh-navy);
}

/* Images */
body.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

body.single-post .entry-content figure {
    margin: 25px 0;
}

body.single-post .entry-content figcaption {
    color: var(--eh-muted);
    font-size: 12px;
    margin-top: 8px;
}

/* Lists */
body.single-post .entry-content ul,
body.single-post .entry-content ol {
    padding-left: 24px;
    margin: 18px 0 24px;
}

body.single-post .entry-content li {
    margin-bottom: 9px;
}

body.single-post .entry-content li::marker {
    color: var(--eh-orange);
}

/* Quote */
body.single-post .entry-content blockquote {
    margin: 25px 0;
    padding: 18px 22px;
    background: #FFF7F2;
    border-left: 3px solid var(--eh-orange);
    color: var(--eh-navy);
    font-size: 16px;
    border-radius: 3px;
}

/* Sidebar widgets */
body.single-post #secondary .widget {
    background: #fff;
    border: 1px solid var(--eh-border);
    border-radius: 5px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(11,31,51,.035);
}

/* Sidebar headings */
body.single-post #secondary .wp-block-heading,
body.single-post #secondary .widget-title {
    color: var(--eh-navy);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--eh-border);
    position: relative;
}

body.single-post #secondary .wp-block-heading:after,
body.single-post #secondary .widget-title:after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--eh-orange);
    position: absolute;
    bottom: -1px;
    left: 0;
}

/* Sidebar lists */
body.single-post #secondary ul,
body.single-post #secondary ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

body.single-post #secondary li {
    padding: 10px 0;
    border-bottom: 1px solid #F0F2F5;
    font-size: 13px;
    line-height: 1.6;
}

body.single-post #secondary li:last-child {
    border-bottom: 0;
}

body.single-post #secondary a {
    color: var(--eh-text);
    text-decoration: none;
    transition: color .2s ease;
}

body.single-post #secondary a:hover {
    color: var(--eh-orange);
}

/* Search */
body.single-post #secondary .wp-block-search__label {
    display: none;
}

body.single-post #secondary .wp-block-search__inside-wrapper {
    display: flex;
    gap: 6px;
}

body.single-post #secondary .wp-block-search__input {
    min-width: 0;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--eh-border);
    border-radius: 3px;
    font-size: 12px;
    outline: none;
}

body.single-post #secondary .wp-block-search__input:focus {
    border-color: var(--eh-orange);
}

body.single-post #secondary .wp-block-search__button {
    height: 42px;
    padding: 0 13px;
    background: var(--eh-orange);
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

body.single-post #secondary .wp-block-search__button:hover {
    background: var(--eh-navy);
}

/* Comments */
body.single-post .comments-area {
    margin-top: 35px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--eh-border);
    border-radius: 5px;
    box-shadow: 0 4px 18px rgba(11,31,51,.035);
}

body.single-post .comments-title,
body.single-post .comment-reply-title {
    color: var(--eh-navy);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 22px;
}

/* Comment */
body.single-post .ast-comment {
    padding: 18px;
    background: var(--eh-soft);
    border: 1px solid var(--eh-border);
    border-radius: 4px;
    margin-bottom: 18px;
}

body.single-post .ast-comment-author a {
    color: var(--eh-navy);
    font-weight: 700;
    text-decoration: none;
}

body.single-post .ast-comment-time,
body.single-post .ast-comment-time a {
    color: var(--eh-muted);
    font-size: 11px;
}

body.single-post .ast-comment-content {
    color: var(--eh-text);
    font-size: 13px;
    line-height: 1.8;
}

body.single-post .ast-reply-link a,
body.single-post .ast-edit-link a {
    color: var(--eh-orange);
    font-size: 12px;
    font-weight: 600;
}

/* Comment form */
body.single-post .comment-respond {
    margin-top: 28px;
}

body.single-post .logged-in-as {
    color: var(--eh-muted);
    font-size: 12px;
}

body.single-post .comment-form textarea,
body.single-post .comment-form input[type="text"],
body.single-post .comment-form input[type="email"],
body.single-post .comment-form input[type="url"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--eh-border);
    border-radius: 3px;
    background: #fff;
    color: var(--eh-navy);
    font-size: 13px;
    outline: none;
}

body.single-post .comment-form textarea {
    min-height: 125px;
}

body.single-post .comment-form textarea:focus,
body.single-post .comment-form input:focus {
    border-color: var(--eh-orange);
}

body.single-post .comment-form input[type="submit"] {
    padding: 12px 23px;
    background: var(--eh-orange);
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

body.single-post .comment-form input[type="submit"]:hover {
    background: var(--eh-navy);
}

/* Mobile */
@media (max-width: 768px) {
    body.single-post #content {
        padding-top: 25px;
        padding-bottom: 40px;
    }

    body.single-post article.ast-article-single {
        padding: 20px;
    }

    body.single-post .entry-title {
        font-size: 27px;
    }

    body.single-post .entry-content {
        font-size: 14px;
    }

    body.single-post .entry-content h2 {
        font-size: 21px;
    }

    body.single-post .comments-area {
        padding: 20px;
    }

    body.single-post #secondary .widget {
        padding: 18px;
    }
}

/* ==============================================
   EUROPE HOSTING - SEARCH RESULTS REDESIGN
   3 Columns / 2 Tablet / 1 Mobile
============================================== */

body.search {
    --eh-orange: #FF5A0A;
    --eh-navy: #0B1F33;
    --eh-text: #526174;
    --eh-muted: #8995A3;
    --eh-border: #E9EDF2;
}

body.search #content {
    background: #fff;
    padding: 48px 0 75px;
}

body.search #content > .ast-container {
    max-width: 1200px;
}

/* SEARCH HEADER */
body.search .ast-archive-description {
    background: #F5F7FA;
    border: 1px solid var(--eh-border);
    border-radius: 6px;
    border-left: 4px solid var(--eh-orange);
    padding: 28px 32px;
    margin-bottom: 34px;
}

body.search .ast-archive-title {
    color: var(--eh-navy);
    font-size: 30px;
    font-weight: 750;
    line-height: 1.35;
    margin: 0 0 12px;
}

body.search .ast-archive-title span {
    color: var(--eh-orange);
}

body.search .ast-breadcrumbs {
    font-size: 12px;
    color: var(--eh-muted);
}

body.search .ast-breadcrumbs a {
    color: var(--eh-text);
    text-decoration: none;
}

body.search .ast-breadcrumbs a:hover {
    color: var(--eh-orange);
}

/* THREE COLUMN GRID */
body.search #primary {
    width: 100%;
}

body.search #main > .ast-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    align-items: stretch;
}

/* RESULT CARD */
body.search #main article.ast-article-post {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 1px solid var(--eh-border);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(11,31,51,.035);
    transition: transform .25s ease, box-shadow .25s ease,
                border-color .25s ease;
}

body.search #main article.ast-article-post:hover {
    transform: translateY(-5px);
    border-color: rgba(255,90,10,.4);
    box-shadow: 0 12px 28px rgba(11,31,51,.09);
}

/* CARD INNER */
body.search #main .ast-article-inner,
body.search #main .post-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 22px;
}

/* IMAGE */
body.search .ast-blog-featured-section {
    width: 100%;
    margin: -22px -22px 20px;
    width: calc(100% + 44px);
}

body.search .ast-blog-featured-section img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 0;
}

/* PAGE / POST LABEL */
body.search #main article.page .post-content:before {
    content: "PAGE";
    display: inline-block;
    background: #EEF3F8;
    color: var(--eh-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 13px;
}

body.search #main article.post .post-content:before {
    content: "ARTICLE";
    display: inline-block;
    background: #FFF1E9;
    color: var(--eh-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 13px;
}

/* CATEGORY */
body.search .ast-taxonomy-container {
    margin: 0 0 10px;
}

body.search .ast-taxonomy-container a {
    color: var(--eh-orange);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

/* TITLE */
body.search #main .entry-title {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 750;
    margin: 0 0 12px;
    letter-spacing: -.3px;
}

body.search #main .entry-title a {
    color: var(--eh-navy);
    text-decoration: none;
    transition: color .2s ease;
}

body.search #main .entry-title a:hover {
    color: var(--eh-orange);
}

/* META */
body.search #main .entry-meta {
    color: var(--eh-muted);
    font-size: 11px;
    margin: 0 0 13px;
}

body.search #main .entry-meta a {
    color: var(--eh-text);
    text-decoration: none;
}

body.search #main .entry-meta a:hover {
    color: var(--eh-orange);
}

/* EXCERPT */
body.search .ast-excerpt-container {
    color: var(--eh-text);
    font-size: 13px;
    line-height: 1.8;
    margin-top: auto;
}

body.search .ast-excerpt-container p {
    margin: 0;
}

/* EMPTY CONTENT */
body.search #main .entry-content:empty {
    display: none;
}

/* PAGINATION */
body.search .ast-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid var(--eh-border);
}

body.search .ast-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--eh-border);
    border-radius: 4px;
    color: var(--eh-navy);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: .2s ease;
}

body.search .ast-pagination .page-numbers:hover {
    color: #fff;
    background: var(--eh-navy);
    border-color: var(--eh-navy);
}

body.search .ast-pagination .page-numbers.current {
    color: #fff;
    background: var(--eh-orange);
    border-color: var(--eh-orange);
}

/* NO RESULTS */
body.search .no-results {
    padding: 35px;
    background: #F5F7FA;
    border: 1px solid var(--eh-border);
    border-radius: 6px;
}

body.search .no-results .page-title {
    color: var(--eh-navy);
}

/* TABLET */
@media (max-width: 1024px) {
    body.search #main > .ast-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    body.search #content {
        padding: 28px 0 50px;
    }

    body.search .ast-archive-description {
        padding: 21px;
        margin-bottom: 23px;
    }

    body.search .ast-archive-title {
        font-size: 23px;
    }

    body.search #main > .ast-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.search #main .ast-article-inner,
    body.search #main .post-content {
        padding: 20px;
    }

    body.search .ast-blog-featured-section {
        margin: -20px -20px 18px;
        width: calc(100% + 40px);
    }

    body.search #main .entry-title {
        font-size: 19px;
    }
}