/* Inner pages share the reference layout while keeping native WordPress flows. */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.about-breadcrumb ol {
    flex-wrap: wrap;
}

.about-breadcrumb li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.about-title-band h1,
.page-banner-title {
    overflow-wrap: anywhere;
}

.page-banner-title {
    color: var(--ink);
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 770px) minmax(0, 1fr);
    gap: 55px;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.blog-grid-card .post-body {
    padding: 22px;
}

.blog-grid-card h2 {
    font-size: 18px;
    line-height: 1.45;
    margin: 10px 0 8px;
}

.blog-grid-card p {
    font-size: 14px;
}

.blog-grid-card img {
    aspect-ratio: 370/200;
    object-fit: cover;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: #999;
    font-size: 12px;
    line-height: 1.6;
}

.article-meta>*+* {
    border-left: 1px solid var(--line);
    margin-left: 10px;
    padding-left: 10px;
}

.blog-sidebar {
    border-left: 1px solid var(--line);
    padding-left: 30px;
    min-width: 0;
}

.blog-search {
    display: flex;
    width: 100%;
}

.blog-search input {
    min-width: 0;
    flex: 1;
    height: 46px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 0;
}

.blog-search button {
    min-width: 46px;
    padding: 0;
    min-height: 46px;
}

.blog-search .dl-icon {
    width: 18px;
    height: 18px;
}

.sidebar-widget {
    margin-top: 42px;
}

.sidebar-widget h2 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.sidebar-categories,
.sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-categories {
    border: 1px solid var(--line);
    padding: 12px 20px;
}

.sidebar-categories li+li {
    border-top: 1px solid var(--line);
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 13px;
    color: #888;
}

.sidebar-categories a:hover,
.sidebar-posts a:hover strong {
    color: var(--main);
}

.sidebar-categories small {
    flex-shrink: 0;
}

.sidebar-posts li+li {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 18px;
}

.sidebar-posts a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sidebar-posts .sidebar-post-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-posts strong {
    font-size: 14px;
    display: block;
    line-height: 1.5;
}

.sidebar-posts time {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-top: 6px;
}

.sidebar-care {
    background: var(--soft);
    padding: 24px 20px;
    border: 1px solid var(--line);
}

.sidebar-care img {
    width: 210px;
    margin-bottom: 20px;
}

.sidebar-care p {
    font-size: 13px;
}

.sidebar-care .button {
    padding: 12px 16px;
    width: 100%;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 3px 10px;
    color: #888;
}

.tag-cloud a:hover {
    color: var(--main);
    border-color: var(--main);
}

.pagination {
    margin-top: 42px;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
}

.pagination .current,
.pagination a:hover {
    background: var(--main);
    border-color: var(--main);
    color: white;
}

.single-cover {
    width: 100%;
    aspect-ratio: 770/425;
    object-fit: cover;
}

.article-category {
    margin: 23px 0 8px;
    color: var(--main);
    font-size: 12px;
    font-weight: bold;
}

