/* Public foundation styles and older homepage components. */

@import url('fonts.css');
@import url('icons.css');

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: #101d36;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    background: #fff;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select {
    outline-offset: 4px;
}
button {
    cursor: pointer;
}
button {
    border: 0;
}
.topbar {
    background: #083971;
    color: #fff;
    min-height: 30px;
    font-size: 11px;
}
.top-inner {
    max-width: 1180px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    gap: 15px;
}
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.quick-links a {
    padding: 0 12px;
    border-right: 1px solid #7492b4;
}
.quick-links a:first-child {
    padding-left: 0;
}
.quick-links a:last-child {
    border: 0;
}
.social {
    display: flex;
    align-items: center;
    gap: 10px;
}
.social b {
    font-size: 13px;
}
.social select {
    background: #fff;
    border: 0;
    border-radius: 4px;
    color: #19304d;
    padding: 3px;
    font-size: 10px;
}
.page {
    max-width: 1540px;
    margin: auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 153px minmax(0, 1fr) 153px;
    gap: 12px;
}
.main {
    min-width: 0;
}
.masthead {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 28px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.briefcase {
    width: 44px;
    height: 34px;
    background: #073c79;
    border-radius: 5px;
    position: relative;
    display: grid;
    place-items: center;
    color: #ffac25;
    font-size: 23px;
}
.briefcase:before {
    content: '';
    position: absolute;
    top: -8px;
    width: 19px;
    height: 9px;
    border: 3px solid #073c79;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}
.briefcase:after {
    content: '';
    position: absolute;
    top: 14px;
    width: 100%;
    border-bottom: 1px solid white;
}
.brand-name {
    font-size: 35px;
    line-height: 35px;
    font-weight: 800;
    color: #073971;
    letter-spacing: -1.2px;
}
.brand-name span {
    color: #ff7616;
}
.tagline {
    font-size: 12px;
    letter-spacing: 1px;
}
.top-ad {
    height: 57px;
    max-width: 675px;
    flex: 1;
    background: linear-gradient(110deg, #efe8ff, #dfcefb);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 3px;
    color: #17113d;
}
.ad-label {
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    font-weight: 400;
}
.top-ad strong {
    font-size: 19px;
    white-space: nowrap;
}
.purple {
    background: #7c23dc;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 11px;
}
.account {
    display: flex;
    align-items: center;
    gap: 25px;
    white-space: nowrap;
}
.orange {
    background: #ff7a0b;
    color: #fff;
    border-radius: 7px;
    padding: 11px 22px;
    font-weight: 600;
}
.nav {
    height: 43px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 13px;
    font-weight: 600;
    gap: 10px;
}
.nav a:hover,
.quick-links a:hover {
    color: #ff8a15;
}
.nav-search {
    font-size: 25px;
    background: transparent;
    border-left: 1px solid #eee;
    padding: 4px 20px;
}
.menu-toggle {
    display: none;
}
.hero {
    height: 263px;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    background:
        linear-gradient(
            90deg,
            rgba(3, 35, 79, 0.98) 0%,
            rgba(3, 35, 79, 0.91) 43%,
            rgba(3, 35, 79, 0.15) 100%
        ),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=85')
            center 49% / cover;
    color: white;
    padding: 24px 40px;
}
.hero-person {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30%;
    object-fit: cover;
    object-position: center 26%;
    opacity: 0.94;
    mask-image: linear-gradient(to right, transparent, black 35%);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 49px;
    line-height: 0.94;
    margin: 0 0 9px;
    letter-spacing: -1.2px;
}
.hero h1 span {
    color: #ffb71b;
}
.hero p {
    font-size: 15px;
    line-height: 20px;
    margin: 0 0 10px;
}
.search-form {
    width: 76%;
    display: flex;
    align-items: center;
    background: white;
    padding: 4px;
    border-radius: 6px;
    height: 45px;
    color: #5c6b80;
    box-shadow: 0 2px 9px #001a3d20;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 0 13px;
    min-width: 0;
}
.search-field:first-child {
    border-right: 1px solid #eee;
}
.search-field span {
    font-size: 20px;
}
.search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    color: #24354a;
    font-size: 11px;
    background: transparent;
}
.search-form button {
    height: 37px;
    white-space: nowrap;
    padding: 0 28px;
    border-radius: 5px;
}
.popular {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 11px;
    font-size: 11px;
}
.popular strong {
    margin-right: 10px;
}
.popular button {
    color: #fff;
    background: #ffffff14;
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 11px;
}
.popular button:hover {
    background: #ffffff30;
}
.categories {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    padding: 15px 8px 12px;
}
.category {
    background: linear-gradient(145deg, #f9f9fc, #f0f9fd);
    text-align: center;
    padding: 8px 3px 10px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid transparent;
    color: #101d36;
}
.category:hover,
.category.active {
    border-color: var(--color);
    transform: translateY(-2px);
}
.category-icon {
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    width: 51px;
    height: 48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color) 9%, white);
    color: var(--color);
    font-size: 35px;
    font-weight: bold;
}
.category strong {
    display: block;
    font-size: 11px;
    white-space: nowrap;
    margin-bottom: 5px;
}
.category small {
    font-size: 10px;
    color: #354f66;
}
.flight-ad {
    margin: 0 8px 13px;
    height: 70px;
    border-radius: 4px;
    background: linear-gradient(110deg, #3cadf2, #0069ce 50%, #48a8ed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
    position: relative;
    gap: 12px;
    padding: 5px 24px;
}
.flight-ad .ad-copy {
    text-align: center;
}
.flight-ad strong {
    font-size: 27px;
    letter-spacing: -0.5px;
}
.flight-ad p {
    margin: 3px 0 0;
    font-size: 16px;
    font-weight: bold;
    color: #ffee43;
}
.plane {
    font-size: 82px;
    line-height: 1;
    transform: rotate(-13deg);
    text-shadow: 3px 5px 0 #005997;
    opacity: 0.95;
}
.content-grid {
    display: grid;
    grid-template-columns: 1.23fr 1fr 0.88fr;
    gap: 17px;
    margin: 0 4px;
}
.panel {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    min-width: 0;
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(100deg, #064c96, #00448a);
    color: #fff;
    padding: 9px 14px;
    height: 36px;
}
.panel-head h2 {
    font-size: 16px;
    margin: 0;
}
.view-all {
    background: transparent;
    color: inherit;
    font-size: 10px;
    padding: 3px 0;
    white-space: nowrap;
}
.job-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 7px 16px;
    border-bottom: 1px solid #f5f5f5;
}
.company-logo {
    width: 47px;
    flex-shrink: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}
.google {
    font-family: Arial;
    color: #4285f4;
}
.google::first-letter {
    color: #4285f4;
}
.infosys {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -1.4px;
    color: #0073b9;
}
.amazon {
    color: #111;
    font-family: Georgia;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #ffab15;
}
.tcs {
    color: #ef3270;
    letter-spacing: -3px;
    font-weight: 400;
}
.flipkart {
    display: inline-grid;
    place-items: center;
    font-style: italic;
    background: #ffdf00;
    color: #138be1;
    border-radius: 4px;
    width: 33px;
    margin: 0 7px;
}
.job-info {
    flex: 1;
    min-width: 0;
}
.job-info h3 {
    margin: 0 0 5px;
    font-size: 11px;
}
.job-details {
    display: grid;
    grid-template-columns: 1fr 1fr 72px;
    gap: 5px;
    align-items: center;
    font-size: 10px;
    color: #607086;
}
.job-details .badge {
    background: #edf7e5;
    color: #398044;
    border-radius: 4px;
    padding: 4px 7px;
    width: max-content;
    font-size: 9px;
}
.badge.hybrid {
    background: #eaf6ff;
    color: #215677;
}
.badge.remote {
    background: #f1eaff;
    color: #773bc9;
}
.job-time {
    font-size: 9px;
    color: #718095;
    white-space: nowrap;
}
.save {
    background: transparent;
    color: #688096;
    font-size: 21px;
    padding: 4px;
}
.save.saved {
    color: #ff7a0b;
}
.middle-ad {
    height: 160px;
    background: linear-gradient(110deg, #ffdda0, #ffc580 70%, #ff862c);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    padding: 15px 21px;
}
.middle-ad .ad-label {
    text-align: left;
    font-size: 11px;
}
.middle-ad h2 {
    font-size: 24px;
    margin: 8px 0 3px;
    letter-spacing: -1px;
}
.middle-ad p {
    margin: 0 0 14px;
    font-size: 14px;
}
.middle-ad button {
    background: #07376a;
    color: #fff;
    border-radius: 6px;
    padding: 9px 15px;
    font-size: 11px;
    font-weight: bold;
}
.middle-ad img {
    position: absolute;
    right: -6px;
    bottom: 0;
    width: 41%;
    height: 90%;
    object-fit: cover;
    object-position: center 20%;
    mask-image: linear-gradient(to right, transparent, black 30%);
}
.middle-ad > div {
    position: relative;
    z-index: 1;
}
.companies-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px 10px;
}
.companies-head h2 {
    font-size: 14px;
    margin: 0;
}
.companies-head button {
    color: #05468b;
}
.companies {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
.company-card {
    border: 1px solid #f0f1f3;
    border-radius: 3px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: white;
    font-size: 10px;
}
.company-card .company-logo {
    font-size: 27px;
    line-height: 29px;
}
.company-card .infosys {
    font-size: 18px;
}
.microsoft {
    display: grid;
    grid-template-columns: repeat(2, 10px);
    gap: 2px;
    margin: 3px;
}
.microsoft i {
    width: 10px;
    height: 10px;
    background: #f25022;
}
.microsoft i:nth-child(2) {
    background: #7fba00;
}
.microsoft i:nth-child(3) {
    background: #00a4ef;
}
.microsoft i:nth-child(4) {
    background: #ffb900;
}
.article {
    display: flex;
    gap: 11px;
    padding: 9px 12px 2px;
    min-height: 62px;
}
.article img {
    width: 74px;
    height: 49px;
    object-fit: cover;
    border-radius: 3px;
}
.article h3 {
    font-size: 11px;
    line-height: 15px;
    margin: 0 0 5px;
}
.article time {
    font-size: 9px;
    color: #7a8796;
}
.bottom-ad {
    margin: 11px 0 0;
    min-height: 74px;
    background: linear-gradient(110deg, #45b0f4, #0074e7 65%, #52a8f0);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    padding: 10px 30px;
    color: #fff;
}
.bottom-ad strong {
    font-size: 25px;
}
.bottom-ad p {
    margin: 6px 0 0;
    text-align: center;
    font-size: 14px;
}
.bottom-ad .chart {
    font-size: 45px;
}
.rail {
    padding-top: 33px;
}
.side-ad {
    height: 610px;
    background: linear-gradient(140deg, #fff0d9, #ffe2b5);
    overflow: hidden;
    position: relative;
    border-radius: 2px;
    padding: 21px 18px;
}
.side-ad .ad-label {
    margin-bottom: 38px;
}
.side-ad h2 {
    font-size: 35px;
    line-height: 35px;
    color: #a7310c;
    letter-spacing: -1px;
    margin: 0 7px 12px;
}
.side-ad p {
    font-size: 16px;
    line-height: 19px;
    margin: 0 7px 17px;
    color: #333;
}
.side-ad .orange {
    padding: 12px 10px;
    font-size: 12px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}
.side-ad img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 245px;
    object-fit: cover;
    object-position: 50% 30%;
    mask-image: linear-gradient(to bottom, transparent, black 20%);
}
.right .side-ad {
    height: 434px;
    background: linear-gradient(#d9f2ff, #c7eafd);
    text-align: center;
    padding: 21px 14px;
}
.right .side-ad h2 {
    color: #003778;
    font-size: 33px;
    line-height: 35px;
    margin: 0 0 13px;
}
.right .side-ad p {
    color: #163a64;
    line-height: 22px;
    margin: 0 0 21px;
}
.right .side-ad button {
    background: #0064c9;
    color: white;
    border-radius: 7px;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: bold;
}
.right .side-ad img {
    height: 145px;
}
.right .green {
    margin-top: 12px;
    background: linear-gradient(#e5f4d0, #deefbb);
    height: 433px;
}
.right .green h2 {
    color: #166227;
}
.right .green p {
    color: #315436;
}
.right .green button {
    background: #20a13b;
}
.right .green img {
    height: 155px;
}
.empty {
    padding: 30px 15px;
    color: #607086;
    text-align: center;
}
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #073971;
    color: white;
    padding: 13px 23px;
    border-radius: 8px;
    box-shadow: 0 4px 25px #0003;
    z-index: 20;
    max-width: 90%;
    text-align: center;
}
.footer {
    font-size: 11px;
    text-align: center;
    padding: 17px;
    color: #708098;
}
dialog {
    border: 0;
    border-radius: 12px;
    padding: 28px;
    width: 370px;
    max-width: 90%;
    box-shadow: 0 12px 70px #0004;
}
dialog::backdrop {
    background: #06244b88;
}
dialog h2 {
    margin: 0 0 20px;
}
dialog label {
    display: block;
    margin: 12px 0 5px;
}
dialog input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d8e0e8;
    border-radius: 5px;
}
dialog .close {
    float: right;
    background: none;
    font-size: 22px;
}
dialog .orange {
    margin-top: 20px;
    width: 100%;
}
@media (min-width: 1450px) {
    .page {
        grid-template-columns: 153px minmax(0, 1180px) 153px;
    }
    .masthead {
        padding: 0 30px;
    }
    .content-grid {
        gap: 17px;
    }
    .job-row {
        min-height: 54px;
    }
}
@media (max-width: 1250px) {
    .page {
        grid-template-columns: 125px minmax(0, 1fr) 125px;
        padding: 0 10px;
        gap: 10px;
    }
    .masthead {
        padding: 0 12px;
        gap: 15px;
    }
    .top-ad strong {
        font-size: 15px;
    }
    .top-ad .ad-label {
        display: none;
    }
    .account {
        gap: 12px;
    }
    .brand-name {
        font-size: 29px;
    }
    .side-ad {
        padding: 20px 10px;
    }
    .side-ad h2,
    .right .side-ad h2 {
        font-size: 29px;
        line-height: 31px;
    }
    .hero {
        padding: 26px;
    }
    .hero h1 {
        font-size: 44px;
    }
    .search-form {
        width: 85%;
    }
    .popular {
        gap: 5px;
    }
    .popular button {
        padding: 6px 8px;
    }
    .categories {
        gap: 5px;
    }
    .category strong {
        font-size: 9px;
    }
    .content-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    .advice {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding-bottom: 10px;
    }
    .advice .panel-head {
        grid-column: 1/-1;
    }
    .article {
        flex-direction: column;
    }
    .article img {
        width: 100%;
        height: 90px;
    }
    .job-row {
        padding: 8px;
        gap: 8px;
    }
    .flight-ad strong {
        font-size: 23px;
    }
    .top-inner {
        padding: 0 15px;
    }
    .bottom-ad strong {
        font-size: 21px;
    }
}
@media (max-width: 1000px) {
    .page {
        display: block;
        padding: 0 16px;
    }
    .rail {
        display: none;
    }
    .top-inner {
        max-width: 950px;
    }
    .social {
        display: none;
    }
    .masthead {
        padding: 0 10px;
    }
    .hero-person {
        width: 34%;
    }
    .hero {
        height: 270px;
    }
    .hero h1 {
        font-size: 46px;
    }
    .search-form {
        width: 83%;
    }
    .category strong {
        font-size: 10px;
    }
    .content-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    .top-ad {
        max-width: 450px;
    }
    .top-ad strong {
        font-size: 16px;
    }
}
@media (max-width: 700px) {
    .topbar {
        padding: 7px 0;
    }
    .quick-links {
        gap: 8px;
    }
    .quick-links a {
        font-size: 10px;
        padding: 0 6px;
    }
    .quick-links a:nth-child(n + 5) {
        display: none;
    }
    .page {
        padding: 0 12px;
    }
    .masthead {
        height: 78px;
        gap: 10px;
        padding: 0 2px;
    }
    .brand-name {
        font-size: 29px;
    }
    .briefcase {
        width: 35px;
        height: 29px;
    }
    .brand {
        gap: 9px;
    }
    .tagline {
        font-size: 10px;
    }
    .top-ad {
        display: none;
    }
    .account {
        gap: 10px;
        font-size: 12px;
    }
    .account .orange {
        padding: 10px 12px;
    }
    .nav {
        justify-content: space-between;
        height: auto;
        min-height: 43px;
        flex-wrap: wrap;
        padding: 9px 4px;
    }
    .nav > a {
        display: none;
        padding: 8px;
    }
    .nav.open > a {
        display: block;
    }
    .nav > a:first-child {
        display: block;
    }
    .nav.open {
        justify-content: flex-start;
    }
    .menu-toggle {
        display: block;
        background: transparent;
        font-size: 22px;
        margin-left: auto;
    }
    .nav-search {
        font-size: 22px;
        padding: 0 12px;
    }
    .hero {
        height: auto;
        min-height: 350px;
        padding: 25px 20px;
    }
    .hero h1 {
        font-size: 38px;
        line-height: 1.04;
    }
    .hero p {
        font-size: 13px;
        max-width: 85%;
        line-height: 19px;
        margin: 12px 0;
    }
    .hero-person {
        width: 44%;
        opacity: 0.4;
    }
    .search-form {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        gap: 2px;
        padding: 5px;
    }
    .search-field {
        flex-basis: 100%;
        height: 37px;
    }
    .search-field:first-child {
        border: 0;
        border-bottom: 1px solid #eee;
    }
    .search-form button {
        width: 100%;
    }
    .popular {
        flex-wrap: wrap;
        gap: 6px;
    }
    .popular strong {
        width: 100%;
        margin-bottom: 3px;
    }
    .popular button {
        font-size: 10px;
    }
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 12px 0;
    }
    .category strong {
        font-size: 11px;
    }
    .category {
        padding: 8px;
    }
    .category-icon {
        height: 39px;
        width: 42px;
        font-size: 29px;
        margin-bottom: 5px;
    }
    .flight-ad {
        margin: 0 0 12px;
        padding: 12px;
        min-height: 89px;
        height: auto;
        gap: 9px;
    }
    .flight-ad .ad-label,
    .plane {
        display: none;
    }
    .flight-ad strong {
        font-size: 19px;
    }
    .flight-ad p {
        font-size: 12px;
    }
    .flight-ad button {
        padding: 11px 13px;
        white-space: nowrap;
    }
    .content-grid {
        display: flex;
        flex-direction: column;
        margin: 0;
        gap: 14px;
    }
    .job-row {
        padding: 12px 10px;
        gap: 9px;
    }
    .job-details {
        grid-template-columns: 1fr 1fr 65px;
        font-size: 9px;
    }
    .job-time {
        font-size: 8px;
    }
    .job-info h3 {
        font-size: 12px;
    }
    .company-logo {
        width: 38px;
    }
    .middle-ad {
        height: 175px;
    }
    .advice {
        display: block;
        padding-bottom: 9px;
    }
    .article {
        flex-direction: row;
        padding: 10px 13px;
        min-height: 73px;
    }
    .article img {
        width: 85px;
        height: 58px;
    }
    .article h3 {
        font-size: 12px;
        line-height: 17px;
    }
    .bottom-ad {
        padding: 18px 12px;
        flex-wrap: wrap;
        text-align: center;
    }
    .bottom-ad .ad-label,
    .bottom-ad .chart {
        display: none;
    }
    .bottom-ad strong {
        font-size: 22px;
    }
    .bottom-ad p {
        font-size: 12px;
    }
    .companies {
        gap: 7px;
    }
    .company-card {
        min-height: 60px;
    }
}
/* Category icons and footer */
.category-icon .site-icon {
    width: 28px;
    height: 28px;
    vertical-align: 0;
}
.category {
    transition:
        transform 0.2s,
        border-color 0.2s;
}
.site-footer {
    margin-top: 28px;
    background: #062f61;
    color: #d5e2f2;
    border-radius: 8px 8px 0 0;
    text-align: left;
    border-top: 4px solid #ff7a0b;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 28px;
    padding: 36px 30px;
}
.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    margin-bottom: 14px;
}
.footer-brand em {
    color: #ff922f;
    font-style: normal;
}
.footer-brand .site-icon {
    color: #ff922f;
}
.footer-grid p {
    font-size: 12px;
    line-height: 1.8;
    color: #c0d0e3;
    margin: 0 0 18px;
    max-width: 280px;
}
.footer-grid h3 {
    color: #fff;
    font-size: 14px;
    margin: 4px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff922f;
}
.footer-grid > div > a:not(.footer-brand) {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.site-footer a:hover {
    color: #ffb36e;
}
.site-footer a:focus-visible {
    outline: 2px solid #ffb36e;
    outline-offset: 4px;
}
.footer-grid .footer-cta {
    padding: 9px 14px;
    border: 1px solid #7794b5;
    border-radius: 5px;
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #ffffff26;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 30px;
    color: #c0d0e3;
    font-size: 11px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 1250px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }
}
@media (max-width: 700px) {
    .footer-grid {
        padding: 28px 20px;
        gap: 24px 18px;
    }
    .footer-about {
        grid-column: 1/-1;
    }
    .footer-bottom {
        padding: 18px 20px;
        flex-wrap: wrap;
    }
}
@media (max-width: 380px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-about {
        grid-column: auto;
    }
}

/* Shared ExamGuide branding and masthead navigation */
body .masthead.branded-masthead {
    height: auto;
    min-height: 96px;
    padding: 10px 12px;
    gap: 18px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.branded-masthead .brand {
    flex: 0 0 auto;
}
.site-logo {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
body .branded-masthead .nav {
    flex: 1;
    min-width: 0;
    height: auto;
    min-height: 44px;
    padding: 0;
    border: 0;
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
}
body .branded-masthead .nav > a {
    white-space: nowrap;
    padding: 8px 0;
}
body .branded-masthead .nav-search {
    padding: 4px 8px;
}
.footer-brand {
    max-width: 100%;
    background: #fff;
    border-radius: 6px;
    padding: 6px;
}
.footer-brand .site-logo {
    width: 220px;
}
@media (max-width: 1100px) and (min-width: 701px) {
    .branded-masthead .site-logo {
        width: 200px;
    }
    body .branded-masthead .nav {
        gap: 4px 12px;
    }
}
@media (max-width: 700px) {
    body .masthead.branded-masthead {
        min-height: 80px;
        padding: 10px 4px;
        gap: 12px;
        position: relative;
    }
    .branded-masthead .site-logo {
        width: 200px;
    }
    body .branded-masthead .nav {
        flex: 0 0 auto;
        margin-left: auto;
        gap: 6px;
        min-height: 40px;
    }
    body .branded-masthead .nav > a {
        display: none;
    }
    body .branded-masthead .nav .menu-toggle {
        display: block;
        margin: 0;
        order: 0;
        flex-basis: auto;
    }
    body .branded-masthead:has(.nav.open) {
        flex-wrap: wrap;
    }
    body .branded-masthead .nav.open {
        flex: 1 0 100%;
        display: flex;
        justify-content: flex-start;
        padding: 8px 0;
        border-top: 1px solid #e6ebf2;
    }
    body .branded-masthead .nav.open > a {
        display: block;
        flex: 0 0 calc(33.333% - 8px);
        padding: 8px 0;
        font-size: 12px;
    }
    body .branded-masthead .nav.open .menu-toggle {
        order: 0;
        flex-basis: auto;
        margin-left: auto;
    }
}
@media (max-width: 380px) {
    .branded-masthead .site-logo {
        width: 175px;
    }
}

/* Homepage logo row and navigation bar */
body .masthead.home-masthead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-bottom: 14px;
}
.home-masthead > .brand {
    align-self: flex-start;
    padding: 18px 12px;
}
.home-masthead .site-logo {
    width: 270px;
}
body .home-masthead .home-nav {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    min-height: 50px;
    padding: 0 14px;
    background: #073971;
    color: #fff;
    column-gap: 24px;
    row-gap: 0;
    justify-content: space-between;
}
body .home-masthead .home-nav > a {
    display: block;
    padding: 17px 0;
    font-size: 13px;
}
body .home-masthead .home-nav > a:hover,
body .home-masthead .home-nav > a:focus-visible {
    color: #ffb366;
}
body .home-masthead .home-nav .menu-toggle {
    color: #fff;
}
@media (max-width: 700px) {
    .home-masthead > .brand {
        padding: 14px 8px;
    }
    .home-masthead .site-logo {
        width: 230px;
    }
    body .home-masthead .home-nav {
        padding: 0 14px;
        column-gap: 18px;
    }
    body .home-masthead .home-nav > a {
        display: none;
    }
    body .home-masthead .home-nav > a:first-child {
        display: block;
    }
    body .home-masthead .home-nav .menu-toggle {
        display: block;
        margin-left: auto;
    }
    body .home-masthead .home-nav.open {
        flex: 0 0 auto;
        padding: 8px 14px;
        border: 0;
        justify-content: flex-start;
    }
    body .home-masthead .home-nav.open > a {
        display: block;
        flex: 0 0 calc(33.333% - 12px);
        padding: 12px 0;
        font-size: 12px;
    }
}
