/*
Theme Name: 上草総合経営事務所
Author: Kamikusa Office
Description: 行政書士上草総合経営事務所のオリジナルWordPressテーマです。
Version: 1.2.2
Text Domain: kamikusa-office
*/

    :root {
      --blue: #194a9b;
      --navy: #123871;
      --sky: #66b8d7;
      --tag: #b9e2ee;
      --gold: #cbb052;
      --yellow: #edd76a;
      --ink: #17191d;
      --gray: #f0f0f0;
      --paper: #fff;
      --wide: 1840px;
      --content: 1740px;
      --result-overlap: 55px;
      --hero-clearance: 30px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
      font-size: 22px;
      line-height: 1.85;
    }
    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input { font: inherit; }
    address { font-style: normal; }
    .container { width: min(var(--content), calc(100% - 100px)); margin-inline: auto; }
    .wide-container { width: min(var(--wide), calc(100% - 72px)); margin-inline: auto; }
    .section-title {
      margin: 0;
      text-align: center;
      font-size: 42px;
      font-weight: 500;
      letter-spacing: .08em;
      line-height: 1.4;
    }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 86px;
      padding: 14px 72px;
      border: 0;
      background: #3f5fae;
      color: #fff;
      font-weight: 500;
      transition: filter .2s, transform .2s;
      cursor: pointer;
    }
    .button:hover { filter: brightness(1.08); transform: translateY(-2px); }

    /* header */
    .site-header { height: 170px; background: #fff; }
    .header-inner { height: 100%; display: flex; align-items: center; }
    .brand {
      width: 47%;
      display: flex;
      align-items: center;
      gap: 18px;
      padding-left: 18px;
      line-height: 1.25;
    }
    .brand img { width: 76px; height: 76px; }
    .brand-copy small { display: block; font-size: 23px; letter-spacing: .04em; }
    .brand-copy strong { display: block; font-size: 39px; font-weight: 500; letter-spacing: .035em; }
    .brand-copy em { display: block; color: #777; font-size: 23px; font-style: normal; letter-spacing: .03em; }
    .global-nav {
      width: 53%;
      height: 150px;
      display: grid;
      grid-template-columns: repeat(4, minmax(135px, 1fr)) minmax(230px, 1.35fr);
      align-items: stretch;
      font-size: 22px;
    }
    .global-nav > a {
      display: flex;
      align-items: center;
      justify-content: center;
      border-left: 1px solid #cfcfcf;
      transition: color .2s, background .2s;
    }
    .global-nav > a:hover { color: var(--blue); background: #f8fbfd; }
    .global-nav .header-contact { border-left: 0; padding: 24px 14px; }
    .header-contact > span {
      width: 100%;
      min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      padding-inline: 24px;
      border-radius: 26px;
      background: var(--sky);
      color: #fff;
      font-size: 23px;
      white-space: nowrap;
    }
    .mail-mark {
      width: 36px;
      height: 36px;
      flex: 0 0 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      object-fit: contain;
      transform: translateY(1px);
    }
    .menu-button { display: none; }

    /* hero */
    .hero {
      position: relative;
      width: 100%;
      aspect-ratio: 3883 / 1550;
      min-height: clamp(580px, 40vw, 650px);
      background: #dff3fb url("img/hero_img.webp") right center / cover no-repeat;
      overflow: hidden;
    }
    .hero-copy { position: absolute; left: 5.1%; top: 9%; width: 58%; }
    .hero h1 {
      margin: 0 0 35px;
      font-size: clamp(54px, 3.6vw, 70px);
      line-height: 1.27;
      letter-spacing: .035em;
      text-shadow: 0 4px 12px #fff, 0 0 14px #fff;
    }
    .hero h1 span { display: block; }
    .hero-lead {
      margin: 0;
      font-size: clamp(27px, 1.75vw, 34px);
      font-weight: 600;
      line-height: 1.75;
      letter-spacing: .035em;
      text-shadow: 0 2px 8px #fff, 0 0 12px #fff;
    }
    .hero-button {
      min-width: 420px;
      margin-top: 52px;
      border-radius: 52px;
      background: #17396e;
      font-size: 28px;
      font-weight: 700;
    }
    .hero-button b { margin-left: 35px; font-family: sans-serif; font-size: 40px; font-weight: 300; }
    .profile-card {
      position: absolute;
      right: 2.3%;
      bottom: calc(var(--result-overlap) + var(--hero-clearance));
      width: 31%;
      min-width: 470px;
      padding: 14px 24px;
      border-radius: 20px;
      background: rgba(255, 255, 255, .88);
      text-align: center;
      font-size: 22px;
      line-height: 1.4;
      box-shadow: 0 2px 5px #0001;
    }
    .profile-card .name { margin-left: 12px; font-size: 36px; font-weight: 700; }

    /* results and strengths */
    .results { position: relative; z-index: 2; min-height: 930px; padding-bottom: 70px; background: #fff; }
    .result-board {
      position: relative;
      margin-top: 0;
      margin-bottom: calc(0px - var(--result-overlap));
      transform: translateY(calc(0px - var(--result-overlap)));
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 350px;
      border: 2px solid #9c9c9c;
      border-radius: 26px;
      background: #fff;
      box-shadow: 0 5px 8px #0003;
    }
    .result-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 45px 35px;
      color: #193f79;
      text-align: center;
    }
    .result-item + .result-item { border-left: 1px solid #d5d5d5; }
    .result-item h2 { margin: 0 0 25px; font-size: 28px; line-height: 1.4; }
    .result-number { color: var(--gold); font-size: 82px; line-height: 1; white-space: nowrap; }
    .result-number small { font-size: 43px; }
    .result-note { margin-top: 25px; font-size: 22px; }
    .strength-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 55px;
      margin-top: 75px;
      padding: 0 24px;
    }
    .strength { display: grid; grid-template-columns: 145px 1fr; gap: 28px; align-items: start; }
    .strength img { width: 145px; }
    .strength h3 { margin: 10px 0 18px; color: #173b72; font-size: 29px; line-height: 1.45; }
    .strength p { margin: 0; font-size: 22px; line-height: 1.6; }
    .contact-banner {
      width: min(1400px, calc(100% - 180px));
      min-height: 105px;
      margin: 65px auto 0;
      display: flex;
      border-radius: 11px;
      background: var(--yellow);
      color: #163a70;
      font-size: 32px;
      font-weight: 700;
    }
    .contact-banner .mail-mark { width: 48px; height: 48px; flex-basis: 48px; margin-right: 65px; font-size: 45px; }

    /* about */
    .about {
      min-height: 1050px;
      padding: 110px 0 90px;
      background: #fff url("img/bg_1_1.webp") left center / auto 100% no-repeat;
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.04fr;
      gap: 75px;
      align-items: center;
      margin-top: 90px;
    }
    .about-copy { font-size: 23px; line-height: 2.12; }
    .about-copy p { margin: 0; }
    .about-photo { width: 100%; aspect-ratio: 1801 / 1201; object-fit: cover; }

    /* services */
    .services {
      min-height: 1470px;
      padding: 105px 0 125px;
      background: #fff url("img/bg_2.webp") center / cover;
    }
    .service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 55px; margin-top: 115px; }
    .service-card {
      position: relative;
      min-height: 310px;
      padding: 40px 48px 75px;
      border: 1px solid #aaa;
      border-radius: 20px;
      background: rgba(255, 255, 255, .95);
      box-shadow: 0 4px 11px #0002;
    }
    .service-card h3 { margin: 0 0 18px; color: #164797; font-size: 36px; line-height: 1.35; }
    .service-card p { margin: 0; font-size: 25px; line-height: 1.75; }
    .service-link { position: absolute; right: 50px; bottom: 28px; color: #164ca4; font-size: 25px; }
    .service-link::before { content: "▶"; margin-right: 18px; font-size: .8em; }
    .service-card .loan-button {
      position: absolute;
      right: 30px;
      bottom: 18px;
      min-width: 390px;
      min-height: 72px;
      padding: 8px 30px;
      background: #164ca4;
      font-size: 24px;
    }

    /* reasons */
    .reasons { min-height: 1280px; padding: 105px 0 120px; background: #f1f1f1; }
    .reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px 58px; margin-top: 100px; }
    .reason-card {
      min-height: 350px;
      display: grid;
      grid-template-columns: 275px 1fr;
      border: 1px solid #c0c0c0;
      background: #fff;
      box-shadow: 0 3px 7px #0001;
    }
    .reason-card img { width: 275px; height: 100%; object-fit: cover; }
    .reason-copy { padding: 22px 38px 24px; }
    .reason-kicker { color: #666; font-family: Georgia, "Times New Roman", serif; font-size: 49px; line-height: 1.1; }
    .reason-kicker span { margin-left: 4px; color: #3c6cad; font-size: 74px; }
    .reason-card h3 { margin: 17px 0 12px; font-size: 28px; line-height: 1.48; }
    .reason-card p { margin: 0; font-size: 21px; line-height: 1.65; }

    /* partners */
    .partners {
      min-height: 1350px;
      padding: 105px 0 70px;
      background: #2f56a5 url("img/bg_3.webp") center / cover no-repeat;
      color: #fff;
    }
    .partners-kicker { display: none; }
    .partners-title { margin: 0 auto; width: min(1460px, 90%); }
    .partners-lead { margin: 40px auto 65px; text-align: center; font-size: 30px; line-height: 1.8; }
    .partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px 35px; }
    .partner-card {
      min-height: 280px;
      padding: 27px 38px 32px;
      border-radius: 20px;
      background: #fff;
      color: #222;
      box-shadow: 0 3px 7px #001a5040;
    }
    .partner-card h3 { margin: 0 0 18px; color: #174698; font-size: 30px; line-height: 1.35; }
    .partner-card p { margin: 0; font-size: 22px; line-height: 1.72; }
    .partner-note { margin: 65px 0 0; text-align: center; font-size: 18px; color: #e7ebf6; }

    /* news */
    .news-wrap { min-height: 1850px; padding: 110px 0 130px; background: #fff; }
    .news-block + .news-block { margin-top: 135px; }
    .news-title { margin: 0; border-bottom: 6px solid #63b7d5; padding: 0 15px 13px; font-size: 42px; font-weight: 500; line-height: 1.3; }
    .news-list { list-style: none; margin: 62px 0 55px; padding: 0 26px; }
    .news-list li { display: grid; grid-template-columns: 145px 410px 1fr; gap: 30px; align-items: center; min-height: 88px; }
    .news-list time { font-size: 23px; }
    .news-list .tag { display: block; border-radius: 40px; padding: 7px 20px; background: var(--tag); text-align: center; font-size: 23px; }
    .news-list a { font-size: 23px; line-height: 1.55; }
    .news-list a:hover { color: var(--blue); }
    .news-more { text-align: center; }
    .news-more .button { min-width: 540px; font-size: 28px; }

    /* seminar */
    .seminar {
      padding: 95px 0 100px;
      background: #0d4d90 url("img/bg_4.webp") center / cover no-repeat;
      color: #fff;
    }
    .seminar-copy { margin: 0 0 72px; text-align: center; font-size: 42px; line-height: 1.55; font-weight: 500; }
    .seminar-copy strong { color: #f2db19; font-size: 1.13em; }
    .seminar-copy .main-line { display: block; margin-top: 10px; font-size: 66px; line-height: 1.35; }
    .seminar-form {
      padding: 42px 52px 50px;
      border-top: 13px solid #3d58a9;
      background: #fff;
      color: #151515;
    }
    .seminar-form h3 { margin: 0 0 25px; font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif; font-size: 30px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 60px; }
    .field-full { grid-column: 1 / -1; }
    .seminar-form label { display: block; margin-bottom: 9px; font-size: 21px; }
    .seminar-form input { width: 100%; height: 72px; border: 1px solid #b7b7b7; border-radius: 13px; padding: 0 18px; background: #fff; }
    .form-submit { margin-top: 35px; text-align: center; }
    .form-submit .button { width: 55%; min-height: 82px; font-size: 27px; }

    /* hours */
    .hours { min-height: 670px; padding: 90px 0 75px; background: #f2f2f2; }
    .hours-table { width: 100%; margin-top: 90px; border-collapse: collapse; background: #fff; text-align: center; font-size: 24px; }
    .hours-table th, .hours-table td { height: 80px; border: 1px solid #aaa; padding: 9px; }
    .hours-table thead th { background: #ece8df; }
    .hours-table thead th:first-child, .hours-table tbody th { background: #ded4c5; }
    .hours-table thead th:nth-last-child(2) { background: #b9d5e8; }
    .hours-table thead th:last-child { background: #ecd1d5; }
    .hours-note { margin: 65px 0 0; text-align: center; font-size: 30px; }

    /* area */
    .area {
      position: relative;
      min-height: 970px;
      padding: 110px 0 40px;
      overflow: hidden;
      background: #fff url("img/bg_2.webp") center / cover;
    }
    .area::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 580px;
      height: 760px;
      background: url("img/area_bg1.webp") left bottom / contain no-repeat;
      pointer-events: none;
    }
    .area p { position: relative; margin: 115px auto 25px; text-align: center; font-size: 24px; line-height: 1.8; }
    .area-map { position: relative; width: 920px; height: 560px; margin: 45px auto 0; object-fit: contain; }

    /* access */
    .access { min-height: 820px; padding: 100px 0 0; background: #efeded; }
    .access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 90px; padding: 0 45px 85px; }
    .access h3 { margin: 0 0 20px; font-size: 34px; font-weight: 500; }
    .access address { font-size: 23px; line-height: 1.75; }
    .access dl { margin: 35px 0 0; }
    .access dl > div { display: grid; grid-template-columns: 150px 1fr; min-height: 66px; align-items: center; border-bottom: 1px solid #b9b9b9; }
    .access dt, .access dd { margin: 0; }
    .parking-note { margin: 32px 0 0; padding: 28px 45px; background: #fff; font-size: 22px; line-height: 1.8; }
    .access-map { padding: 16px; background: #fff; }
    .site-footer { min-height: 56px; display: grid; place-items: center; background: #62b3d2; color: #fff; font-size: 18px; }

    .floating-contact { position: fixed; right: 16px; top: 38%; z-index: 10; display: grid; gap: 10px; }
    .floating-contact a { width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 3px 13px #0003; }
    .floating-contact img { width: 76px; height: 76px; }

    @media (max-width: 1450px) {
      body { font-size: 18px; }
      .site-header { height: 105px; }
      .brand { width: auto; flex: 1; padding-left: 12px; }
      .brand img { width: 58px; height: 58px; }
      .brand-copy small { font-size: 14px; }
      .brand-copy strong { font-size: 25px; }
      .brand-copy em { font-size: 15px; }
      .global-nav { width: 52%; height: 90px; grid-template-columns: repeat(4, 1fr) 1.25fr; font-size: 15px; }
      .header-contact > span { min-height: 62px; gap: 10px; padding-inline: 16px; border-radius: 18px; font-size: 15px; }
      .header-contact .mail-mark { width: 28px; height: 28px; flex-basis: 28px; font-size: 27px; }
      .hero-copy { top: 11%; }
      .hero h1 { font-size: clamp(40px, 4.5vw, 58px); }
      .hero-lead { font-size: 23px; }
      .hero-button { min-width: 310px; min-height: 70px; margin-top: 35px; font-size: 21px; }
      .profile-card { min-width: 340px; padding: 12px 18px; font-size: 16px; }
      .profile-card .name { font-size: 25px; }
      .result-number { font-size: 62px; }
      .strength { grid-template-columns: 105px 1fr; }
      .strength img { width: 105px; }
      .strength h3 { font-size: 23px; }
      .strength p { font-size: 18px; }
      .about-copy, .service-card p { font-size: 19px; }
      .service-card h3 { font-size: 29px; }
      .reason-card { grid-template-columns: 210px 1fr; }
      .reason-card img { width: 210px; }
      .reason-copy { padding: 18px 24px; }
      .reason-card h3 { font-size: 23px; }
      .reason-card p, .partner-card p { font-size: 18px; }
      .partner-card h3 { font-size: 25px; }
    }

    @media (max-width: 950px) {
      :root { --result-overlap: 20px; --hero-clearance: 20px; }
      body { font-size: 16px; line-height: 1.75; }
      .container, .wide-container { width: min(100% - 30px, 680px); }
      .section-title { font-size: 28px; }
      .site-header { height: 78px; position: relative; z-index: 20; }
      .brand img { width: 48px; height: 48px; }
      .brand-copy small { font-size: 10px; }
      .brand-copy strong { font-size: 17px; }
      .brand-copy em { font-size: 11px; }
      .menu-button { display: block; width: 48px; height: 44px; margin-right: 14px; border: 0; background: var(--blue); color: #fff; font-size: 25px; }
      .global-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; width: 100%; height: auto; grid-template-columns: 1fr; padding: 8px 15px 18px; background: #fff; box-shadow: 0 8px 16px #0002; }
      .global-nav.open { display: grid; }
      .global-nav > a { min-height: 52px; border: 0; border-bottom: 1px solid #eee; }
      .global-nav .header-contact { padding: 12px 0 0; }
      .hero { min-height: 560px; aspect-ratio: auto; background-position: 90% center; background-size: cover; }
      .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.65), transparent 72%); }
      .hero-copy { z-index: 1; left: 20px; top: 42px; width: calc(100% - 40px); }
      .hero h1 { width: 82%; margin-bottom: 22px; font-size: 35px; line-height: 1.35; }
      .hero-lead { width: 75%; font-size: 18px; line-height: 1.7; }
      .hero-button { min-width: 250px; min-height: 62px; margin-top: 32px; padding: 10px 25px; font-size: 17px; }
      .hero-button b { margin-left: 20px; }
      .profile-card { z-index: 1; right: 14px; bottom: calc(var(--result-overlap) + var(--hero-clearance)); width: 68%; min-width: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
      .profile-card .name { font-size: 20px; }
      .results { min-height: 0; padding: 0 0 70px; }
      .result-board { grid-template-columns: 1fr; min-height: 0; margin-top: 0; margin-bottom: calc(0px - var(--result-overlap)); transform: translateY(calc(0px - var(--result-overlap))); border-radius: 16px; }
      .result-item { min-height: 205px; padding: 28px 15px; }
      .result-item + .result-item { border-left: 0; border-top: 1px solid #ddd; }
      .result-item h2 { margin-bottom: 18px; font-size: 20px; }
      .result-number { font-size: 50px; }
      .result-number small { font-size: 28px; }
      .strength-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 55px; padding: 0 5px; }
      .strength { grid-template-columns: 88px 1fr; gap: 20px; }
      .strength img { width: 88px; }
      .strength h3 { margin-top: 4px; font-size: 20px; }
      .strength p { font-size: 16px; }
      .contact-banner { width: calc(100% - 30px); min-height: 78px; margin-top: 55px; padding: 10px 18px; font-size: 19px; }
      .contact-banner .mail-mark { width: 32px; height: 32px; flex-basis: 32px; margin-right: 18px; font-size: 30px; }
      .about, .services, .reasons, .partners, .news-wrap, .seminar, .hours, .area, .access { min-height: 0; }
      .about { padding: 60px 0; background-position: -120px center; background-size: auto 100%; }
      .about-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 65px; }
      .about-photo { order: -1; }
      .about-copy { font-size: 16px; line-height: 2; }
      .services { padding: 75px 0; }
      .service-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 60px; }
      .service-card { min-height: 245px; padding: 27px 25px 65px; border-radius: 14px; }
      .service-card h3 { font-size: 25px; }
      .service-card p { font-size: 16px; }
      .service-link { right: 25px; bottom: 20px; font-size: 17px; }
      .service-card .loan-button { right: 18px; min-width: 260px; min-height: 55px; font-size: 16px; }
      .reasons { padding: 75px 0; }
      .reason-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 55px; }
      .reason-card { min-height: 275px; grid-template-columns: 135px 1fr; }
      .reason-card img { width: 135px; }
      .reason-copy { padding: 16px 17px; }
      .reason-kicker { font-size: 30px; }
      .reason-kicker span { font-size: 45px; }
      .reason-card h3 { margin: 10px 0; font-size: 19px; }
      .reason-card p { font-size: 14px; }
      .partners { padding: 75px 0; }
      .partners-kicker { font-size: 24px; }
      .partners-title { width: 100%; margin-top: 15px; }
      .partners-lead { margin: 35px auto 45px; font-size: 19px; }
      .partner-grid { grid-template-columns: 1fr; gap: 22px; }
      .partner-card { min-height: 0; padding: 25px; border-radius: 14px; }
      .partner-card h3 { font-size: 22px; }
      .partner-card p { font-size: 16px; }
      .partner-note { margin-top: 35px; font-size: 13px; }
      .news-wrap { padding: 75px 0; }
      .news-block + .news-block { margin-top: 90px; }
      .news-title { border-width: 4px; font-size: 28px; }
      .news-list { margin: 35px 0 45px; padding: 0; }
      .news-list li { grid-template-columns: 110px 1fr; gap: 7px 12px; padding: 15px 0; border-bottom: 1px solid #eee; }
      .news-list time, .news-list .tag, .news-list a { font-size: 15px; }
      .news-list a { grid-column: 1 / -1; }
      .news-more .button { min-width: 260px; min-height: 60px; font-size: 18px; }
      .seminar { padding: 70px 0; }
      .seminar-copy { margin-bottom: 45px; font-size: 22px; }
      .seminar-copy .main-line { font-size: 34px; }
      .seminar-form { padding: 28px 20px 30px; border-top-width: 8px; }
      .seminar-form h3 { font-size: 21px; }
      .form-grid { grid-template-columns: 1fr; gap: 18px; }
      .field-full { grid-column: auto; }
      .seminar-form input { height: 58px; }
      .form-submit .button { width: 100%; min-height: 62px; font-size: 18px; }
      .hours { padding: 75px 0; overflow-x: auto; }
      .hours-table { min-width: 650px; margin-top: 55px; font-size: 15px; }
      .hours-table th, .hours-table td { height: 58px; }
      .hours-note { margin-top: 45px; font-size: 18px; }
      .area { padding: 75px 0 25px; }
      .area::before { left: -50px; width: 270px; height: 460px; }
      .area p { margin-top: 55px; font-size: 15px; }
      .area-map { width: 78%; height: auto; margin-top: 30px; }
      .access { padding-top: 75px; }
      .access-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 55px; padding: 0 0 65px; }
      .access h3 { font-size: 24px; }
      .access address { font-size: 16px; }
      .access dl > div { grid-template-columns: 105px 1fr; min-height: 56px; }
      .parking-note { padding: 20px; font-size: 15px; }
      .site-footer { min-height: 50px; padding: 8px 15px; text-align: center; font-size: 12px; }
      .floating-contact { display: none; }
    }

    @media (max-width: 440px) {
      .brand-copy em { display: none; }
      .brand-copy strong { font-size: 15px; }
      .hero { min-height: 510px; }
      .hero h1 { font-size: 29px; }
      .hero-lead { width: 82%; font-size: 15px; }
      .reason-card { grid-template-columns: 105px 1fr; }
      .reason-card img { width: 105px; }
      .reason-kicker { font-size: 23px; }
      .reason-kicker span { font-size: 35px; }
      .reason-card h3 { font-size: 16px; }
      .reason-card p { font-size: 12px; }
    }

/* WordPress article and archive pages */
.content-page {
  min-height: 65vh;
  padding: 100px 0 120px;
  background: #fff;
}
.content-header {
  margin-bottom: 55px;
  text-align: center;
}
.content-header h1 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.45;
}
.content-header time { color: #777; font-size: 18px; }
.post-index { display: grid; gap: 28px; }
.post-index-item,
.single-entry,
.archive-list {
  padding: 45px 55px;
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 10px #0001;
}
.post-index-item h2 { margin: 8px 0 15px; color: var(--navy); font-size: 30px; }
.post-index-item p { margin: 0; }
.archive-list { margin: 0; list-style: none; }
.archive-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 25px;
  padding: 22px 10px;
  border-bottom: 1px solid #ddd;
}
.archive-list li:last-child { border-bottom: 0; }
.archive-list a { color: var(--navy); }
.entry-thumbnail { margin-bottom: 45px; }
.entry-thumbnail img { width: 100%; height: auto; }
.entry-content { line-height: 2; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { height: auto; }
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; justify-content: center; gap: 10px; }
.page-numbers { padding: 8px 15px; background: #eef7fb; color: var(--navy); }
.page-numbers.current { background: var(--sky); color: #fff; }
.news-list .news-empty { display: block; color: #666; text-align: center; }

@media (max-width: 950px) {
  .content-page { padding: 70px 0 90px; }
  .post-index-item,
  .single-entry,
  .archive-list { padding: 30px 25px; }
  .archive-list li { grid-template-columns: 1fr; gap: 4px; }
}


.MF-cntr {
    border-radius: 4px;
    width: 100% !important;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: auto !important;
}

.MF-cntr.red .MF-title{
	border-top-color:#3a54a1 !important;
	background-color:white !important;
	font-size:23px;
	line-height:120%;
}

.MF-cntr.red .MF-btn {
    background-color:#3a54a1 !important;
    color: #fff;
	font-size:23px !important;
}

.MF-itm-name {
    width: 100%;
    display: block;
    font-size: 23px !important;
    color: #555555;
}