.single-post-title {
    font-size: 30px;
    line-height: 1.35;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.article-content {
    margin-top: 24px;
    color: #252525;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
	letter-spacing: 0;
}

.article-content p {
    color: inherit;
	margin-bottom: 20px;
}

.article-content ul li{
	margin-bottom: 15px;
}

.article-content h2 {
    font-size: 25px;
    color: var(--ink);
    margin: 30px 0 14px;
}

.article-content h3 {
    color: var(--ink);
    font-size: 20px;
    margin-top: 25px;
}

.article-content a {
    color: var(--main);
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 3px solid var(--main);
    background: var(--soft);
    margin: 30px 0;
    padding: 20px 24px;
}

.article-content img {
    height: auto;
}

.article-content figure {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.article-content table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

.article-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding: 22px 0;
    margin-top: 35px;
    font-size: 13px;
}

.article-footer a {
    color: var(--main);
}

.share-button {
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    color: var(--ink);
    border: 0;
    padding: 8px;
    cursor: pointer;
    font-size: 13px;
}

.share-button .dl-icon {
    width: 18px;
    height: 18px;
}

.share-status {
    font-size: 12px;
    color: var(--main);
}

.article-author {
    background: var(--soft);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.article-author>.dl-icon {
    width: 42px;
    height: 42px;
    color: var(--main);
}

.article-author p {
    margin: 0;
    font-size: 14px;
}

.article-author a {
    color: var(--main);
}

.post-navigation {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.post-navigation small {
    display: block;
    color: #999;
}

.post-navigation span {
    display: block;
    font-size: 14px;
}

.nav-next {
    text-align: right;
}

.article-comments {
    margin-top: 50px;
}

.article-comments h2,
.comment-reply-title {
    font-size: 25px;
}

.comment-list,
.comment-list .children {
    padding: 0;
    list-style: none;
}

.comment-list .children {
    margin-left: 30px;
}

.article-comment>article {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 28px 0;
}

.comment-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--main);
    border: 1px solid var(--line);
}

.comment-body {
    border: 1px solid var(--line);
    padding: 20px;
    min-width: 0;
    flex: 1;
}

.comment-body header {
    font-size: 13px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.comment-body time {
    color: #999;
}

.comment-body p {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.comment-reply-link {
    color: var(--main);
    font-size: 12px;
}

.comment-notes {
    font-size: 13px;
}

.comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form-comment,
.comment-form .form-submit,
.comment-form .comment-notes,
.comment-form .logged-in-as {
    grid-column: 1/-1;
}

.comment-form label,
.feedback-form label {
    font-size: 13px;
    color: #777;
}

.comment-form input:not([type=submit]),
.comment-form textarea,
.feedback-form input:not([type=checkbox]),
.feedback-form textarea,
.feedback-form select {
    width: 100%;
    display: block;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: white;
    color: #555;
    padding: 12px 14px;
    margin-top: 7px;
    font-size: 14px;
}

.feedback-form input[type=file] {
    padding: 10px 12px;
    background: #fff;
    cursor: pointer;
}

.feedback-form .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.comment-form textarea,
.feedback-form textarea {
    min-height: 160px;
    resize: vertical;
}

.comment-reply-title {
    margin-top: 40px;
}

.comment-reply-title small {
    font-size: 13px;
    margin-left: 12px;
    color: var(--main);
}

.comment-form input[type=submit] {
    min-height: 48px;
    padding: 13px 27px;
    border: 0;
    border-radius: 0;
    background: var(--main);
    color: white;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.comment-form input[type=submit]:hover {
    background: #dc5000;
}

.service-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 30px;
}

.service-page-card {
    border: 1px solid var(--line);
}

.service-page-card>img {
    width: 100%;
    aspect-ratio: 370/200;
    object-fit: cover;
}

.service-page-body {
    position: relative;
    padding: 28px 22px;
}

.service-page-icon {
    position: absolute;
    right: 22px;
    top: -34px;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: #aaa;
}

.service-page-card:hover .service-page-icon {
    color: var(--main);
}

.service-page-body h2 {
    font-size: 20px;
    margin: 0 0 14px;
    padding-right: 54px;
}

.service-page-body p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-details summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.service-details summary::-webkit-details-marker {
    display: none;
}

.service-details summary span {
    display: inline-block;
    margin-left: 8px;
}

.service-details[open] summary span {
    transform: rotate(90deg);
}

.service-details[open] summary {
    color: var(--main);
    margin-bottom: 15px;
}

.service-details .text-link {
    font-size: 13px;
}

.customer-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 85px 30px;
    align-items: start;
    margin-top: 55px;
}

.customer-review-card {
    position: relative;
    border: 1px solid var(--line);
    padding: 64px 24px 0;
    text-align: center;
}

.customer-review-avatar {
    position: absolute;
    left: calc(50% - 45px);
    top: -45px;
    width: 90px;
    height: 90px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    padding: 7px;
    display: flex;
    place-items: center;
    color: var(--main);
}

.customer-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.customer-review-avatar .dl-icon {
    width: 40px;
    height: 40px;
}

.customer-review-card h2 {
    font-size: 18px;
    margin: 0 0 12px;
}

.customer-review-card>p {
    font-size: 14px;
    line-height: 1.8;
    min-height: 102px;
    margin-bottom: 24px;
    overflow-wrap: anywhere;
}

.customer-review-bottom {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 19px 20px;
    border-top: 1px solid var(--line);
    margin: 0 -24px;
    text-align: left;
}

.customer-review-bottom strong {
    display: block;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.customer-review-bottom small {
    display: block;
    color: var(--main);
    font-size: 11px;
}

.rating-stars {
    flex-shrink: 0;
    color: #ddd;
    font-size: 13px;
    white-space: nowrap;
}

.rating-stars .is-filled {
    color: #ffc400;
}

.review-demo-note {
    font-size: 13px;
    text-align: center;
    color: #888;
    margin: 0 0 65px;
}

.review-submission {
    max-width: 770px;
    border-top: 1px solid var(--line);
    margin: 65px auto 0;
    padding-top: 45px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 370px minmax(0, 1fr);
    gap: 40px;
}

.contact-layout h2 {
    font-size: 28px;
    margin-bottom: 35px;
}

.contact-detail {
    border: 1px solid #f3f3f3;
    margin-bottom: 14px;
}

.contact-detail summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: var(--soft);
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
}

.contact-detail summary:before {
    content: "›";
    font-size: 24px;
    line-height: 1;
}

.contact-detail summary::-webkit-details-marker {
    display: none;
}

.contact-detail[open] summary {
    color: var(--main);
}

.contact-detail[open] summary:before {
    transform: rotate(90deg);
}

.contact-detail ul {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
}

.contact-detail li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
}

.contact-detail li+li {
    border-top: 1px solid var(--line);
}

.contact-detail .dl-icon {
    color: var(--main);
    width: 23px;
    height: 23px;
}

.contact-detail h3 {
    font-size: 14px;
    margin: 0 0 4px;
}

.contact-detail p,
.contact-detail a {
    color: #888;
    font-size: 14px;
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-detail>p {
    padding: 22px;
}

.contact-detail a:hover {
    color: var(--main);
}

.feedback-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 30px;
}

.full-width {
    grid-column: 1/-1;
}

.feedback-form button {
    width: 100%;
}

.feedback-form .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    font-size: 12px;
}

