/* Package 01: additive styles for the existing VinaTap theme. */
.vt-coir-intro {display:flex;align-items:end;justify-content:space-between;gap:24px;padding:38px 0 20px;border-top:1px solid var(--line,#d4c7b6)}
.vt-coir-intro h2,.vt-coir-formats h2 {font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.12;margin:0 0 12px}
.vt-coir-intro p {max-width:670px;margin:0;font-size:1rem;line-height:1.6}
.vt-coir-intro>a {flex-shrink:0;min-height:44px;display:inline-flex;align-items:center;font-size:1rem}
.vt-package01-products.ed-products {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:0 0 36px}
.vt-package01-products .ed-product-row {display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:0;margin:0;background:var(--paper,#fbf5ec);border:1px solid var(--line,#d4c7b6)}
.vt-package01-products .ed-product-row>a:has(>img) {padding:0;display:block;width:100%;aspect-ratio:4/3;position:relative;overflow:hidden;flex:none}
/* The live Custom CSS sets image height:100%!important. Pin the image to a
   definite frame so original portrait dimensions cannot stretch a card. */
.vt-package01-products .ed-product-row>a>img {display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;aspect-ratio:auto;object-fit:cover}
.vt-package01-products .ed-product-copy {display:flex;flex-direction:column;flex:1;padding:24px;min-width:0;border-left:0}
.vt-package01-products .ed-product-copy h2 {font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.15;margin:0 0 14px;overflow-wrap:normal}
.vt-package01-products .ed-product-copy>p:not(.ed-number) {font-size:1rem;line-height:1.65;margin:0 0 18px}
.vt-package01-products .ed-product-copy>.text-link {display:inline-flex;align-items:center;min-height:44px;margin-top:auto;font-size:1rem;line-height:1.4}
.vt-package01-products .ed-number {display:none}
.vt-coir-formats {padding:28px 0 38px;border-top:1px solid var(--line,#d4c7b6);border-bottom:1px solid var(--line,#d4c7b6)}
.vt-coir-formats>p {font-size:1rem;line-height:1.6;margin:0 0 20px;max-width:760px}
.vt-coir-format-list {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.vt-coir-format-list li {margin:0;min-width:0}
.vt-coir-format-list a {display:flex;align-items:center;height:100%;min-height:60px;padding:14px 16px;border:1px solid var(--line,#cdbda8);border-radius:2px;background:var(--paper,#fbf5ec);font-size:1rem;line-height:1.45;color:var(--ink,#233c31);text-decoration:none;box-sizing:border-box}
.vt-coir-format-list a:hover {background:var(--soft,#e9e2d5);border-color:var(--ink,#233c31)}
.vt-package01-header .vt-coir-menu-heading {display:block;margin:14px 12px 5px;font-family:inherit;font-size:.875rem;font-weight:700;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;color:var(--ink,#233c31)}
.vt-package01-header .vt-coir-menu-group:first-child .vt-coir-menu-heading {margin-top:5px}
.vt-package01-header .vt-coir-nav>.submenu {width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow-y:auto;padding:10px}
.vt-package01-header .vt-coir-nav>.submenu a {display:flex;align-items:center;min-height:44px;font-size:1rem;line-height:1.4;padding:9px 12px;white-space:normal;box-sizing:border-box}
.vt-package01-header .menu-toggle {width:44px!important;min-width:44px;min-height:44px!important}
.vt-package01-header a:focus-visible,.vt-package01-header button:focus-visible,.vt-coir-intro a:focus-visible,.vt-package01-products a:focus-visible,.vt-coir-formats a:focus-visible {outline:3px solid #315f45;outline-offset:4px}
/* Existing homepage text is retained; only its readability changes. */
.home .ed-home .ed-hero-lead {font-size:1rem;line-height:1.65}
.home .ed-home .ed-grades {grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.home .ed-home .ed-grades .section-label {font-size:.875rem;line-height:1.4}
.home .ed-home .ed-grade {grid-template-columns:72px minmax(0,1fr);gap:16px;min-width:0}
.home .ed-home .ed-grade img {width:72px;height:72px}
.home .ed-home .ed-grade p {font-size:1rem;line-height:1.65}
.home .ed-home .ed-grade h3 {font-size:1.375rem;line-height:1.25}
.home .ed-home .hero-actions .button {min-height:44px;font-size:1rem;line-height:1.4}
@media (max-width:1100px) {
 .vt-package01-products.ed-products {gap:18px}
 .vt-package01-products .ed-product-copy {padding:20px}
 .vt-coir-format-list {grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .ed-home .ed-grades {grid-template-columns:repeat(2,minmax(0,1fr))}
 .home .ed-home .ed-grades>div:first-child {grid-column:1/-1}
 .home .ed-home .ed-grades>div+div {border-left:0;padding-left:0}
}
@media (max-width:980px) {
 .vt-package01-header .submenu-toggle {min-width:44px;min-height:44px}
 .vt-package01-header .vt-coir-nav>.submenu {width:100%;max-width:none;max-height:none;overflow:visible;box-sizing:border-box}
 .vt-package01-header .header-inner>.button {min-height:44px;font-size:12px;line-height:1.3}
}
@media (max-width:800px) {
 .vt-package01-products.ed-products {grid-template-columns:minmax(0,1fr);gap:24px}
 .vt-package01-products .ed-product-row>a:has(>img) {aspect-ratio:16/10}
 .vt-coir-intro {display:block;padding-top:28px}
 .vt-coir-intro>a {margin-top:12px}
 .home .ed-home .ed-grades {grid-template-columns:minmax(0,1fr);gap:24px}
 .home .ed-home .ed-grades>div:first-child {grid-column:auto}
 .home .ed-home .ed-grade {grid-template-columns:64px minmax(0,1fr)}
 .home .ed-home .ed-grade img {width:64px;height:64px}
 .home .ed-home .ed-grades h2 {font-size:1.875rem;line-height:1.15}
}
@media (max-width:720px) {
 .home .ed-home .ed-hero-copy {width:100%;max-width:none;min-width:0;margin:0;padding:24px 0 28px}
 .vt-package01-header .header-inner>.button {flex:0 1 116px;min-width:0;min-height:44px;margin-left:0;padding:8px;font-size:12px;line-height:1.3;white-space:normal;text-align:center}
}
@media (max-width:480px) {
 .vt-coir-format-list {grid-template-columns:minmax(0,1fr)}
 .vt-package01-products .ed-product-copy {padding:20px}
 .vt-package01-products .ed-product-copy h2 {font-size:1.75rem}
 .home .ed-home .hero-actions {align-items:stretch;gap:12px}
 .home .ed-home .hero-actions .button {max-width:100%;white-space:normal;text-align:center}
}
@media (max-width:380px) {
 /* 112px logo + 44px menu + 116px quote + 8px gaps fits the 288px container. */
 .vt-package01-header .header-inner {gap:4px}
 .vt-package01-header .brand>img.vinatap-tiger-lockup {width:112px!important}
}
