.uk-support-page{max-width:1200px;margin:auto;color:#0a2340;background:white}
.uk-support-banner{position:relative;isolation:isolate;height:360px;min-height:360px;padding:76px 60px 42px;background:#071e34 url('assets/uk-union-jack-banner.jpg') center/cover no-repeat;display:flex;align-items:center}
.uk-support-banner:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071e3480,transparent 75%)}
.uk-banner-back{position:absolute;top:24px;left:60px;color:#fff;font:16px/1.4 Georgia,serif;text-decoration:none}
.uk-banner-back:hover{text-decoration:underline;text-underline-offset:4px}
.uk-support-banner h1{font:700 58px/1.1 Georgia,serif;letter-spacing:-1px;color:#fff;margin:0 0 12px}
.uk-support-banner p{font:24px/1.4 Georgia,serif;color:#fff;margin:0}
.uk-support-categories{padding:30px 60px 36px}
.uk-support-page h2{font:700 36px/1.2 Georgia,serif;text-align:center;letter-spacing:-.7px;color:#0a2340;margin:0 0 28px}
.uk-support-page h2:after{content:'';display:block;width:65px;height:2px;background:#8b1232;margin:16px auto 0}
.uk-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.uk-support-card{border:1px solid #718299;border-radius:7px;background:#fff;overflow:hidden}
.uk-support-card summary{padding:24px;display:grid;grid-template-columns:50px minmax(0,1fr);gap:18px;cursor:pointer;list-style:none;min-height:218px}
.uk-support-card summary::-webkit-details-marker{display:none}
.uk-card-icon{width:50px;height:58px;color:#0a2340;display:block}
.uk-card-icon svg{width:100%;height:100%;margin:0}
.uk-card-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.uk-card-title{font:700 24px/1.2 Georgia,serif;color:#0a2340;letter-spacing:-.5px;display:block;margin:0 0 12px;overflow-wrap:normal}
.uk-card-description{font:17px/1.45 Georgia,serif;color:#34465b;display:block;margin:0 0 18px}
.uk-card-toggle{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;border:1px solid #aab6c6;border-radius:5px;padding:9px 12px;color:#0a2340;font:700 16px/1.25 Georgia,serif;background:#fff;transition:background .15s,color .15s,border-color .15s}
.uk-card-toggle svg{width:19px;height:19px;flex-shrink:0;transition:transform .15s}
.uk-support-card summary:hover .uk-card-toggle,.uk-support-card summary:focus-visible .uk-card-toggle,.uk-support-card[open] .uk-card-toggle{background:#8b1232;border-color:#8b1232;color:#fff}
.uk-support-card[open] .uk-card-toggle svg{transform:rotate(180deg)}
.uk-card-options{padding:0 24px 20px}
.uk-card-options a{display:block;padding:12px 0;border-top:1px solid #d9e0e8;font:16px/1.4 Arial,sans-serif;color:#0a2340}
.uk-card-options a:hover{color:#8b1232;text-decoration:underline}
.uk-support-includes{padding:26px 60px 34px;background:#f0f4f8}
.uk-support-includes>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.uk-support-includes article{display:flex;gap:18px;align-items:flex-start;border-right:1px solid #becada;padding-right:16px;min-width:0}
.uk-support-includes article:last-child{border:0;padding-right:0}
.uk-support-includes article>span{width:45px;height:48px;flex-shrink:0;display:block;color:#0a2340}
.uk-support-includes article svg{width:100%;height:100%}
.uk-support-includes h3{font:700 18px/1.25 Georgia,serif;color:#0a2340;letter-spacing:-.3px;margin:0 0 8px}
.uk-support-includes p{font:15px/1.5 Georgia,serif;color:#34465b;margin:0}
@media(max-width:1050px){.uk-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uk-support-includes>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.uk-support-includes article:nth-child(2){border:0}}
@media(max-width:800px){.uk-support-banner{height:320px;min-height:320px;padding:74px 22px 36px;background-position:62% center}.uk-banner-back{top:22px;left:22px}.uk-support-banner h1{font-size:40px}.uk-support-banner p{font-size:20px}.uk-support-categories,.uk-support-includes{padding:28px 22px}.uk-support-page h2{font-size:30px}.uk-support-card summary{padding:22px;min-height:210px;gap:14px;grid-template-columns:42px minmax(0,1fr)}.uk-card-icon{width:42px;height:48px}.uk-card-title{font-size:22px}.uk-card-description{font-size:16px}}
@media(max-width:550px){.uk-support-grid,.uk-support-includes>div{grid-template-columns:1fr}.uk-support-card summary{min-height:0}.uk-support-includes article{border:0;padding:0}}

/* Equal category tiles with buttons aligned at the bottom. */
.uk-support-card summary{height:290px;min-height:290px;box-sizing:border-box}
.uk-card-copy{height:100%;min-height:0}
.uk-card-title{min-height:29px}
.uk-card-toggle{margin-top:auto}
@media(max-width:800px){.uk-support-card summary{height:285px;min-height:285px}}
@media(max-width:550px){.uk-support-card summary{height:255px;min-height:255px}}

/* UK Passports: approved option one, equal tiles and shared banner dimensions. */
.passport-prestige-banner{background-image:url('assets/uk-passport-prestige-banner.jpg')}
.passport-prestige-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.passport-prestige-card{grid-column:span 2;display:grid;grid-template-columns:50px minmax(0,1fr);gap:18px;border:1px solid #aebbcf;border-radius:5px;padding:24px;min-width:0;height:310px;background:#fff}
.passport-prestige-card:nth-child(4){grid-column:2 / span 2}
.passport-prestige-card:nth-child(5){grid-column:4 / span 2}
.passport-prestige-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;height:100%}
.passport-prestige-copy h3{font:700 23px/1.15 Georgia,serif;letter-spacing:-.4px;margin:0 0 16px;color:#0a2340;min-height:53px;overflow-wrap:normal}
.passport-prestige-copy p{font:16px/1.45 Georgia,serif;color:#34465b;margin:0 0 16px}
.passport-prestige-copy .uk-card-toggle{font-size:15px;white-space:nowrap;padding:10px 12px;margin-top:auto;justify-content:center;width:100%}
.passport-prestige-copy .uk-card-toggle:hover,.passport-prestige-copy .uk-card-toggle:focus-visible{background:#8b1232;border-color:#8b1232;color:#fff}
.passport-prestige-includes>div{gap:30px}
.passport-prestige-includes article{flex-direction:column;align-items:center;text-align:center;gap:14px;padding:0;border:0}
.passport-prestige-includes h3{font:400 22px/1.35 Georgia,serif;margin:0;max-width:180px}
/* English passport support matches the existing UK Visas icon/text layout. */
html[lang="en"] .passport-prestige-includes>div{gap:24px}
html[lang="en"] .passport-prestige-includes article{
  flex-direction:row;align-items:flex-start;text-align:left;gap:18px;
  padding-right:16px;border-right:1px solid #becada;
}
html[lang="en"] .passport-prestige-includes article:last-child{padding-right:0;border:0}
html[lang="en"] .passport-prestige-includes .english-passport-support-copy{min-width:0}
html[lang="en"] .passport-prestige-includes h3{
  font:700 18px/1.25 Georgia,serif;max-width:none;margin:0 0 8px;
}
@media(max-width:1050px){html[lang="en"] .passport-prestige-includes article:nth-child(2){border:0}}
@media(max-width:550px){html[lang="en"] .passport-prestige-includes article{padding:0;border:0}}
@media(max-width:1050px){.passport-prestige-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.passport-prestige-card,.passport-prestige-card:nth-child(4),.passport-prestige-card:nth-child(5){grid-column:auto;height:300px}.passport-prestige-card:last-child{grid-column:1 / -1;width:calc((100% - 20px)/2);justify-self:center}}
@media(max-width:550px){.passport-prestige-grid{grid-template-columns:1fr}.passport-prestige-card,.passport-prestige-card:nth-child(4),.passport-prestige-card:nth-child(5),.passport-prestige-card:last-child{grid-column:auto;width:100%;height:300px}.passport-prestige-card{padding:22px;grid-template-columns:42px minmax(0,1fr);gap:14px}.passport-prestige-copy h3{font-size:22px}}

/* Polish passport descriptions grow naturally; links stay inside equal-height tiles. */
html[lang="pl"] .passport-prestige-grid{grid-auto-rows:1fr;align-items:stretch}
html[lang="pl"] .passport-prestige-card{height:auto;min-height:310px;align-items:stretch}
html[lang="pl"] .passport-prestige-copy{height:auto;min-height:0}
html[lang="pl"] .passport-prestige-copy h3,
html[lang="pl"] .passport-prestige-copy p{flex-shrink:0;overflow-wrap:break-word}
html[lang="pl"] .passport-prestige-copy .uk-card-toggle{flex-shrink:0;max-width:100%;white-space:normal;text-align:center}
@media(max-width:550px){
 html[lang="pl"] .passport-prestige-grid{grid-auto-rows:auto}
 html[lang="pl"] .passport-prestige-card{height:auto;min-height:0}
}

/* Centre the Polish passport service link text in the brand burgundy. */
html[lang="pl"] .passport-prestige-copy .uk-card-toggle{display:block;text-align:center;color:#8b1232}
html[lang="pl"] .passport-prestige-copy .uk-card-toggle:hover,
html[lang="pl"] .passport-prestige-copy .uk-card-toggle:focus-visible{color:#fff}

/* Polish visa buttons match the centred burgundy passport links. */
html[lang="pl"] .uk-support-card summary{height:auto}
html[lang="pl"] .uk-card-copy{height:auto;min-height:0}
html[lang="pl"] .uk-card-title,
html[lang="pl"] .uk-card-description{flex-shrink:0}
html[lang="pl"] .uk-card-copy .uk-card-toggle{flex-shrink:0;width:100%;max-width:100%;justify-content:center;white-space:nowrap;color:#8b1232;text-align:center;font-size:15px;padding:10px 12px}
html[lang="pl"] .uk-support-card summary:hover .uk-card-toggle,
html[lang="pl"] .uk-support-card summary:focus-visible .uk-card-toggle,
html[lang="pl"] .uk-support-card[open] .uk-card-toggle{color:#fff}
html[lang="pl"] .passport-prestige-copy .uk-card-toggle{white-space:nowrap}

/* Reviewed Lithuanian passport cards: one burgundy outlined link per service. */
html[lang="lt"] .uk-support-page>.uk-support-includes article>div{min-width:0}
html[lang="lt"] .uk-support-page>.uk-support-includes h3{
  overflow-wrap:normal;word-break:normal;hyphens:none;
}
html[lang="lt"] .passport-prestige-includes article>div{width:100%}
html[lang="lt"] .passport-prestige-includes h3{max-width:none;margin-bottom:10px;font-size:20px}
html[lang="lt"] .passport-prestige-includes p{font-size:16px;line-height:1.5}
html[lang="lt"] .passport-prestige-grid{grid-auto-rows:1fr;align-items:stretch}
html[lang="lt"] .passport-prestige-card{height:auto;min-height:330px}
html[lang="lt"] .passport-prestige-copy{height:auto;min-height:0}
html[lang="lt"] .passport-prestige-copy h3,
html[lang="lt"] .passport-prestige-copy p{flex-shrink:0;overflow-wrap:normal;word-break:normal;hyphens:none}
html[lang="lt"] .passport-prestige-copy .uk-card-toggle{
  display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;
  flex-shrink:0;width:100%;max-width:100%;margin-top:auto;padding:11px 12px;
  border:1px solid #8d1534;border-radius:6px;background:#fff;color:#8d1534;
  white-space:nowrap;text-align:center;text-decoration:none;
}
html[lang="lt"] .passport-prestige-copy .uk-card-toggle:hover{
  background:#8d1534;border-color:#8d1534;color:#fff;
}
html[lang="lt"] .passport-prestige-copy .uk-card-toggle:focus-visible{
  outline:2px solid #8d1534;outline-offset:3px;
}
/* Lithuanian visa category controls match the passport outline buttons. */
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-support-card summary{
  height:auto;min-height:340px;align-items:stretch;
}
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-card-copy{
  height:auto;min-height:0;
}
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-card-toggle{
  display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;
  flex-shrink:0;width:100%;max-width:100%;margin-top:auto;padding:11px 12px;
  border:1px solid #8d1534;border-radius:6px;background:#fff;color:#8d1534;
  white-space:nowrap;text-align:center;text-decoration:none;
}
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) summary:hover .uk-card-toggle,
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) summary:focus-visible .uk-card-toggle,
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-support-card[open] .uk-card-toggle{
  background:#8d1534;border-color:#8d1534;color:#fff;
}
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-card-title,
html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-card-description{
  flex-shrink:0;overflow-wrap:normal;word-break:normal;hyphens:none;
}
@media(max-width:550px){
  html[lang="lt"] .passport-prestige-grid{grid-auto-rows:auto}
  html[lang="lt"] .passport-prestige-card{height:auto;min-height:0}
  html[lang="lt"] .uk-support-page:not(.passport-prestige-page) .uk-support-card summary{min-height:0}
}
@media(max-width:550px){html[lang="pl"] .uk-support-card summary{min-height:0}}

/* Shared catalogue controls: burgundy outlines and labels in every language. */
html[lang] .uk-support-page :is(.uk-card-copy,.passport-prestige-copy) .uk-card-toggle{
  display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;
  flex-shrink:0;width:100%;max-width:100%;margin-top:auto;padding:11px 12px;
  border:1px solid #8d1534;border-radius:6px;background:#fff;color:#8d1534;
  white-space:nowrap;text-align:center;text-decoration:none;
}
html[lang] .uk-support-page .passport-prestige-copy .uk-card-toggle:hover,
html[lang] .uk-support-page .passport-prestige-copy .uk-card-toggle:focus-visible,
html[lang] .uk-support-page :is(summary:hover,summary:focus-visible,.uk-support-card[open]) .uk-card-toggle{
  background:#8d1534;border-color:#8d1534;color:#fff;
}
html[lang] .uk-support-page :is(.uk-card-copy,.passport-prestige-copy) .uk-card-toggle:focus-visible{
  outline:2px solid #8d1534;outline-offset:3px;
}
/* Passport tiles follow the visa grid: three columns, then two, then one.
   Incomplete rows start at the left instead of being centred. */
html[lang] .passport-prestige-page .passport-prestige-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;
  gap:20px;align-items:stretch;
}
html[lang] .passport-prestige-page .passport-prestige-card{
  grid-column:auto;width:auto;justify-self:stretch;height:auto;min-height:330px;
  align-items:stretch;
}
html[lang] .passport-prestige-page .passport-prestige-copy{height:auto;min-height:0}
html[lang] .passport-prestige-page .passport-prestige-copy :is(h3,p){
  flex-shrink:0;overflow-wrap:normal;word-break:normal;hyphens:none;
}
@media(max-width:1050px){
  html[lang] .passport-prestige-page .passport-prestige-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:550px){
  html[lang] .passport-prestige-page .passport-prestige-grid{grid-template-columns:1fr;grid-auto-rows:auto}
  html[lang] .passport-prestige-page .passport-prestige-card{min-height:0}
}
