:root {
    --cgnet-ink: #18211f;
    --cgnet-muted: #66716d;
    --cgnet-paper: #f6f1e8;
    --cgnet-card: rgba(255, 252, 244, 0.86);
    --cgnet-line: rgba(24, 33, 31, 0.12);
    --cgnet-sea: #0f766e;
    --cgnet-sun: #e9a83a;
    --cgnet-rust: #b4532a;
    --cgnet-shadow: 0 24px 80px rgba(24, 33, 31, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--cgnet-ink);
    font-family: "Trebuchet MS", "Lucida Sans Unicode", Verdana, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(233, 168, 58, 0.35), transparent 28rem),
        radial-gradient(circle at 90% 5%, rgba(15, 118, 110, 0.22), transparent 30rem),
        linear-gradient(135deg, #fbf3df 0%, #edf7f2 52%, #f7ead7 100%);
    min-height: 100vh;
}

a {
    color: inherit;
}

.cgnet-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.cgnet-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 44px;
    position: relative;
}

.cgnet-hero__copy,
.cgnet-search,
.cgnet-card,
.cgnet-panel,
.cgnet-contests {
    border: 1px solid var(--cgnet-line);
    background: var(--cgnet-card);
    box-shadow: var(--cgnet-shadow);
    backdrop-filter: blur(18px);
}

.cgnet-hero__copy {
    width: min(920px, 100%);
    min-height: unset;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 38px;
    position: relative;
    overflow: hidden;
}

.cgnet-hero__copy:after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border-radius: 45%;
    border: 44px solid rgba(15, 118, 110, 0.09);
    transform: rotate(18deg);
}

.cgnet-kicker {
    margin: 0 0 12px;
    color: var(--cgnet-rust);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.04em;
}

h1 {
    position: relative;
    margin: 0;
    max-width: 780px;
    font-size: clamp(3.1rem, 8vw, 7.3rem);
    line-height: 0.86;
    z-index: 1;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 0.95;
}

h3 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.02;
}

.cgnet-lead {
    position: relative;
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--cgnet-muted);
    font-size: 1.18rem;
    line-height: 1.65;
    z-index: 1;
}

.cgnet-search {
    align-self: auto;
    justify-self: start;
    position: relative;
    z-index: 3;
    width: min(760px, 100%);
    margin-top: 0;
    padding: 28px;
    border-radius: 30px;
    overflow: hidden;
}

.cgnet-search:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 100% 0%, rgba(15, 118, 110, 0.18), transparent 16rem),
        linear-gradient(135deg, rgba(255, 252, 244, 0.96), rgba(246, 241, 232, 0.88));
    pointer-events: none;
    z-index: -1;
}

.cgnet-search label {
    display: block;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cgnet-search__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.cgnet-search input,
.cgnet-search button {
    min-height: 56px;
    border-radius: 18px;
    font: inherit;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cgnet-search input {
    width: 100%;
    border: 2px solid rgba(15, 118, 110, 0.65);
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--cgnet-ink);
    outline-color: var(--cgnet-sea);
}

.cgnet-search input:focus {
    background: #fffdf7;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}

.cgnet-search button,
.cgnet-primary-link {
    border: 0;
    padding: 0 28px;
    background: var(--cgnet-ink);
    color: #fffaf0;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.cgnet-search button {
    box-shadow: 0 14px 30px rgba(24, 33, 31, 0.18);
}

.cgnet-search button:hover {
    background: #0f1a17;
    transform: translateY(-1px);
}

.cgnet-search__hint {
    margin: 15px 0 0;
    color: var(--cgnet-muted);
    font-size: 0.92rem;
}

.cgnet-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cgnet-search__chips a {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--cgnet-ink);
    font-size: 0.84rem;
    font-weight: 900;
    padding: 8px 12px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cgnet-search__chips a:hover {
    border-color: rgba(15, 118, 110, 0.48);
    background: rgba(15, 118, 110, 0.1);
    transform: translateY(-1px);
}

.cgnet-section-heading {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.cgnet-section-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.cgnet-sort {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 46px;
    padding: 6px 8px 6px 16px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    background: rgba(255, 252, 244, 0.7);
    box-shadow: 0 14px 36px rgba(24, 33, 31, 0.09);
    position: relative;
}

.cgnet-sort:after {
    content: "";
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fffaf0;
    border-bottom: 2px solid #fffaf0;
    pointer-events: none;
    transform: rotate(45deg) translateY(-2px);
}

.cgnet-sort span {
    color: var(--cgnet-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cgnet-sort select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: var(--cgnet-ink);
    color: #fffaf0;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    outline-color: var(--cgnet-sea);
    padding: 0 46px 0 16px;
}

.cgnet-sort select::-ms-expand {
    display: none;
}

.cgnet-count {
    margin: 0;
    color: var(--cgnet-muted);
    font-weight: 800;
}

.cgnet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.cgnet-card {
    min-height: 280px;
    border-radius: 30px;
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cgnet-card:hover {
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 30px 90px rgba(24, 33, 31, 0.2);
    transform: translateY(-3px);
}

.cgnet-card__link {
    display: grid;
    grid-template-columns: 236px 1fr;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.cgnet-card__link:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.42);
    outline-offset: 4px;
}

.cgnet-card__link:hover h3 {
    color: #0f766e;
}

.cgnet-card__media {
    position: relative;
    display: block;
    min-height: 100%;
    padding: 18px;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.11), rgba(233, 168, 58, 0.2));
}

.cgnet-logo {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    overflow: hidden;
    z-index: 2;
}

.cgnet-logo__text {
    position: relative;
    z-index: 1;
}

.cgnet-logo img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    background: #fff;
}

.cgnet-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    height: 100%;
}

