/* CykelGrøn-casen: bruger case.css og skifter til kampagnens farver
   (fra style tile: grøn #38761d, petrol #357573, orange #fdb456) */
.cg {
    --nb-green: #38761d;
    --nb-green-dark: #1f4d4a;
    --nb-sand: #fbf1de;
    --nb-accent: #fdb456;
    --nb-accent-text: #9a5a00;
    --nb-line: #e6d6b8;
}

.cg .nb-visual img { aspect-ratio: 16 / 10; object-fit: cover; }

/* Double Diamond: fire kort i stedet for tre */
.nb-cards--4 { grid-template-columns: repeat(4, 1fr); }
.nb-cards--4 .nb-card h3 { font-size: 24px; }

/* Designartefakter */
.cg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.cg-shot {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.cg-shot img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid var(--nb-line);
}
.cg-shot--wide { grid-column: span 2; }
.cg-shot--wide img { object-fit: contain; background: #fff; }
.cg-shot--logo img { object-fit: contain; padding: 40px; background: #fff; }
.cg-shot figcaption {
    padding: 14px 18px 18px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--nb-muted);
}
.cg-shot figcaption strong { color: var(--nb-ink); }

@media (max-width: 960px) {
    .nb-cards--4 { grid-template-columns: repeat(2, 1fr); }
    .cg-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .nb-cards--4,
    .cg-gallery { grid-template-columns: 1fr; }
    .cg-shot--wide { grid-column: auto; }
    .cg-shot img { height: auto; max-height: 420px; }
}
