
/* AmsoZone: restrained navigation and reading refinements. */
body .td-header-wrap .td-header-menu-wrap-full,
body .td-header-wrap .td-header-menu-wrap.td-affix {
    background-color: #17394d;
}
body .td-header-wrap .td-header-menu-wrap-full {
    box-shadow: 0 3px 12px rgba(21, 50, 65, .12);
}
.td-header-wrap .td-main-logo img,
.td-mobile-logo img {
    border-radius: 50%;
}
.td_module_wrap .entry-title a:hover,
.td-post-content a:hover {
    color: #166f89;
}
body.single-post .td-post-content p {
    line-height: 1.95;
}
body.single-post .td-post-content img {
    max-width: 100%;
    height: auto;
}
.td-header-wrap a:focus-visible,
.td-header-wrap button:focus-visible,
.td-post-content a:focus-visible {
    outline: 3px solid #e5a525;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    body.single-post .td-post-content p {
        line-height: 1.9;
    }
}

/* Visual refinements for the existing Newspaper layout. */
.td_module_wrap .entry-title,
.td_module_wrap .entry-title a {
    line-height: 1.65;
}
.td_module_wrap .td-module-thumb,
.td_module_wrap .td-module-thumb img {
    border-radius: 4px;
    overflow: hidden;
}
.td_block_wrap .block-title {
    margin-bottom: 22px;
}
.td_block_wrap .block-title > span,
.td_block_wrap .block-title > a {
    padding: 7px 13px;
}
.single-post .td-post-content {
    overflow-wrap: break-word;
}
.single-post .td-post-content figure {
    max-width: 100%;
}
@media (max-width: 767px) {
    .td_module_wrap .entry-title,
    .td_module_wrap .entry-title a {
        line-height: 1.7;
    }
    .single-post .td-post-content {
        font-size: 18px;
    }
}

/* Compact desktop masthead with a legible site wordmark. */
@media (min-width: 768px) {
    .td-header-style-1 .td-header-header { display: flex; align-items: center; }
    .td-header-style-1 .td-header-sp-logo { width: auto; margin: 12px 0 !important; }
    .td-header-style-1 .td-main-logo { display: flex; align-items: center; gap: 18px; text-decoration: none; }
    .td-header-style-1 .td-main-logo img { width: 76px; height: 76px; object-fit: contain; }
    .td-header-style-1 .td-main-logo::after {
        content: "AMSOZONE";
        display: block;
        color: #17394d;
        font: 700 25px/1.2 Arial, sans-serif;
        letter-spacing: .13em;
    }
}
@media (min-width: 768px) {
    .td-header-style-1 .td-main-logo { position: static; direction: ltr; justify-content: flex-start; }
    .td-header-style-1 .td-main-logo img { position: static !important; transform: none !important; margin: 0 !important; }
}

/* Footer reading and spacing. */
.td-footer-wrapper .footer-text-wrap { direction: rtl; text-align: right; }
.td-footer-wrapper .footer-text-wrap p { color: #d7e0e4; line-height: 1.9; margin: 0 0 10px; font-size: 16px; }
.td-footer-wrapper .footer-text-wrap a { color: #e7c66e; }
.td-footer-wrapper .footer-logo-wrap img { border-radius: 50%; }
.td-footer-wrapper .entry-title { line-height: 1.65; }
.td-footer-wrapper .td-cat-name { direction: rtl; }
.td-sub-footer-copy { color: #c4ced3; }
/* Keep the original AmsoZone mark and wordmark together. */
@media (min-width: 768px) {
    .td-header-style-1 .td-main-logo::after { content: none; }
    .td-header-style-1 .td-main-logo img { width: 102px; height: 102px; }
}
/* Use AmsoZone's original horizontal logo and wordmark on desktop. */
@media (min-width: 768px) {
    .td-header-style-1 .td-main-logo img {
        content: url("/wp-content/uploads/2018/02/logo.png");
        width: 340px;
        height: auto;
        max-width: 100%;
        border-radius: 0;
    }
}
/* Original combined emblem and wordmark, sized for the mobile header. */
@media (max-width: 767px) {
    .td-header-wrap .td-mobile-logo img {
        content: url("/wp-content/uploads/2018/02/logo.png");
        width: min(175px, 46vw) !important;
        max-width: 100%;
        height: auto !important;
        max-height: 44px;
        object-fit: contain;
        border-radius: 3px;
        background: #fff;
    }
}
/* Preserve the original transparent logo on every header. */
@media (max-width: 767px) {
    .td-header-wrap .td-mobile-logo img { background: transparent; }
}
@media (min-width: 768px) {
    .td-header-style-1 .td-main-logo img {
        width: 300px !important;
        height: auto !important;
        max-height: none !important;
    }
}
/* Use the original complete AmsoZone lockup in the footer. */
.td-footer-wrapper .footer-logo-wrap img {
    content: url("/wp-content/uploads/2018/02/logo.png");
    width: 210px;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}