.form-consent input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--main);
}

.form-trap {
    display: none !important;
}

.form-notice {
    border-left: 3px solid var(--main);
    padding: 14px 18px;
    margin-bottom: 25px;
    background: var(--soft);
    color: #444;
}

.contact-map iframe {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
}

.contact-service-band {
    background: var(--main);
    padding: 65px 0;
    text-align: center;
    color: white;
}

.contact-service-band p {
    color: white;
}

.contact-service-band h2 {
    font-size: 28px;
}

@media(max-width:1100px) {
    .blog-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 30px;
    }

    .blog-sidebar {
        padding-left: 24px;
    }

    .customer-review-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-layout {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 30px;
    }
}

@media(max-width:800px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 35px 0 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .sidebar-search {
        grid-column: 1/-1;
    }

    .sidebar-widget {
        margin-top: 0;
    }

    .service-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-information {
        max-width: none;
    }
}

@media(max-width:550px) {

    .blog-grid,
    .blog-sidebar,
    .service-page-grid,
    .customer-review-grid,
    .feedback-form,
    .comment-form {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        gap: 30px;
    }

    .blog-layout {
        gap: 40px;
    }

    .blog-grid {
        gap: 30px;
    }

    .single-post-title {
        font-size: 26px;
    }

    .page-banner-title {
        font-size: 29px;
    }

    .article-meta {
        font-size: 11px;
    }

    .article-author {
        padding: 22px;
        gap: 16px;
    }

    .article-author>.dl-icon {
        width: 30px;
        height: 30px;
    }

    .article-comments h2,
    .comment-reply-title {
        font-size: 23px;
    }

    .article-comment>article {
        gap: 12px;
    }

    .comment-body {
        padding: 14px;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
    }

    .comment-list .children {
        margin-left: 18px;
    }

    .service-page-grid {
        gap: 30px;
    }

    .customer-review-grid {
        gap: 80px;
    }

    .customer-review-bottom {
        flex-direction: row;
        align-items: center;
    }

    .customer-review-card>p {
        min-height: 0;
    }

    .review-demo-note {
        font-size: 12px;
    }

    .contact-layout h2 {
        font-size: 25px;
    }

    .feedback-form {
        gap: 20px;
    }

    .contact-map iframe {
        height: 320px;
    }

    .contact-service-band h2 {
        font-size: 24px;
    }
}

