.homepage-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 9px 13px;
    transform: translateY(-170%);
    background: #fff;
    color: #105bbb;
    font-weight: 700;
}

.homepage-skip-link:focus { transform: translateY(0); }

.homepage .container {
    width: 1120px;
    max-width: calc(100% - 32px);
}

.homepage-navbar .navbar-inner {
    min-height: 86px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.homepage-navbar .navbar-brand { max-width: 190px; }

.homepage-navbar .navbar-nav li a,
.homepage-navbar .navbar-nav li span {
    display: flex;
    padding: 15px;
    color: #fff;
    text-decoration: none;
}

.homepage-navbar .navbar-nav li a:hover,
.homepage-navbar .navbar-nav li a:focus,
.homepage-navbar .navbar-nav li a[aria-current="page"] { color: #e1ae00; }

.homepage-navbar .navbar-nav li span[aria-disabled="true"] { opacity: .72; }

.home-search-hero {
    position: relative;
    display: grid;
    min-height: 380px;
    place-items: center;
    padding: 40px 16px 62px;
    overflow: hidden;
    background: url('../images/main-banner.png') center center / cover no-repeat;
}

.home-search-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 49, 82, .75), rgba(16, 91, 167, .48), rgba(31, 42, 63, .68));
    content: "";
}

.home-search-hero-content {
    position: relative;
    z-index: 1;
    width: min(570px, 100%);
    text-align: center;
}

.home-search-kicker {
    margin: 0 0 2px;
    color: #fff;
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-search-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 300;
    line-height: 1.08;
}

.home-search-hero h1 span { display: block; }

.home-search-subtitle {
    margin: 12px 0 20px;
    color: #fff;
    font-size: 25px;
    font-weight: 300;
}

.home-search-control {
    display: flex;
    width: 100%;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.home-search-control input {
    width: calc(100% - 70px);
    height: 60px;
    padding: 0 28px;
    border: 1px solid #d8d8d8;
    border-radius: 50px 0 0 50px;
    background: #fff;
    color: #30343a;
    font: inherit;
}

.home-search-control input:focus {
    border-color: #e1ae00;
    outline: 3px solid rgba(225, 174, 0, .35);
    outline-offset: 1px;
}

.home-search-control button {
    display: grid;
    width: 70px;
    height: 60px;
    place-items: center;
    border: 0;
    border-radius: 0 50px 50px 0;
    background: #e1ae00;
    color: #fff;
    cursor: pointer;
}

.home-search-control button:hover,
.home-search-control button:focus { background: #c79b00; }

.home-search-control button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.home-search-control svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.homepage-search-error {
    margin: 10px 12px 0;
    padding: 9px 12px;
    background: #fff0f1;
    color: #8e1f29;
    text-align: left;
}

.home-search-tagline {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 11px 20px;
    background: rgba(42, 42, 42, .9);
    color: #fff;
    font-size: 19px;
    text-align: center;
}

.homepage-page {
    padding-top: 42px;
    padding-bottom: 54px;
}

.homepage-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
}

.homepage-main-column { min-width: 0; }

.homepage-main-column .contents-section {
    margin-bottom: 38px;
    padding-bottom: 0;
}

.homepage-main-column .contents-section:last-of-type { margin-bottom: 32px; }

.home-intro h2,
.home-section-heading {
    margin: 0 0 18px;
    color: #105bbb;
    font-size: 25px;
    line-height: 1.25;
}

.home-section-heading {
    position: relative;
    padding-bottom: 15px;
}

.home-section-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 1px;
    background: #979797;
    content: "";
}

.home-intro p,
.home-guidance > p { font-size: 16px; line-height: 1.65; }

.home-latest-header,
.home-latest-list > li {
    display: grid;
    grid-template-columns: 32% minmax(0, 1fr);
}

.home-latest-header {
    background: #595959;
    color: #fff;
    text-align: center;
}

.home-latest-header span { padding: 11px 15px; }

.home-latest-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-latest-list > li {
    align-items: center;
    padding: 16px;
}

