/* ==========================================================================
   Convenient Business Solutions Inc. — site styles
   --------------------------------------------------------------------------
   1. Tokens          5. Buttons             9. Footer
   2. Base            6. Home: header        10. News list
   3. Layout grid     7. Home: links,        11. News article
   4. Navbar             services, offices
                      8. Home: contact
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
    --blue: #3A88EC;
    --blue-light: #78C2FF;
    --blue-dark: #326fc0;
    --pink: #FF3E81;
    --navy: #303669;
    --link: #A4C4F3;
    --text: #212529;
    --border: rgba(48, 54, 105, 0.1);
    --shadow: rgba(48, 54, 105, 0.06);
    --font-body: 'Poppins', sans-serif;
    --font-head: 'Montserrat', sans-serif;
}

/* 2. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background-color: #FBFBFB;
    background-image: linear-gradient(#FCFCFC, #FBFBFB, #F5F5F5, #F0F0F0);
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.2;
}
p {
    line-height: inherit;
}
ul {
    margin: 0 0 1rem;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    color: #0056b3;
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}
button:focus {
    outline: none;
}
/* Keeps anchored sections clear of the fixed navbar */
[id] {
    scroll-margin-top: 75px;
}
.wrapper {
    width: 100%;
    overflow: hidden;
}
.padding-0 {
    padding: 0 !important;
}

/* 3. LAYOUT GRID (the few Bootstrap 4 classes the pages use) --------------- */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.col-md-6, .col-md-8,
.col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .offset-lg-1 { margin-left: 8.333333%; }
}

/* 4. NAVBAR ---------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px 1rem;
    background-color: transparent;
    transition: all .2s linear;
}
.navbar-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    display: flex;
    align-items: center;
    padding: .3125rem 0;
    margin-right: 1rem;
}
.navbar-brand img {
    margin-left: 15px;
    width: 120px;
}
.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    cursor: pointer;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url("../images/menu.png") no-repeat center / 100% 100%;
}
.navbar-collapse {
    display: none;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: space-around;
}
.navbar-collapse.show {
    display: block;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin: 0;
    list-style: none;
}
.menu-navbar-nav {
    width: 100%;
    justify-content: center;
}
.nav-item {
    margin-left: 15px;
    margin-right: 15px;
}
.navbar-nav:not(.menu-navbar-nav) .nav-item:last-of-type {
    margin-left: 0;
    margin-right: 0;
}
.nav-link {
    display: block;
    padding: .5rem 0;
    text-align: right;
}
.nav-link:hover {
    text-decoration: none;
}
.nav-link-number {
    font-family: var(--font-body);
    font-weight: 200;
    font-size: 12px;
    color: #CCCCCC;
    letter-spacing: 1.5px;
    line-height: 1;
}
.nav-link-menu {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    color: #000;
    line-height: 1;
}
.nav-item.active .nav-link-number,
.nav-item.active .nav-link-menu {
    color: var(--blue);
}
.nav-link:hover .nav-link-number,
.nav-link:hover .nav-link-menu {
    color: var(--pink);
}
/* Added by site.js once the page is scrolled */
.header-scrolled {
    height: 75px;
    background-color: #fff;
    box-shadow: 0 4px 6px 0 rgba(12, 0, 46, .05);
}
.header-scrolled .navbar-brand img {
    width: 110px;
}
.header-scrolled .nav-link-number {
    display: none;
}
@media (min-width: 992px) {
    .navbar {
        flex-flow: row nowrap;
        justify-content: flex-start;
    }
    .navbar-container {
        flex-wrap: nowrap;
    }
    .navbar-toggler {
        display: none;
    }
    .navbar-collapse {
        display: flex;
        flex-basis: auto;
    }
    .navbar-nav {
        flex-direction: row;
    }
    .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }
}
@media (max-width: 991.98px) {
    .navbar {
        background-color: #fff;
        box-shadow: 0 4px 6px 0 rgba(12, 0, 46, .05);
    }
    .navbar-container {
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-brand img {
        width: 100px !important;
        padding: 10px 0;
    }
    .header-scrolled {
        height: auto;
    }
    .navbar-collapse {
        background-color: #fff;
        padding: 20px 0;
        margin-bottom: 20px;
    }
    .nav-link-number {
        display: none;
    }
    .nav-link-menu {
        color: #505050;
    }
}
@media (max-width: 575.98px) {
    .navbar {
        padding-top: 0;
        padding-bottom: 0;
    }
    .menu-navbar-nav {
        padding-bottom: 10px;
    }
}

/* 5. BUTTONS --------------------------------------------------------------- */
.learn-more-btn {
    display: block;
    background-color: var(--blue);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    padding: 12px 40px !important;
    border-radius: 100px;
}
.learn-more-btn:hover {
    color: #fff;
    background-color: var(--pink);
    text-decoration: none;
}
.btn-invert {
    background-color: var(--pink);
}
.btn-invert:hover {
    background-color: var(--blue);
}
/* News pages use a blue hover on the navbar Contact button */
.page-news .navbar .learn-more-btn:hover {
    background-color: var(--blue);
}
.learn-more-btn-section {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 20px;
}
@media (max-width: 991.98px) {
    .learn-more-btn-section {
        justify-content: center;
    }
}

/* 6. HOME: HEADER ---------------------------------------------------------- */
.header {
    display: flex;
    width: 100%;
    padding: 175px 0 25px;
    justify-content: center;
    align-items: center;
}
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-img-section img {
    width: 100%;
}
.header-subtitle {
    font-family: var(--font-body);
    font-size: 27px;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 10px;
}
.header-title-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    padding-bottom: 15px;
}
@media (max-width: 991.98px) {
    .header-container {
        flex-direction: column;
    }
    .header-title-section {
        text-align: center;
        margin-top: 40px;
    }
}
@media (max-width: 799.98px) {
    .header {
        padding-top: 20%;
    }
}
@media (max-width: 499.98px) {
    .header {
        padding-top: 30%;
    }
    .header-subtitle {
        font-size: 24px;
    }
}

