.wfk-catch {
    --wfk-accent: #4ea3d7;
    --wfk-text: #242424;
    --wfk-muted: #bdbdbd;
    --wfk-link: #43381d;

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    color: var(--wfk-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    text-align: center;
    letter-spacing: 0 !important;
    box-shadow: none;
}

.wfk-catch *:not(.wfk-catch__title),
.wfk-catch *::before,
.wfk-catch *::after {
    box-sizing: border-box;
    font-family: inherit !important;
    letter-spacing: 0 !important;
}


.wfk-catch__icon {
    width: 96px;
    height: 68px;
    margin: 0 auto 0.65em;
}

.wfk-catch__icon-mask {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--wfk-accent);
    -webkit-mask: var(--wfk-icon) center / contain no-repeat;
    mask: var(--wfk-icon) center / contain no-repeat;
}

.wfk-catch__primary {
    display: grid;
    justify-items: center;
    flex: 0 0 auto;
}

.wfk-catch__place {
    margin-bottom: 0.15em;
    color: var(--wfk-muted);
    font-size: min(var(--wfk-place-size, 1.75em), 1.75em);
    font-weight: 700;
    line-height: 1.15;
}

.wfk-catch__value {
    display: block;
    color: var(--wfk-accent);
    font-size: min(var(--wfk-value-size, 3.75em), 3.75em);
    font-weight: 700;
    line-height: 0.95;
}

.wfk-catch__unit {
    display: block;
    margin-top: 0.2em;
    margin-bottom: 0.35em;
    color: var(--wfk-muted);
    font-size: min(var(--wfk-unit-size, 1.32em), 1.32em);
    font-weight: 700;
    line-height: 1.1;
}

.wfk-catch__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 22px 0 16px;
    padding: 0 18px;
}

.wfk-catch__item {
    display: grid;
    grid-template-areas:
        "heading"
        "value"
        "date";
    align-items: center;
    justify-content: center;
    row-gap: 8px;
    min-width: 0;
}

.wfk-catch__item--empty {
    visibility: hidden;
}

.wfk-catch__heading {
    grid-area: heading;
    display: grid;
    justify-items: center;
    row-gap: 5px;
    width: 100%;
    text-align: center;
}

.wfk-catch__waves {
    display: block;
    width: 34px;
    height: 18px;
    color: var(--wfk-accent);
    line-height: 1;
}

.wfk-catch__waves::before {
    content: "≋";
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 0.55;
}

.wfk-catch__species {
    white-space: nowrap;
    color: var(--wfk-muted);
    font-size: min(var(--wfk-meta-size, 0.9em), 0.9em);
    font-weight: 800;
    line-height: 1.05;
}

.wfk-catch__item strong {
    grid-area: value;
    color: var(--wfk-accent);
    font-size: min(var(--wfk-small-size, 1.28em), 1.28em);
    font-weight: 800;
    line-height: 1;
}

.wfk-catch__date {
    grid-area: date;
    color: #9f9f9f;
    font-size: calc(min(var(--wfk-meta-size, 0.9em), 0.9em) * 0.72);
    font-weight: 400;
    line-height: 1;
}

.wfk-catch__source {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 1.5em;
    color: #5c5c5c;
    font-size: calc(min(var(--wfk-meta-size, 0.9em), 0.9em) * 0.82);
    font-weight: 400;
    line-height: 1.35;
}

.wfk-catch__source a {
    color: var(--wfk-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wfk-catch__source time,
.wfk-catch__source span {
    display: block;
}

.wfk-catch--error {
    padding: 28px;
}

.wfk-catch--error p {
    margin: 0;
    color: #5a281c;
    font-size: 1.1rem;
    line-height: 1.4;
}

@media (max-width: 520px) {
    .wfk-catch__list {
        gap: 10px;
        padding: 0 16px;
    }
}

/* Enkel grunddesign: samma rader (i em), samma höjd, läsbara storlekar i alla Winterkvist-widgetar. */
.wfk-catch { container-type: inline-size; }
.wfk-catch .wk-fit {
    font-size: 18px;
    font-size: min(18px, 4.5cqw);
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 4.4em 2.2em 4em 1.8em 1.8em 9.2em minmax(5.8em,auto);
    justify-items: center;
    align-content: start;
}
.wfk-catch__title { color: var(--wfw-title-color, #555555) !important; grid-row: 1; }
.wfk-catch__icon { grid-row: 2; }
.wfk-catch__place { grid-row: 3; }
.wfk-catch__value { grid-row: 4; }
.wfk-catch__unit { grid-row: 5; }
.wfk-catch__list { grid-row: 7; align-self: start; width: 100%; margin: 0; padding: 0 1em; gap: 0.6em; }
.wfk-catch__source { grid-row: 8; align-self: start; padding-top: 0; margin-top: 0; }
.wfk-catch__icon, .wfk-catch__place, .wfk-catch__value, .wfk-catch__unit {
    display: flex; align-items: center; justify-content: center; margin: 0; line-height: 1; width: 100%; height: auto; min-height: 0; align-self: stretch;
}
.wfk-catch__item { min-width: 0; row-gap: 0.45em; }
@supports (width: 1cqw) {
    .wfk-catch__place { font-size: min(var(--wfk-place-size, 1.75em), 11cqw); }
    .wfk-catch__value { font-size: min(var(--wfk-value-size, 3.75em), 23cqw); }
    .wfk-catch__unit { font-size: min(var(--wfk-unit-size, 1.32em), 8.5cqw); }
}
.wfk-catch__primary { display: contents; }
.wfk-catch__icon { width: 100%; }
.wfk-catch__icon-mask { width: 5.3em; height: 3.8em; }
.wfk-catch__heading { row-gap: 0.3em; }
.wfk-catch__waves { display: flex; align-items: center; justify-content: center; width: 2.8em; height: 2em; margin: 0 auto; color: var(--wfk-accent); line-height: 1; }
.wfk-catch__waves::before { content: "≋"; display: block; font-size: 2em; font-weight: 700; line-height: 1; transform: translateY(-0.08em); }
@supports (width: 1cqw) {
    .wfk-catch__species { font-size: min(var(--wfk-meta-size, 0.9em), 5.5cqw); }
    .wfk-catch__item strong { font-size: min(var(--wfk-small-size, 1.28em), 7.2cqw); white-space: nowrap; }
    .wfk-catch__date { font-size: min(calc(var(--wfk-meta-size, 0.9em) * 0.72), 4cqw); white-space: nowrap; }
    .wfk-catch__source { font-size: min(calc(var(--wfk-meta-size, 0.9em) * 0.82), 4.6cqw); }
}

/* Rubrik från pluginets inställningar: vänsterställd, temats rubrikfont, samma höjd i alla widgetar. */
.wfk-catch__title { grid-row: 1; justify-self: start; width: 100%; margin: 0 0 0.6em; padding: 0; text-align: left; font-size: var(--wfk-title-size, 2em); line-height: 1.15; }

.wfk-catch .wk-fit .wfk-catch__title { justify-self: start !important; width: 100% !important; margin: 0 0 0.6em !important; padding: 0 !important; text-indent: 0 !important; text-align: left !important; font-size: var(--wfk-title-size, 2em) !important; line-height: 1.15 !important; }
@supports (width: 1cqw) { .wfk-catch__heading { font-size: min(var(--wfk-meta-size, 0.9em), 5.5cqw); line-height: 1.05; padding-bottom: 0.33em; } }

.wfk-catch .wk-fit { padding-bottom: 1.5em; }
.wfk-catch .wk-fit .wfk-catch__species { font-weight: 700 !important; color: #bdbdbd !important; }