/* 404 Error Page */
.error-404-layout {
    text-align: center;
    padding: 40px 15px 60px;
    max-width: 820px;
    margin: 0 auto;
}

.error-404-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff2e8;
    color: var(--main);
    margin-bottom: 20px;
}

.error-404-badge .dl-icon,
.error-404-badge svg {
    width: 44px;
    height: 44px;
}

.error-404-code {
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
    color: var(--main);
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.error-404-layout h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
}

.error-404-layout p {
    font-size: 15px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
}

.error-404-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 6px;
}

.error-404-services-box {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
}

.error-404-services-box h3 {
    font-size: 17px;
    margin: 0 0 18px;
    color: var(--ink);
    text-align: center;
    font-weight: 700;
}

.error-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-services-grid li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.error-services-grid li a:hover {
    border-color: var(--main);
    color: var(--main);
    box-shadow: 0 4px 12px rgba(255, 101, 0, 0.12);
    transform: translateY(-1px);
}

.error-services-grid li a .dl-icon,
.error-services-grid li a svg {
    color: var(--main);
    flex-shrink: 0;
}

/* 404 Error Page */
.error-404-layout {
    text-align: center;
    padding: 40px 15px 60px;
    max-width: 820px;
    margin: 0 auto;
}

.error-404-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff2e8;
    color: var(--main);
    margin-bottom: 20px;
}

.error-404-badge .dl-icon,
.error-404-badge svg {
    width: 44px;
    height: 44px;
}

.error-404-code {
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
    color: var(--main);
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.error-404-layout h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
}

.error-404-layout p {
    font-size: 15px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
}

.error-404-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 6px;
}

.error-404-services-box {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
}

.error-404-services-box h3 {
    font-size: 17px;
    margin: 0 0 18px;
    color: var(--ink);
    text-align: center;
    font-weight: 700;
}

.error-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-services-grid li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.error-services-grid li a:hover {
    border-color: var(--main);
    color: var(--main);
    box-shadow: 0 4px 12px rgba(255, 101, 0, 0.12);
    transform: translateY(-1px);
}

.error-services-grid li a .dl-icon,
.error-services-grid li a svg {
    color: var(--main);
    flex-shrink: 0;
}


.article-content table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	background-color: #ffffff;
}

.article-content th,
.article-content td {
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: middle;
}

.article-content thead th {
	background-color: #f8fafc;
	color: #0f172a;
	font-weight: 600;
	border-bottom: 2px solid #cbd5e1;
}

.article-content tbody tr:nth-child(even) {
	background-color: #f8fafc;
}

.article-content tbody tr:hover {
	background-color: #f1f5f9;
	transition: background-color 0.15s ease;
}

.article-content figcaption {
	margin-top: 8px;
	font-size: 0.85rem;
	color: #64748b;
	text-align: center;
}