.home-latest-list > li:nth-child(odd) { background: #f1f1f1; }

.home-report-number {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
}

.home-report-number > a {
    min-width: 0;
    color: #105bbb;
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.home-country {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5b6673;
    font-size: 11px;
}

.home-country > span {
    width: 21px;
    height: 14px;
    background-repeat: round;
}

.home-rating-dot {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border-radius: 50%;
}

.home-rating-dot.danger { background: #b0202a; }
.home-rating-dot.harassing { background: #c24f08; }
.home-rating-dot.unknown { background: #707070; }
.home-rating-dot.neutral { background: #255c9a; }
.home-rating-dot.safe { background: #277a48; }
.home-rating-dot.unrated { background: #858b94; }

.home-report-summary { min-width: 0; }

.home-report-summary p {
    margin: 8px 0;
    line-height: 1.5;
}

.home-rating-label {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.home-rating-label.danger { background: #b0202a; color: #fff; }
.home-rating-label.harassing { background: #c24f08; color: #fff; }
.home-rating-label.unknown { background: #707070; color: #fff; }
.home-rating-label.neutral { background: #255c9a; color: #fff; }
.home-rating-label.safe { background: #277a48; color: #fff; }
.home-rating-label.unrated { background: #e7e9ec; color: #454b53; }

.home-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #636b74;
    font-size: 12px;
}

.home-report-count {
    color: #333;
    font-weight: 700;
}

.home-report-meta a { font-weight: 400; }

.home-latest-more,
.home-monthly-link,
.home-active-more { margin: 18px 0 0; }

.home-latest-more a,
.home-monthly-link a,
.home-active-more a { font-weight: 600; }

.home-preview-destination span { color: #105bbb; text-decoration: underline; }

.home-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.home-safety-grid article {
    min-width: 0;
    padding: 17px;
    border-top: 4px solid #105bbb;
    background: #f1f1f1;
}

.home-safety-grid h3 {
    margin: 0 0 12px;
    color: #202020;
    font-size: 17px;
}

.home-safety-grid p { margin: 0; line-height: 1.55; }

.home-disclaimer,
.home-contact-note {
    padding: 14px 15px;
    border-left: 3px solid #bcbcbc;
    background: #f4f4f4;
}

.home-activity-summary {
    padding: 20px;
    border-top: 4px solid #e1ae00;
    background: #fff9e4;
}

.home-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.home-metric-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid #d9d9d9;
    background: #f8f8f8;
}

.home-metric-card span {
    display: block;
    color: #5c5c5c;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.home-metric-card strong {
    display: block;
    margin-top: 4px;
    color: #111;
    font-size: 22px;
    overflow-wrap: anywhere;
}

.home-faq details { border-bottom: 1px solid #ddd; }
.home-faq details:first-of-type { border-top: 1px solid #ddd; }

.home-faq summary {
    padding: 14px 4px;
    color: #26394c;
    cursor: pointer;
    font-weight: 700;
}

.home-faq details p { margin: 0; padding: 0 4px 16px; }

.home-active-numbers > p:first-of-type {
    margin-top: -6px;
    color: #4f5965;
}

.home-active-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-active-grid a {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 9px;
    padding: 12px 13px;
    border: 1px solid #d7d7d7;
    color: #17233c;
    text-decoration: none;
}

.home-active-grid a:hover,
.home-active-grid a:focus {
    border-color: #7eb4d9;
    background: #f5f9fc;
}

.home-active-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.home-active-copy > strong {
    color: #105bbb;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.home-active-copy small {
    color: #65748b;
    font-size: 12px;
    line-height: 1.55;
}

.home-active-copy .home-rating-label {
    margin-right: 5px;
    padding: 3px 5px;
    font-size: 10px;
}

.home-active-grid svg {
    width: 16px;
    height: 16px;
    margin-left: auto;
    flex: 0 0 16px;
    fill: none;
    stroke: #7d8999;
    stroke-width: 2;
}

.home-empty-state {
    padding: 15px;
    border: 1px solid #d9dee5;
    background: #f7f9fb;
}

.homepage-ad-column {
    position: sticky;
    top: 20px;
    min-width: 0;
}

.homepage-ad-placeholder,
.homepage-sidebar-ad {
    display: grid;
    min-height: 600px;
    place-items: center;
    border: 1px dashed #aaa;
    background: #fafafa;
    color: #777;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: center;
}

.home-expanded-footer .home-footer-columns {
    display: grid;
    min-height: 0;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
    gap: 40px;
    padding-top: 35px;
    padding-bottom: 35px;
}

.home-expanded-footer .home-footer-columns h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
}

.home-expanded-footer .home-footer-columns p {
    max-width: 280px;
    margin: 0 0 10px;
    color: #e3e6ea;
    line-height: 1.55;
}

.home-expanded-footer .home-footer-columns a {
    display: block;
    padding: 5px 0;
    color: #fff;
    font-size: 14px;
}

.home-expanded-footer .home-footer-columns a:hover,
.home-expanded-footer .home-footer-columns a:focus { color: #e1ae00; }

.home-expanded-footer .home-footer-bottom {
    display: block;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid #555;
}

@media (max-width: 920px) {
    .homepage-content-layout { grid-template-columns: minmax(0, 1fr) 250px; }
    .home-report-number { flex-wrap: wrap; }
    .home-country { width: 100%; padding-left: 21px; }
}

@media (max-width: 820px) {
    .homepage-content-layout { grid-template-columns: 1fr; }
    .homepage-ad-column { position: static; }
    .homepage-ad-placeholder,
    .homepage-sidebar-ad { min-height: 120px; }
    .home-safety-grid { grid-template-columns: 1fr; }
    .home-expanded-footer .home-footer-columns { gap: 24px; }
}

@media (max-width: 767px) {
    .homepage-navbar .navbar-header { width: 100%; }
    .homepage-navbar .navbar-nav li a,
    .homepage-navbar .navbar-nav li span { padding: 10px 15px; }
    .home-search-hero { min-height: 340px; padding: 32px 16px 60px; }
    .home-search-subtitle { font-size: 20px; }
}

@media (max-width: 640px) {
    .homepage .container { max-width: calc(100% - 24px); }
    .home-search-hero h1 { font-size: 38px; }
    .home-search-kicker { font-size: 14px; }
    .home-search-control input { height: 56px; padding-left: 20px; }
    .home-search-control button { width: 64px; height: 56px; }
    .home-search-tagline { font-size: 15px; }
    .homepage-page { padding-top: 30px; padding-bottom: 40px; }
    .home-intro h2,
    .home-section-heading { font-size: 22px; }
    .home-latest-header { display: none; }
    .home-latest-list { display: grid; gap: 10px; }
    .home-latest-list > li {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 15px;
        border: 1px solid #dedede;
    }
    .home-latest-list > li:nth-child(even) { background: #fff; }
    .home-report-number { padding-right: 0; }
    .home-country { width: auto; padding-left: 0; }
    .home-report-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
    .home-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-metric-card { padding: 10px; }
    .home-metric-card strong { font-size: 19px; }
    .home-active-grid,
    .home-expanded-footer .home-footer-columns { grid-template-columns: 1fr; }
    .home-expanded-footer .home-footer-columns { padding-top: 25px; padding-bottom: 25px; }
}

@media (max-width: 390px) {
    .home-search-hero h1 { font-size: 34px; }
    .home-search-subtitle { font-size: 18px; }
    .home-metric-grid { grid-template-columns: 1fr; }
}

/* Shared page shell: keep the logo, content and sidebar columns aligned while
   navigating between the homepage, number pages and directory/trust pages. */
.container {
    width: 1120px;
    max-width: calc(100% - 32px);
}

.current-design-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
}

.current-design-content-layout > .contents,
.current-design-content-layout > .sidebar,
.current-design-content-layout > .homepage-main-column,
.current-design-content-layout > .homepage-ad-column {
    width: auto;
    min-width: 0;
    margin: 0;
}

@media (max-width: 820px) {
    .current-design-content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { max-width: calc(100% - 24px); }
}
