.rio-home .rio-gallery .section-heading{align-items:end;margin-bottom:24px}
.rio-home .rio-gallery .section-heading h2{max-width:650px}
.rio-gallery-tabs{display:flex;gap:6px;padding:5px;margin:0 0 20px;width:fit-content;max-width:100%;border:1px solid #fff;border-radius:28px;background:#e5edf4}
.rio-gallery-tabs button{appearance:none;border:0;border-radius:22px;background:transparent;color:#33546e;font:inherit;font-size:13px;padding:11px 20px;cursor:pointer}
.rio-gallery-tabs button[aria-selected=true]{background:#193b52;color:#fff;box-shadow:0 3px 10px #16374d14}
.rio-gallery .rio-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rio-gallery .rio-gallery-grid[hidden]{display:none}
.rio-gallery .rio-gallery-flight{grid-template-columns:1fr 1fr .8fr;grid-template-rows:repeat(2,minmax(0,1fr))}
.rio-gallery-flight .rio-gallery-portrait{grid-column:3;grid-row:1 / span 2}
.rio-gallery .rio-gallery-landscapes{grid-template-columns:repeat(2,minmax(0,1fr))}
.rio-gallery .rio-gallery-card{display:flex;flex-direction:column;width:100%;min-width:0;padding:0;overflow:hidden;text-align:start;background:#fff;border:1px solid #fff;border-radius:19px;color:#193b52;cursor:zoom-in;font:inherit;box-shadow:0 7px 24px #16374d0b;transition:box-shadow .2s ease,transform .2s ease}
.rio-gallery-image{display:block;width:100%;aspect-ratio:3/2;background:#dde8ed;overflow:hidden}
.rio-gallery .rio-gallery-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.rio-gallery-portrait .rio-gallery-image{aspect-ratio:auto;flex:1;min-height:0}
.rio-gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;min-height:46px;font-size:13px;font-weight:600;line-height:1.4}
.rio-gallery-caption>span:last-child{font-size:17px;color:#526e81}
.rio-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;font-size:12px;color:#5e788f}
.rio-gallery .rio-gallery-footer button{padding:6px 0;border:0;border-bottom:1px solid #b4c5d0;background:transparent;font:inherit;font-weight:600;color:#193b52;cursor:pointer}
.rio-gallery button:focus-visible{outline:3px solid #d6ad33;outline-offset:3px}
@media(hover:hover){.rio-gallery-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #16374d20}}
@media(max-width:1000px){.rio-gallery .rio-gallery-flight{grid-template-columns:1fr 1fr .85fr}.rio-gallery-caption{font-size:12px;padding:10px}.rio-gallery .section-heading{gap:16px}}
@media(max-width:640px){.rio-gallery-tabs{width:100%;justify-content:space-between;gap:2px}.rio-gallery-tabs button{font-size:12px;padding:10px 12px}.rio-gallery .rio-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rio-gallery .rio-gallery-flight{grid-template-rows:auto}.rio-gallery-flight .rio-gallery-portrait{grid-column:1 / -1;grid-row:auto;max-width:100%}.rio-gallery-portrait .rio-gallery-image{aspect-ratio:1;flex:auto;max-height:400px;background:#17364b}.rio-gallery .rio-gallery-boarding .rio-gallery-card:last-child{grid-column:1 / -1}.rio-gallery .rio-gallery-landscapes{grid-template-columns:1fr}.rio-gallery-footer{align-items:flex-start;flex-direction:column;gap:8px}.rio-gallery .rio-gallery-card{border-radius:14px}.rio-gallery .rio-gallery-caption{font-size:12px;min-height:48px}}
@media(prefers-reduced-motion:reduce){.rio-gallery .rio-gallery-card{transition:none}.rio-gallery-card:hover{transform:none}}
