/*
 * AWG Town Square: desktop adaptation of the approved photographic mobile design.
 * The same HTML links/cards serve all viewport sizes. Mobile rules remain isolated
 * in mobile-town.css; these rules only opt into the card experience on desktop.
 */
@media (min-width:901px) {
  .town-desktop-redesign .town-section {
    background:linear-gradient(165deg,#fdfbf7 0%,#f8f4ed 69%,#eee7dd 100%);
    padding:42px 0 64px;
    color:#10283f;
  }
  .town-desktop-redesign .town-mobile-experience {
    display:block;
    width:100%;
    max-width:1160px;
    margin:0 auto;
  }
  .town-desktop-redesign .town-mobile-welcome {padding:2px 4px 24px}
  .town-desktop-redesign .town-mobile-kicker {
    color:#966b2c;
    text-transform:uppercase;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:.19em;
    margin:0 0 6px;
  }
  .town-desktop-redesign .town-mobile-welcome h1 {
    font:500 clamp(3.3rem,5.6vw,5rem)/1.09 Georgia,'Times New Roman',serif;
    letter-spacing:-.046em;
    margin:0 0 8px;
    color:#0b2940;
  }
  .town-desktop-redesign .town-mobile-welcome p:not(.town-mobile-kicker) {
    max-width:900px;
    color:#405665;
    font-size:1.15rem;
    line-height:1.5;
    margin:0;
  }
  .town-desktop-redesign .town-mobile-feature {
    display:flex;
    position:relative;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    isolation:isolate;
    min-height:250px;
    padding:40px 180px 40px 53px;
    border-radius:19px;
    overflow:hidden;
    border:1px solid #28485b;
    box-shadow:0 12px 27px #122d461e;
    color:#fff;
    text-decoration:none;
    background-color:#173e59;
    background-image:linear-gradient(90deg,#0a2a48ed 0%,#0b3252c9 48%,#14375225 100%),url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1700&q=82");
    background-size:cover;
    background-position:center;
    gap:7px;
    transition:transform .16s ease,box-shadow .16s ease;
  }
  .town-desktop-redesign .town-mobile-feature:hover {
    transform:translateY(-2px);
    box-shadow:0 16px 32px #122d4633;
  }
  .town-desktop-redesign .town-mobile-feature-kicker {
    color:#f7cc74;
    font-size:.84rem;
    letter-spacing:.15em;
    font-weight:800;
  }
  .town-desktop-redesign .town-mobile-feature>strong {
    color:white;
    font:500 clamp(2.75rem,4.3vw,4rem)/1.1 Georgia,'Times New Roman',serif;
    letter-spacing:-.03em;
  }
  .town-desktop-redesign .town-mobile-feature-copy {
    max-width:560px;
    color:#f8f4ed;
    font-size:1.15rem;
    line-height:1.48;
  }
  .town-desktop-redesign .town-mobile-feature-arrow {
    position:absolute;
    right:36px;
    bottom:32px;
    display:grid;
    place-items:center;
    height:58px;
    width:58px;
    border-radius:50%;
    background:#f4c75b;
    color:#082a41;
    font:800 2rem/1 Arial,sans-serif;
    box-shadow:0 4px 13px #0004;
  }
  .town-desktop-redesign .town-mobile-primary {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    margin-top:23px;
  }
  .town-desktop-redesign .town-mobile-card {
    display:flex;
    position:relative;
    flex-direction:column;
    align-items:stretch;
    min-width:0;
    min-height:330px;
    padding:0;
    overflow:hidden;
    border-radius:18px;
    border:1px solid #e3ddd4;
    background:linear-gradient(110deg,#fffefc,#faf7f2);
    color:#10263b;
    text-decoration:none;
    box-shadow:0 6px 19px #142c4020;
    transition:transform .16s ease,box-shadow .16s ease;
  }
  .town-desktop-redesign .town-mobile-card:hover {
    transform:translateY(-3px);
    box-shadow:0 12px 26px #142c4031;
  }
  .town-desktop-redesign .town-card-photo {
    display:block;
    flex:none;
    align-self:stretch;
    height:179px;
    border-radius:17px 17px 0 0;
    background-color:#82958f;
    background-size:cover;
    background-position:center;
  }
  .town-desktop-redesign .town-card-living .town-card-photo {
    background-image:linear-gradient(150deg,#162c3922,#b9863833),url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-introduction .town-card-photo {
    background-image:linear-gradient(130deg,#203d4555,#deb76c40),url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-nextstep .town-card-photo {
    background-image:linear-gradient(130deg,#2b596622,#c2a67644),url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-briefings .town-card-photo {
    background-image:linear-gradient(145deg,#644d2928,#897b6140),url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-library .town-card-photo {
    background-image:linear-gradient(140deg,#66553a2e,#a9843944),url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-passport .town-card-photo {
    background-image:linear-gradient(140deg,#142d4b24,#a8946844),url("https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-table .town-card-photo {
    background-image:linear-gradient(140deg,#1933433b,#9f7e4644),url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-discovery .town-card-photo {
    background-image:linear-gradient(140deg,#163b5944,#e4b64f22),url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=900&q=82");
  }
  .town-desktop-redesign .town-card-copy {
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:7px;
    padding:21px 58px 23px 22px;
  }
  .town-desktop-redesign .town-card-copy strong {
    color:#10293f;
    font:750 clamp(1.12rem,1.65vw,1.43rem)/1.2 system-ui,-apple-system,'Segoe UI',sans-serif;
    letter-spacing:-.025em;
  }
  .town-desktop-redesign .town-card-copy>span {
    color:#3b5260;
    font-size:1rem;
    line-height:1.45;
    overflow-wrap:break-word;
  }
  .town-desktop-redesign .town-card-arrow {
    position:absolute;
    right:19px;
    bottom:20px;
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    justify-self:end;
    border-radius:50%;
    background:#f2dfb4;
    font:600 1.8rem/1 Georgia,serif;
    color:#8c672b;
  }
  .town-desktop-redesign .town-mobile-more {
    margin:23px 0 0;
  }
  .town-desktop-redesign .town-mobile-more summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:56px;
    border:1px solid #c8bcaa;
    border-radius:12px;
    padding:13px 19px;
    background:#eee6da;
    color:#18384d;
    cursor:pointer;
    font-weight:750;
    list-style:none;
  }
  .town-desktop-redesign .town-mobile-more summary::-webkit-details-marker{display:none}
  .town-desktop-redesign .town-mobile-more summary span{font-size:1.5rem}
  .town-desktop-redesign .town-mobile-more[open] summary span{transform:rotate(180deg)}
  .town-desktop-redesign .town-mobile-extra {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    margin-top:16px;
  }
  .town-desktop-redesign .town-mobile-extra .town-mobile-card {
    display:grid;
    grid-template-columns:160px minmax(0,1fr) 28px;
    align-items:center;
    gap:16px;
    min-height:160px;
    padding:9px 14px 9px 9px;
  }
  .town-desktop-redesign .town-mobile-extra .town-card-photo {
    height:146px;
    min-height:146px;
    border-radius:11px;
  }
  .town-desktop-redesign .town-mobile-extra .town-card-copy {padding:12px 0}
  .town-desktop-redesign .town-mobile-extra .town-card-arrow {
    position:static;
    align-self:center;
    background:none;
    height:auto;
    width:auto;
  }
  .town-desktop-redesign .town-mobile-disclosure {
    margin:23px 3px 0;
    color:#546976;
    font-size:.92rem;
    line-height:1.55;
  }
}
.town-desktop-redesign .town-mobile-feature:focus-visible,
.town-desktop-redesign .town-mobile-card:focus-visible,
.town-desktop-redesign .town-mobile-more summary:focus-visible {outline:3px solid #c89532;outline-offset:4px}
.town-desktop-redesign #membership {
  padding:14px 0 68px;
  background:#f8f4ed;
  color:#0c2a3d;
}
.town-desktop-redesign #membership .town-hub-entry {
  padding:clamp(26px,4.6vw,47px);
  border:1px solid #264658;
  border-radius:18px;
  background-color:#133447;
  background-image:linear-gradient(90deg,#0a2c44f5 0%,#0a3048d7 52%,#0a304852 100%),url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1450&q=74");
  background-size:cover;
  background-position:center;
  color:#fff;
  box-shadow:0 8px 22px #142c4020;
}
.town-desktop-redesign #membership .kicker{color:#f1c77b}
.town-desktop-redesign #membership h2 {
  color:#fff;
  font-size:clamp(1.9rem,3.8vw,3.1rem);
  line-height:1.15;
  margin:6px 0 15px;
}
.town-desktop-redesign #membership p:not(.kicker) {
  max-width:650px;
  color:#edf0ef;
  font-size:1.02rem;
  line-height:1.56;
  margin:0;
}
.town-desktop-redesign #membership .button {
  margin-top:23px;
  border-radius:8px;
  background:#f2ce7b;
  color:#092538;
  text-decoration:none;
}
@media (min-width:901px) and (max-width:1030px) {
  .town-desktop-redesign .town-mobile-primary{gap:13px}
  .town-desktop-redesign .town-mobile-card{min-height:350px}
  .town-desktop-redesign .town-card-copy{padding-left:18px;padding-right:49px}
  .town-desktop-redesign .town-mobile-extra .town-mobile-card{grid-template-columns:130px minmax(0,1fr) 21px;gap:10px}
  .town-desktop-redesign .town-mobile-extra .town-card-photo{height:132px;min-height:132px}
}
@media (max-width:560px) {
  .town-desktop-redesign #membership{padding:8px 0 43px}
  .town-desktop-redesign #membership .town-hub-entry{border-radius:14px}
}
@media(prefers-reduced-motion:reduce) {
  .town-desktop-redesign .town-mobile-feature,
  .town-desktop-redesign .town-mobile-card{transition:none}
  .town-desktop-redesign .town-mobile-feature:hover,
  .town-desktop-redesign .town-mobile-card:hover{transform:none}
}