.cgnet-preview-grid img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 102px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(24, 33, 31, 0.12);
    transition: transform 220ms ease;
}

.cgnet-card:hover .cgnet-preview-grid img:not(.cgnet-preview-image--contain):not(.cgnet-preview-image--wide) {
    transform: scale(1.025);
}

.cgnet-preview-grid img.cgnet-preview-image--wide {
    align-self: center;
    height: auto;
    justify-self: center;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
}

.cgnet-preview-grid img.cgnet-preview-image--contain,
.cgnet-featured-card__media img.cgnet-preview-image--contain,
.cgnet-related-card__media img.cgnet-preview-image--contain {
    background:
        repeating-linear-gradient(135deg, rgba(24, 33, 31, 0.035) 0 4px, transparent 4px 8px),
        linear-gradient(145deg, rgba(255, 252, 244, 0.82), rgba(237, 247, 242, 0.72));
    object-fit: scale-down;
    padding: 18px;
}

.cgnet-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.cgnet-site {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--cgnet-rust);
    font-weight: 900;
}

.cgnet-site span {
    color: var(--cgnet-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.cgnet-card__body h3 {
    margin: 0;
    color: var(--cgnet-ink);
    transition: color 160ms ease;
}

.cgnet-card__body p {
    margin: 0;
    color: var(--cgnet-muted);
    line-height: 1.55;
}

.cgnet-stats,
.cgnet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.cgnet-stats span,
.cgnet-tags span {
    border: 1px solid var(--cgnet-line);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--cgnet-ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.cgnet-back {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 252, 244, 0.9), rgba(237, 247, 242, 0.78)),
        radial-gradient(circle at 20% 20%, rgba(233, 168, 58, 0.22), transparent 18rem);
    border: 1px solid rgba(24, 33, 31, 0.14);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(24, 33, 31, 0.13);
    color: var(--cgnet-ink);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 900;
    gap: 12px;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    min-height: 54px;
    padding: 0 22px 0 14px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.cgnet-back:before {
    align-items: center;
    background: var(--cgnet-ink);
    border-radius: 50%;
    color: #fffaf0;
    content: "<";
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.cgnet-back:hover {
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 24px 64px rgba(24, 33, 31, 0.18);
    transform: translateY(-2px);
}

.cgnet-back:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.28);
    outline-offset: 4px;
}

.cgnet-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
}

.cgnet-detail-visual {
    position: relative;
    min-height: 430px;
    border: 1px solid var(--cgnet-line);
    border-radius: 38px;
    padding: 24px;
    background: rgba(255, 252, 244, 0.68);
    box-shadow: var(--cgnet-shadow);
}

.cgnet-logo--large {
    width: 86px;
    height: 86px;
    border-radius: 28px;
    font-size: 2.3rem;
}

.cgnet-logo--panel {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 0 18px;
}

.cgnet-preview-grid--large {
    height: 100%;
    min-height: 382px;
}

.cgnet-primary-link {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    margin-top: 24px;
    border-radius: 18px;
}