/* 7. HOME: LINKS, SERVICES, OFFICES --------------------------------------- */
/* Shared section title */
.services-title,
.pricing-title h2,
.contact-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 45px;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 20px;
}
.services-text,
.pricing-title p,
.contact-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
}

/* Links (regional websites) */
.strategy-section {
    position: relative;
}
.strategy-section-bg-graphics-section {
    position: absolute;
    width: 22%;
    right: -5%;
    top: -45%;
}
.strategy-section-bg-graphics-section img {
    width: 100%;
}
.strategy-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 25px;
}
.strategy-card-section {
    margin-top: 40px;
    margin-bottom: 40px;
}
.strategy-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.strategy-card img {
    height: 40px;
    width: auto;
}
.strategy-card h2 {
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    line-height: 3;
}
.blog-post-link {
    color: var(--link);
    font-size: 18px;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1;
    margin-top: 10px;
}
.blog-post-link:hover {
    color: var(--pink);
    text-decoration: none;
}
@media (max-width: 576.98px) {
    .strategy-container {
        flex-direction: column;
    }
}

/* Services */
.services-section,
.services-sales-section {
    position: relative;
}
.services-section-bg-graphics {
    position: absolute;
    width: 25%;
    left: -17%;
    top: -20%;
}
.services-section-bg-graphics img {
    width: 100%;
}
.services-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding-top: 55px;
    padding-bottom: 55px;
}
.services-header-img-section img {
    width: 100%;
}
.services-title-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    width: 100%;
}
.services-text {
    margin-bottom: 20px;
}
@media (max-width: 991.98px) {
    .services-section .services-container {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .services-container img {
        margin-bottom: 25px;
    }
    .services-title-section {
        text-align: center;
    }
}

/* Accordion (product list in Services) */
.accordion {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 35px;
    border: none;
    border-radius: 50px;
    background-color: var(--blue);
    color: #fff;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: 0.4s;
}
.accordion:hover,
.accordion:active {
    background-color: var(--blue-light);
}
.accordion::after {
    content: '\002B';
    margin-left: 5px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
.accordion.active::after {
    content: "\2212";
}
.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.panel p {
    margin: 20px 0;
    color: #A5A5A5;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}

/* Offices */
.pricing-section {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding-top: 55px;
    padding-bottom: 55px;
}
.pricing-section-left-bg-graphics {
    position: absolute;
    top: -15%;
    right: -10%;
    z-index: -1;
}
.pricing-section-right-bg-graphics {
    position: absolute;
    left: -5%;
    bottom: -10%;
}
.pricing-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.pricing-title p {
    max-width: 700px;
}
.pricing-plan-cards-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 25px;
}
.pricing-card-section {
    padding: 20px;
}
.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 45px 40px 55px;
    border-radius: 50px;
    background-color: #fff;
    text-align: center;
}
.pricing-card:hover {
    box-shadow: 0 3px 47px rgba(0, 0, 0, 0.15);
}
.pricing-card.featured {
    border: 7px dashed var(--blue-light);
}
.pricing-rate {
    color: var(--navy);
    font-weight: 800;
    font-family: var(--font-head);
    font-size: 45px;
    line-height: 1;
}
.featured .pricing-rate::before {
    content: "Head Office";
    display: block;
    width: 125px;
    margin: 0 auto 15px;
    padding: 10px 15px;
    border-radius: 100px;
    background-color: var(--blue-light);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.pricing-period {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--blue-light);
}
.pricing-text {
    margin-top: 20px;
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 400;
    color: #000;
}
.pricing-card ul {
    width: 100%;
    margin: 15px 0 31px;
    padding-left: 20px;
    list-style: none;
    text-align: left;
}
.pricing-card li {
    margin-top: 5px;
    padding-left: 35px;
    background: url("../images/pricing-section-true.png") no-repeat 5px 5px / 20px;
    color: #000;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 2;
}
@media (max-width: 991.98px) {
    .pricing-plan-cards-section {
        flex-direction: column;
    }
    .pricing-title p {
        max-width: 428px;
    }
}

/* 8. HOME: CONTACT --------------------------------------------------------- */
.contact-section {
    padding-top: 55px;
    padding-bottom: 90px;
}
.contact-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.contact-header-img img {
    width: 100%;
}
.contact-title-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    width: 100%;
}
.contact-text {
    margin-bottom: 20px;
}
@media (max-width: 991.98px) {
    .contact-container {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .contact-title-section {
        text-align: center;
    }
}

/* 9. FOOTER ---------------------------------------------------------------- */
.footer-section {
    position: relative;
    overflow: hidden;
    padding-top: 75px;
    padding-bottom: 55px;
    background-color: var(--navy);
    color: #fff;
}
.footer-section a {
    color: #D4E5FF;
}
.footer-section-bg-graphics {
    position: absolute;
    right: -10%;
    bottom: 0;
}
.footer-container {
    position: relative;
    display: flex;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-right: 40px;
}
.footer-logo img {
    width: 90px;
    margin-bottom: 15px;
}
.footer-logo p {
    max-width: 250px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}
.footer-subsection {
    padding-left: 40px;
    padding-right: 40px;
}
.footer-subsection-title {
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 27px;
    font-weight: 700;
    line-height: 2.2;
}
.footer-subsection-list {
    padding-left: 28px;
    list-style: none;
}
.footer-subsection-list li {
    padding-bottom: 10px;
    color: #fff;
    font-family: var(--font-head);
    font-size: 16px;
    line-height: 1.5;
}
.footer-subsection-list a {
    color: #fff;
}
.footer-subsection-list a:hover {
    color: var(--pink);
    text-decoration: none;
}
/* Icons: add class="pin" (address) or class="phone" to a list item */
.footer-subsection-list .pin::before,
.footer-subsection-list .phone::before {
    content: "";
    position: absolute;
    left: 41px;
    background: no-repeat center / contain;
}
.footer-subsection-list .pin::before {
    width: 15px;
    height: 22px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23A4C4F3' d='M172 501C27 291 0 269 0 192 0 86 86 0 192 0s192 86 192 192c0 77-27 99-172 309a24 24 0 0 1-40 0zm20-229a80 80 0 1 0 0-160 80 80 0 0 0 0 160z'/%3E%3C/svg%3E");
}
.footer-subsection-list .phone::before {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23A4C4F3' d='M497 361l-112-48a24 24 0 0 0-28 7l-50 61A371 371 0 0 1 130 204l61-50a24 24 0 0 0 7-28L150 14a24 24 0 0 0-27-14L19 24A24 24 0 0 0 0 48c0 257 208 464 464 464a24 24 0 0 0 24-19l24-104a24 24 0 0 0-15-28z'/%3E%3C/svg%3E");
}
.footer-credits {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    text-align: center;
}
.footer-credits p {
    color: #D4E5FF;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}
.footer-credits a {
    font-weight: 700;
}
@media (max-width: 991.98px) {
    .footer-container {
        flex-wrap: wrap;
    }
    .footer-logo {
        padding-left: 40px;
    }
}

/* 10. NEWS LIST ------------------------------------------------------------ */
.news-hero,
.article-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 72px;
}
.news-hero::before,
.article-hero::before {
    content: "";
    position: absolute;
    top: 55px;
    right: -130px;
    width: 500px;
    height: 500px;
    background: url("../images/strategy-section-bg.png") no-repeat center / contain;
    opacity: 0.45;
    pointer-events: none;
}
.news-hero-inner {
    position: relative;
    z-index: 1;
}
.news-kicker {
    margin-bottom: 10px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.news-title {
    margin-bottom: 16px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 54px;
    font-weight: 700;
    line-height: 1.08;
}
.news-intro {
    max-width: 720px;
    font-family: var(--font-head);
    font-size: 16px;
    line-height: 1.8;
}
.news-list-section {
    padding: 16px 0 100px;
}
.news-layout,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 42px;
    align-items: start;
}
.news-layout > *,
.article-layout > * {
    min-width: 0;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.news-card {
    display: block;
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 7px 22px var(--shadow);
    color: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.news-card:hover,
a.news-card:focus {
    border-color: rgba(58, 136, 236, 0.34);
    box-shadow: 0 11px 30px rgba(48, 54, 105, 0.09);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    outline: none;
}
a.news-card:focus-visible {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(58, 136, 236, 0.14), 0 11px 30px rgba(48, 54, 105, 0.09);
}
.news-card-date {
    display: block;
    margin-bottom: 9px;
    color: #81849a;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.35px;
    line-height: 1.4;
}
.news-card-title {
    margin: 0 0 9px;
    overflow-wrap: anywhere;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.18s ease;
}
a.news-card:hover .news-card-title,
a.news-card:focus .news-card-title {
    color: var(--blue-dark);
}
.news-card-category {
    display: inline-flex;
    margin-bottom: 13px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.news-card-excerpt {
    max-width: 760px;
    overflow-wrap: anywhere;
    color: #686b7d;
    font-family: var(--font-head);
    font-size: 13px;
    line-height: 1.75;
}
.news-no-results {
    display: none;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 13px;
    text-align: center;
}
.news-sidebar,
.article-sidebar {
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-widget,
.article-widget {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(48, 54, 105, 0.05);
}
.news-widget-title,
.article-widget-title {
    margin: 0 0 16px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
}
.category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.category-filter {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid rgba(48, 54, 105, 0.08);
    background: transparent;
    color: #5f6279;
    font-family: var(--font-head);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}
.category-filter:last-child {
    border-bottom: 0;
}
.category-filter:hover,
.category-filter.is-active {
    color: var(--blue);
}
.category-count {
    min-width: 25px;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(48, 54, 105, 0.06);
    color: #777;
    font-size: 11px;
    text-align: center;
}
.category-filter.is-active .category-count {
    background: rgba(58, 136, 236, 0.12);
    color: var(--blue-dark);
}
.latest-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(48, 54, 105, 0.08);
}
.latest-item:first-child {
    padding-top: 0;
}
.latest-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.latest-link {
    display: block;
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.latest-link:hover {
    color: var(--blue);
    text-decoration: none;
}
.latest-date {
    display: block;
    margin-top: 3px;
    color: #888;
    font-family: var(--font-head);
    font-size: 10px;
}
@media (max-width: 991px) {
    .news-hero {
        padding: 145px 0 62px;
    }
    .news-title {
        font-size: 46px;
    }
    .news-layout,
    .article-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .news-sidebar,
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 767px) {
    .news-hero {
        padding: 125px 0 50px;
    }
    .news-title {
        font-size: 38px;
    }
    .news-intro {
        font-size: 14px;
    }
    .news-list-section {
        padding-bottom: 70px;
    }
    .news-card {
        padding: 22px 20px;
    }
    .news-card-title {
        font-size: 19px;
    }
    .news-sidebar,
    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

/* 11. NEWS ARTICLE --------------------------------------------------------- */
.article-hero {
    padding: 165px 0 58px;
}
.article-hero::before {
    top: 45px;
    opacity: 0.38;
}
.article-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 790px;
}
.article-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    color: var(--blue-dark);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
}
.article-back:hover,
.article-back:focus {
    color: var(--navy);
    text-decoration: none;
}
.article-back span {
    margin-right: 7px;
    font-size: 16px;
    line-height: 1;
}
.article-date {
    display: block;
    margin-bottom: 10px;
    color: #81849a;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.35px;
}
.article-title {
    max-width: 860px;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.18;
}
.article-category {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}
.article-excerpt {
    max-width: 760px;
    color: #686b7d;
    font-family: var(--font-head);
    font-size: 17px;
    line-height: 1.8;
}
.article-section {
    padding: 8px 0 100px;
}
.article-layout {
    gap: 48px;
}
.article-main {
    max-width: 790px;
}
.article-featured-image {
    display: block;
    width: 100%;
    margin-bottom: 34px;
    border-radius: 10px;
}
.article-body {
    color: #5f6279;
    font-family: var(--font-head);
    font-size: 15px;
    line-height: 1.95;
}
.article-body p {
    margin: 0 0 24px;
    overflow-wrap: anywhere;
}
.article-body h2 {
    margin: 42px 0 16px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 27px;
    font-weight: 600;
    line-height: 1.35;
}
.article-body h2:first-child {
    margin-top: 0;
}
.article-meta-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(48, 54, 105, 0.08);
}
.article-meta-row:first-of-type {
    padding-top: 0;
}
.article-meta-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.article-meta-label {
    display: block;
    margin-bottom: 3px;
    color: #9294a3;
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.article-meta-value {
    color: #5f6279;
    font-family: var(--font-head);
    font-size: 12px;
    line-height: 1.6;
}
.article-news-link {
    display: block;
    color: var(--blue-dark);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
.article-news-link:hover,
.article-news-link:focus {
    color: var(--navy);
    text-decoration: none;
}
@media (max-width: 991px) {
    .article-hero {
        padding: 145px 0 52px;
    }
    .article-title {
        font-size: 42px;
    }
    .article-layout {
        gap: 32px;
    }
    .article-main {
        max-width: none;
    }
}
@media (max-width: 767px) {
    .article-hero {
        padding: 125px 0 44px;
    }
    .article-title {
        font-size: 34px;
    }
    .article-excerpt {
        font-size: 15px;
    }
    .article-section {
        padding-bottom: 70px;
    }
    .article-body {
        font-size: 14px;
        line-height: 1.9;
    }
    .article-body h2 {
        margin-top: 34px;
        font-size: 23px;
    }
}
