/* Island Giveaway: entry panel under the quiz score, teaser, and [island_giveaway]. Uses the
   theme's colours when they exist (Island Magazine), with plain fallbacks. */
.igw-teaser { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: #fdf3cf; color: #3b2f05; font-size: 1rem; line-height: 1.5; }
.igw-teaser::before { content: "★ "; }
.igw-prize-line a { color: inherit; font-weight: 600; }
.igw-result { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.igw-result--ok, .igw-msg--ok { background: #e8f3ec; color: var(--green-dark, #244937); }
.igw-result--info { background: var(--panel, #eaf2f4); color: var(--deep, #0d303e); }
.igw-panel { margin: 22px 0 10px; padding: 22px 24px; border: 2px solid #e8c45c; border-radius: 12px; background: #fffbea; }
.igw-panel--miss { border-width: 1px; border-color: var(--panel-line, #d3e1e6); background: var(--panel, #eaf2f4); }
.igw-panel--miss p { margin: 0 0 6px; font-weight: 600; }
.igw-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.igw-prize-img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; flex: none; }
.igw-eyebrow { margin: 0; font: 700 0.8125rem/1.3 var(--sans, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: var(--green, #315f4a); }
.igw-panel h2 { margin: 2px 0 6px; }
.igw-prize, .igw-desc { margin: 0 0 4px; font-size: 1rem; }
.igw-msg:empty { display: none; }
.igw-msg { margin: 0 0 14px; padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.igw-msg--err { background: #fbe9e9; color: #8a1f1f; }
.igw-form .igw-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.igw-field { display: flex; flex-direction: column; gap: 5px; margin: 0 0 14px; }
.igw-field label { font-weight: 700; color: var(--navy, #153b4b); }
.igw-field input, .igw-field select { width: 100%; padding: 10px 12px; border: 1px solid #9aa9ad; border-radius: 6px; background: #fff; font: inherit; min-height: 0; }
.igw-help { font-size: .875rem; color: var(--muted, #4b5c5f); }
.igw-check { margin: 0 0 10px; font-size: 1rem; }
.igw-check label { display: flex; gap: 10px; align-items: flex-start; }
.igw-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.igw-optin { color: var(--muted, #4b5c5f); }
.igw-elig { font-size: .875rem; color: var(--muted, #4b5c5f); }
.igw-error { color: #8a1f1f; font-size: .9375rem; font-weight: 600; }
[aria-invalid="true"] { border-color: #a12c2c !important; box-shadow: 0 0 0 1px #a12c2c; }
.igw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.igw-cards { display: grid; gap: 22px; margin: 0 0 22px; }
.igw-cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.igw-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 12px; background: var(--panel, #eaf2f4); border: 2px solid transparent; min-width: 0; }
.igw-card.is-yours { border-color: var(--sea, #3d8ea6); }
.igw-cards--single .igw-card.has-img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.igw-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.igw-card-body .igw-actions { margin-top: auto; padding-top: 6px; }
.igw-where { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 700; color: var(--navy, #153b4b); }
.igw-yours { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--sea, #3d8ea6); color: #fff; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.igw-prize-big { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; color: var(--green-dark, #244937); }
.igw-card .igw-card-desc p { margin: 0 0 8px; }
/* Buttons keep white text even inside page content that colours links. */
.igw-show a.btn, .igw-show a.btn:visited, .igw-panel .btn, .igw-between a.btn { color: #fff; text-decoration: none; }
.igw-show a.btn:hover, .igw-show a.btn:focus-visible, .igw-between a.btn:hover { color: #fff; }
.has-island-giveaway .entry-content { max-width: none; }
.igw-card-img img { width: 100%; height: auto; border-radius: 10px; display: block; }
.igw-card h2 { margin: 4px 0 10px; }
.igw-facts { margin: 12px 0; padding: 0; list-style: none; display: grid; gap: 4px; font-weight: 600; color: var(--deep, #0d303e); }
.igw-sponsor { margin: 14px 0; }
.igw-sponsor a { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.igw-sponsor-logo { max-height: 56px; width: auto; background: #fff; border-radius: 6px; padding: 4px; }
.igw-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.igw-rules { font-weight: 600; }
.igw-winners { margin-top: 30px; }
.igw-winners ul { padding-left: 1.2em; }
.igw-none { font-size: 1.125rem; }
@media (max-width: 1023px) { .igw-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.igw-cards--grid, .igw-cards--single .igw-card.has-img { grid-template-columns: minmax(0, 1fr); }
	.igw-card { padding: 18px; }
	.igw-form .igw-row { grid-template-columns: minmax(0, 1fr); }
	.igw-head { flex-direction: column; }
}
.igw-between { padding: 24px; border-radius: 12px; background: var(--panel, #eaf2f4); }
.igw-between h2 { margin: 0 0 6px; }
.igw-between h3 { margin: 18px 0 6px; font-size: 1.125rem; }
.igw-next { margin: 0; font-weight: 600; }
.igw-steps { margin: 0 0 16px; padding-left: 1.3em; }
.igw-steps li { margin: 4px 0; }
.igw-yours[hidden] { display: none; }
.igw-show .igw-facts { padding-left: 0; margin-left: 0; list-style: none; }
.igw-show .igw-card h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; margin: 6px 0 8px; }