.cgnet-detail-panels {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    margin: 28px 0;
}

.cgnet-panel,
.cgnet-contests {
    border-radius: 30px;
    padding: 28px;
}

.cgnet-big-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.cgnet-big-stats span {
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--cgnet-muted);
    font-weight: 900;
}

.cgnet-big-stats strong {
    display: block;
    color: var(--cgnet-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.cgnet-contest-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cgnet-contest-list article {
    border: 1px solid var(--cgnet-line);
    border-radius: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.58);
}

.cgnet-contest-list span {
    color: var(--cgnet-rust);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cgnet-contest-list p {
    color: var(--cgnet-muted);
    font-weight: 800;
}

.cgnet-gallery-sections {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.cgnet-gallery-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 26px;
    align-items: stretch;
    border: 1px solid var(--cgnet-line);
    border-radius: 34px;
    padding: clamp(22px, 4vw, 34px);
    background: rgba(255, 252, 244, 0.78);
    box-shadow: var(--cgnet-shadow);
    overflow: hidden;
}

.cgnet-gallery-detail-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cgnet-gallery-detail-copy h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -0.07em;
    line-height: 0.95;
}

.cgnet-gallery-detail-copy .cgnet-lead {
    margin-bottom: 18px;
}

.cgnet-gallery-detail-copy .cgnet-primary-link {
    margin-top: 22px;
}

.cgnet-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.cgnet-action-row .cgnet-primary-link {
    margin-top: 0;
}

.cgnet-secondary-link {
    align-items: center;
    border: 1px solid rgba(24, 33, 31, 0.16);
    border-radius: 999px;
    color: var(--cgnet-ink);
    display: inline-flex;
    font-weight: 800;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
}

.cgnet-secondary-link:hover {
    background: rgba(255, 252, 244, 0.72);
}

.cgnet-gallery-detail-visual {
    border: 1px solid var(--cgnet-line);
    border-radius: 28px;
    padding: 16px;
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.1), rgba(233, 168, 58, 0.22));
}

.cgnet-preview-grid--gallery {
    min-height: 300px;
}

.cgnet-gallery-page .cgnet-detail-hero h1 {
    max-width: 840px;
}

.cgnet-preview-grid--feature {
    min-height: 420px;
}

.cgnet-preview-grid--feature img:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.cgnet-panel-note {
    color: var(--cgnet-muted);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 18px 0 0;
}

.cgnet-featured-entries {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 36px;
    margin-top: 34px;
    padding: clamp(22px, 4vw, 34px);
    background:
        radial-gradient(circle at 14% 8%, rgba(233, 168, 58, 0.26), transparent 34%),
        linear-gradient(145deg, rgba(237, 248, 244, 0.88), rgba(255, 252, 244, 0.84));
    box-shadow: var(--cgnet-shadow);
}

.cgnet-featured-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.cgnet-featured-card {
    border: 1px solid rgba(24, 33, 31, 0.12);
    border-radius: 28px;
    background: rgba(255, 252, 244, 0.86);
    box-shadow: 0 18px 48px rgba(24, 33, 31, 0.11);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cgnet-featured-card:hover {
    box-shadow: 0 24px 62px rgba(24, 33, 31, 0.16);
    transform: translateY(-3px);
}

.cgnet-featured-card__media {
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.14), rgba(233, 168, 58, 0.22));
    display: block;
}

.cgnet-featured-card__media img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.cgnet-featured-card__media img.cgnet-preview-image--contain {
    object-fit: scale-down;
}

.cgnet-featured-card__body {
    padding: 16px;
}

.cgnet-featured-card__meta {
    align-items: center;
    color: var(--cgnet-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cgnet-featured-card__meta span {
    border: 1px solid rgba(24, 33, 31, 0.1);
    border-radius: 999px;
    padding: 5px 9px;
}

.cgnet-featured-card__meta .cgnet-featured-badge {
    background: var(--cgnet-gold);
    border-color: rgba(233, 168, 58, 0.42);
    color: var(--cgnet-ink);
}

.cgnet-featured-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    letter-spacing: -0.045em;
    line-height: 1;
    margin: 0 0 10px;
}

.cgnet-featured-card h3 a {
    color: inherit;
    text-decoration: none;
}

.cgnet-featured-card p {
    color: var(--cgnet-muted);
    font-weight: 800;
    margin: 0;
}

.cgnet-related-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgnet-related-card {
    border: 1px solid var(--cgnet-line);
    border-radius: 28px;
    background: rgba(255, 252, 244, 0.72);
    box-shadow: var(--cgnet-shadow);
    overflow: hidden;
}

.cgnet-related-card__media {
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.12), rgba(233, 168, 58, 0.2));
    display: block;
    min-height: 190px;
}

