/* Isla Perttula Corporation — Investor Relations website
   Template: IR vendor "Meridian 960" package, 2011 refresh. Mobile retrofit 2013.
   See docs/design-tokens.md section 2. */

:root {
  --pci-navy: #1E3558;
  --sulphur: #E1B81C;
  --steel: #5F6B75;
  --rail: #E7EBEF;
  --link: #1A4D96;
  --body: #2B2B2B;
}

html { background: #C9D1D8 linear-gradient(to bottom, #C9D1D8 0, #EEF1F3 420px) no-repeat; background-color: #EEF1F3; }
body { margin: 0; padding: 18px 0 30px; font: 12px/1.55 Verdana, Geneva, "DejaVu Sans", sans-serif; color: var(--body); }
a { color: var(--link); }
a:visited { color: #5A3F8C; }
a:hover { color: #0B2E63; }
:focus { outline: 2px dotted var(--pci-navy); outline-offset: 2px; }
img { border: 0; max-width: 100%; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; color: var(--pci-navy); }
h1 { font-size: 22px; margin: 0 0 12px; line-height: 1.2; }
h2 { font-size: 17px; margin: 22px 0 8px; }
h3 { font-size: 14px; margin: 18px 0 6px; font-weight: bold; }
h4 { font: bold 12px Arial, Helvetica, sans-serif; margin: 14px 0 4px; }
p { margin: 0 0 10px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 4px; background: #fff; padding: 4px 8px; z-index: 99; }

#page { width: 960px; margin: 0 auto; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .18); }

/* Header */
#header { position: relative; height: 96px; }
#logo { position: absolute; left: 20px; top: 18px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
#logo svg { width: 58px; height: 58px; display: block; }
#logo .name { font: bold 17px/1.1 Arial, Helvetica, sans-serif; color: var(--pci-navy); letter-spacing: 1px; }
#logo .name small { display: block; font: 11px Arial, Helvetica, sans-serif; letter-spacing: 0; color: var(--steel); margin-top: 3px; }
#utility { position: absolute; right: 20px; top: 8px; font-size: 11px; color: var(--steel); }
#utility a { color: var(--steel); text-decoration: none; }
#utility a:hover { text-decoration: underline; }
#quote { position: absolute; right: 20px; top: 32px; width: 188px; border: 1px solid #C5CDD4; background: linear-gradient(#fff, #F1F4F6); padding: 6px 8px; font: 11px Arial, Helvetica, sans-serif; }
#quote .sym { font-weight: bold; color: var(--pci-navy); }
#quote .px { font: bold 16px Arial, Helvetica, sans-serif; }
#quote .dn { color: #A1261A; }
#quote .up { color: #1D6B2E; }
#quote .delay { color: var(--steel); font-size: 10px; }

/* Navigation bar with dropdowns (hover and keyboard) */
#nav { background: var(--pci-navy); border-bottom: 2px solid var(--sulphur); position: relative; z-index: 10; }
#nav > ul { list-style: none; margin: 0; padding: 0 0 0 10px; display: flex; }
#nav > ul > li { position: relative; }
#nav > ul > li > a { display: block; padding: 9px 12px 8px; color: #fff; font: bold 12px Arial, Helvetica, sans-serif; text-decoration: none; border-right: 1px solid #36507A; }
#nav > ul > li:first-child > a { border-left: 1px solid #36507A; }
#nav > ul > li > a:hover, #nav > ul > li:focus-within > a, #nav > ul > li.on > a { background: #2C4A77; }
#nav ul ul { display: none; position: absolute; left: 0; top: 100%; min-width: 210px; background: #fff; border: 1px solid #B9C3CC; border-top: 0; list-style: none; margin: 0; padding: 4px 0; box-shadow: 2px 2px 3px rgba(0, 0, 0, .15); }
#nav li:hover > ul, #nav li:focus-within > ul { display: block; }
#nav ul ul a { display: block; padding: 4px 12px; font: 12px Arial, Helvetica, sans-serif; color: var(--link); text-decoration: none; }
#nav ul ul a:hover, #nav ul ul a:focus { background: var(--rail); text-decoration: underline; }
#jump { display: none; }

#crumbs { font-size: 11px; color: var(--steel); padding: 8px 20px; border-bottom: 1px solid #E3E7EA; }
#crumbs a { color: var(--steel); }

/* Three columns */
#cols { display: flex; padding: 16px 20px 24px; gap: 20px; }
#left { width: 180px; flex: none; }
#content { flex: 1; min-width: 0; }
#right { width: 190px; flex: none; }
#cols.wide #content { width: auto; }

.tree { background: var(--rail); border: 1px solid #C5CDD4; }
.tree h3 { margin: 0; padding: 6px 10px; font: bold 12px Arial, Helvetica, sans-serif; color: #fff; background: linear-gradient(#34507D, var(--pci-navy)); }
.tree ul { list-style: none; margin: 0; padding: 4px 0 6px; }
.tree li a { display: block; padding: 3px 10px 3px 18px; text-decoration: none; font-size: 11px; position: relative; }
.tree li a::before { content: "+"; position: absolute; left: 8px; color: var(--steel); }
.tree li a:hover { text-decoration: underline; }
.tree li.on > a { font-weight: bold; color: var(--body); }
.tree li.on > a::before { content: "\2013"; }
.tree ul ul { padding: 0 0 2px 10px; }

.box { border: 1px solid #C5CDD4; margin-bottom: 14px; }
.box h3 { margin: 0; padding: 5px 8px; font: bold 12px Arial, Helvetica, sans-serif; color: var(--pci-navy); background: linear-gradient(#F7F9FA, #DFE5EA); border-bottom: 1px solid #C5CDD4; }
.box .in { padding: 8px; font-size: 11px; }
.box ul { margin: 0; padding: 0 0 0 14px; }
.box li { margin: 3px 0; }

/* Content idioms */
.pdf { display: inline-block; font: bold 9px/1 Arial, Helvetica, sans-serif; color: #A1261A; border: 1px solid #A1261A; padding: 1px 2px; margin-right: 5px; vertical-align: 1px; background: #fff; }
.size { color: var(--steel); font-size: 11px; }
.printer { font-size: 11px; margin-top: 20px; }
.date { color: var(--steel); font-size: 11px; }
.fls { font-size: 10px; color: var(--steel); border-top: 1px solid #DDE2E6; padding-top: 8px; margin-top: 24px; }

table.grid { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 11px; }
table.grid caption { text-align: left; font: bold 12px Arial, Helvetica, sans-serif; color: var(--pci-navy); padding-bottom: 4px; }
table.grid th { background: var(--rail); color: var(--pci-navy); text-align: left; padding: 4px 6px; border-bottom: 1px solid #B9C3CC; font-family: Arial, Helvetica, sans-serif; vertical-align: bottom; }
table.grid td { padding: 4px 6px; border-bottom: 1px solid #E3E7EA; vertical-align: top; }
table.grid tr:nth-child(even) td { background: #F5F7F9; }
table.grid .n { text-align: right; white-space: nowrap; }
table.grid tr.total td { font-weight: bold; border-top: 1px solid #8A96A1; }

.releases { list-style: none; margin: 0; padding: 0; }
.releases li { padding: 7px 0; border-bottom: 1px dotted #C5CDD4; }
.releases .date { display: block; }
.pager { margin: 12px 0; font-size: 11px; }
.pager a, .pager strong { display: inline-block; padding: 1px 5px; border: 1px solid #C5CDD4; margin-right: 2px; text-decoration: none; }
.pager strong { background: var(--pci-navy); color: #fff; border-color: var(--pci-navy); }
.filter { background: var(--rail); border: 1px solid #C5CDD4; padding: 6px 8px; margin-bottom: 10px; font-size: 11px; }
.filter select, .filter input, .filter button { font: 11px Verdana, Geneva, sans-serif; }
button, .button { font: bold 11px Arial, Helvetica, sans-serif; color: #fff; background: linear-gradient(#3A5A8A, var(--pci-navy)); border: 1px solid #14264A; padding: 3px 9px; cursor: pointer; border-radius: 2px; }

/* Home "rotating" banner: three static panels behind numbered tabs */
.banner { position: relative; height: 250px; background: var(--pci-navy); color: #fff; margin: -16px 0 14px; overflow: hidden; }
.banner .panel { position: absolute; inset: 0; display: none; background-size: cover; background-position: center; }
.banner .panel.on { display: block; }
.banner .panel .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 12px 16px; background: rgba(14, 30, 56, .78); }
.banner .panel .cap h2 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.banner .panel .cap p { margin: 0; font-size: 12px; }
.banner .panel .cap a { color: #fff; }
.banner .tabs { position: absolute; right: 10px; top: 10px; display: flex; gap: 3px; }
.banner .tabs button { width: 22px; height: 20px; padding: 0; background: rgba(255, 255, 255, .8); color: var(--pci-navy); border: 1px solid #fff; }
.banner .tabs button[aria-selected="true"] { background: var(--sulphur); color: var(--pci-navy); }
.banner .fallback { background: linear-gradient(135deg, #1E3558, #2B4D7F 60%, #1E3558); }

.homegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.leader { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dotted #C5CDD4; }
.leader .photo { width: 90px; height: 112px; background: #D9DFE4; object-fit: cover; }
.leader .ph { display: flex; align-items: center; justify-content: center; width: 90px; height: 112px; background: linear-gradient(#DDE2E6, #C8D0D6); color: #8A96A1; font: 10px Arial, sans-serif; text-align: center; }
.orgchart { font-size: 11px; }
.orgchart ul { list-style: none; padding-left: 18px; margin: 0; border-left: 1px solid #B9C3CC; }
.orgchart > ul { border: 0; padding: 0; }
.orgchart li { padding: 3px 0 3px 10px; position: relative; }
.orgchart li::before { content: ""; position: absolute; left: -18px; top: 11px; width: 24px; border-top: 1px solid #B9C3CC; }
.orgchart > ul > li::before { display: none; }
.orgchart .t { color: var(--steel); }
.chart svg { width: 100%; height: auto; display: block; border: 1px solid #C5CDD4; background: #fff; }
.alert { background: #FFFBE6; border: 1px solid #E6D48A; padding: 6px 8px; font-size: 11px; margin-bottom: 12px; }

/* Footer */
#footer { border-top: 1px solid #C5CDD4; padding: 10px 20px 14px; font-size: 11px; color: var(--steel); background: #F5F7F9; }
#footer a { color: var(--steel); }
#footer p { margin: 3px 0; }

@media (max-width: 980px) {
  body { padding: 0; }
  #page { width: auto; box-shadow: none; }
}
@media (max-width: 760px) {
  #header { height: auto; padding: 12px 12px 8px; }
  #logo, #utility, #quote { position: static; }
  #utility { margin: 8px 0; }
  #quote { width: auto; margin-top: 6px; }
  #nav > ul { display: none; }
  #jump { display: flex; gap: 6px; padding: 8px 12px; }
  #jump select { flex: 1; font: 13px Arial, sans-serif; }
  #cols { flex-direction: column; padding: 12px; }
  #left, #right { width: auto; order: 2; }
  #content { order: 1; }
  .homegrid { grid-template-columns: 1fr; }
  .banner { height: 200px; margin-top: -12px; }
  table.grid { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { #nav, #left, #right, #utility, #quote, #jump { display: none; } #page { box-shadow: none; } }