.cgnet-related-card__media img {
    display: block;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.cgnet-related-card > div {
    padding: 18px;
}

.cgnet-related-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 10px;
}

.cgnet-related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.cgnet-related-card p {
    color: var(--cgnet-muted);
    font-weight: 800;
    margin: 0;
}

.cgnet-legal {
    display: block;
}

.cgnet-legal-hero {
    border: 1px solid var(--cgnet-line);
    border-radius: 38px;
    background:
        radial-gradient(circle at 95% 0%, rgba(15, 118, 110, 0.14), transparent 22rem),
        radial-gradient(circle at 0% 100%, rgba(233, 168, 58, 0.22), transparent 20rem),
        rgba(255, 252, 244, 0.86);
    box-shadow: var(--cgnet-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    padding: clamp(30px, 5vw, 62px);
    position: relative;
}

.cgnet-legal-hero h1 {
    max-width: 900px;
}

.cgnet-legal-updated {
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    color: var(--cgnet-sea);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    margin: 26px 0 0;
    padding: 9px 13px;
}

.cgnet-legal-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cgnet-legal-card {
    border: 1px solid var(--cgnet-line);
    border-radius: 28px;
    background: rgba(255, 252, 244, 0.82);
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.09);
    padding: 26px;
}

.cgnet-legal-card--wide {
    grid-column: 1 / -1;
}

.cgnet-legal-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cgnet-legal-card p {
    color: var(--cgnet-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 12px;
}

.cgnet-legal-card p:last-child {
    margin-bottom: 0;
}

.cgnet-legal-card a,
.cgnet-footer a {
    color: var(--cgnet-sea);
    font-weight: 900;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.cgnet-footer {
    border-top: 1px solid rgba(24, 33, 31, 0.12);
    color: var(--cgnet-muted);
    margin-top: 52px;
    padding-top: 24px;
}

.cgnet-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.cgnet-footer nav a {
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 999px;
    background: rgba(255, 252, 244, 0.62);
    color: var(--cgnet-ink);
    padding: 10px 13px;
    text-decoration: none;
}

.cgnet-footer nav a:hover {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.36);
}

.cgnet-footer p {
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 980px) {
    .cgnet-hero,
    .cgnet-detail-hero,
    .cgnet-detail-panels,
    .cgnet-grid,
    .cgnet-gallery-detail-card,
    .cgnet-featured-grid,
    .cgnet-related-grid,
    .cgnet-legal-grid {
        grid-template-columns: 1fr;
    }

    .cgnet-card {
        min-height: 280px;
    }

    .cgnet-card__link {
        grid-template-columns: 220px 1fr;
    }

    .cgnet-search {
        justify-self: start;
        margin-top: 0;
        width: min(760px, 100%);
    }
}

@media (max-width: 680px) {
    .cgnet-page {
        width: min(100% - 20px, 1180px);
        padding-top: 18px;
    }

    .cgnet-hero__copy,
    .cgnet-search,
    .cgnet-panel,
    .cgnet-contests {
        border-radius: 24px;
        padding: 22px;
    }

    .cgnet-hero {
        margin-bottom: 36px;
    }

    .cgnet-search {
        justify-self: stretch;
        margin-top: 16px;
        width: 100%;
    }

    .cgnet-search__row,
    .cgnet-card__link,
    .cgnet-big-stats,
    .cgnet-contest-list,
    .cgnet-gallery-detail-card {
        grid-template-columns: 1fr;
    }

    .cgnet-card__media {
        min-height: 250px;
    }

    .cgnet-search button {
        width: 100%;
    }

    .cgnet-section-heading {
        align-items: start;
        flex-direction: column;
    }

    .cgnet-section-tools {
        justify-content: flex-start;
        width: 100%;
    }

    .cgnet-sort {
        width: 100%;
        justify-content: space-between;
    }

    .cgnet-detail-visual {
        min-height: auto;
    }

    .cgnet-preview-grid--gallery {
        min-height: 230px;
    }

    .cgnet-featured-entries {
        border-radius: 24px;
        padding: 22px;
    }
}
