/* ===== Publishing Page (compact override) ===== */
.pub-hero {
    padding: 72px 0 56px !important;
}

.pub-hero .info-banner {
    max-width: 900px;
}

.pub-hero .info-banner h3 {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #01354a;
    letter-spacing: -0.5px;
}

.pub-hero .info-banner h3 span {
    background: #fbce5b;
    border-radius: 28px;
    padding: 2px 14px;
    display: inline-block;
    line-height: 1.2;
    font-family: 'degular';
}

.pub-hero .info-banner h6 {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2f2f2f;
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    max-width: 820px;
    margin-bottom: 12px;
}

.pub-hero .info-banner .pub-hero-text,
.our-banner.pub-hero .info-banner p.pub-hero-text {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #2f2f2f !important;
    font-weight: 400 !important;
    max-width: 820px;
    width: 100%;
    margin: 0 0 20px !important;
}

.pub-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-outline-pub {
    background: transparent !important;
    color: #01354a !important;
    border: 2px solid #01354a !important;
    border-radius: 40px;
    padding: 10px 24px;
    font-family: 'degular-semi';
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline-pub:hover {
    background: #01354a !important;
    color: #fbce5b !important;
}

.pub-hero .info-banner .pub-hero-note,
.our-banner.pub-hero .info-banner p.pub-hero-note {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #0e605d !important;
    font-weight: 400 !important;
    font-style: italic;
    width: 100%;
    max-width: 820px;
    margin: 0 !important;
}

.pub-block {
    padding: 52px 0;
    position: relative;
    z-index: 2;
}

.pub-head {
    max-width: 780px;
    margin: 0 auto 28px;
}

.pub-head.text-center {
    text-align: center;
}

.pub-head h2,
.pub-intro-copy h2,
.pub-platforms-box h2,
.pub-rights-box h2,
.pub-quote-box h2,
.pub-important-box h2 {
    margin-bottom: 12px;
    font-size: 2.6rem;
    line-height: 1.2;
}

.pub-head h2::after,
.pub-intro-copy h2::after,
.pub-platforms-box h2::after,
.pub-rights-box h2::after,
.pub-quote-box h2::after,
.pub-important-box h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg, #fbce5b 0%, #0e605d 100%);
    margin-top: 10px;
    border-radius: 4px;
}

.pub-head.text-center h2::after,
.pub-platforms-box h2::after,
.pub-rights-box h2::after,
.pub-quote-box h2::after,
.pub-important-box h2::after {
    margin-left: auto;
    margin-right: auto;
}

.pub-head > p,
.pub-intro-copy p,
.pub-service-card p,
.pub-format-card p,
.pub-platforms-box > p,
.pub-need-card p,
.pub-rights-copy p,
.pub-support-card p,
.pub-quote-box p,
.pub-important-box p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #2f2f2f;
    margin-bottom: 10px;
}

.pub-intro-copy strong {
    color: #01354a;
}

.pub-intro-media {
    position: relative;
    max-width: 420px;
    margin-left: auto;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #e8f3f2;
    box-shadow: 0 16px 36px rgba(1, 55, 75, 0.12);
}

.pub-intro-media::before {
    display: none;
}

.pub-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.pub-services {
    background: linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
}

.pub-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pub-service-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 0;
    height: auto;
    box-shadow: 0 8px 22px rgba(1, 55, 75, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pub-service-card:hover {
    border-color: rgba(12, 104, 111, 0.28);
    box-shadow: 0 12px 28px rgba(1, 55, 75, 0.08);
    transform: translateY(-3px);
}

.pub-num {
    display: inline-block;
    font-family: 'degular-semi';
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: #0e605d;
    background: rgba(251, 206, 91, 0.35);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.pub-service-card h4 {
    color: #01354a;
    font-size: 1.25rem;
    font-family: 'degular-semi';
    margin-bottom: 8px;
    padding: 0;
}

.pub-service-card p {
    padding: 0;
    margin-bottom: 0;
}

.pub-service-wide {
    grid-column: span 3;
    padding: 24px 26px;
}

.pub-service-wide ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 14px;
}

.pub-service-wide ul li {
    position: relative;
    padding-left: 14px;
    font-size: 0.98rem;
    color: #2f2f2f;
}

.pub-service-wide ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbce5b;
}

.pub-format-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pub-format-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 0;
    height: auto;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pub-format-card:hover {
    border-color: rgba(12, 104, 111, 0.28);
    box-shadow: 0 12px 28px rgba(1, 55, 75, 0.08);
    transform: translateY(-3px);
}

.pub-format-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4faf9;
    border-radius: 16px;
}

.pub-format-icon img,
.pub-format-card img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0;
}

.pub-format-card h4 {
    color: #01354a;
    font-size: 1.35rem;
    font-family: 'degular-semi';
    margin-bottom: 8px;
}

.pub-note {
    font-size: 0.98rem;
    color: #2f2f2f;
    font-style: italic;
    max-width: 780px;
    margin: 18px auto 0;
}

.pub-platforms {
    background: #f7fbfb;
}

.pub-platforms-box {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 22px;
    padding: 32px 34px;
    box-shadow: 0 10px 28px rgba(1, 55, 75, 0.04);
    text-align: center;
}

.pub-platform-list {
    list-style: none;
    margin: 16px 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    text-align: left;
}

.pub-platform-list li {
    background: #f7fbfb;
    border: 1px solid rgba(1, 53, 74, 0.08);
    border-radius: 12px;
    padding: 11px 12px 11px 30px;
    position: relative;
    font-size: 0.95rem;
    color: #01354a;
    font-weight: 600;
}

.pub-platform-list li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0e605d;
}

.pub-disclaimer {
    background: rgba(1, 53, 74, 0.04);
    border-left: 3px solid #fbce5b;
    border-radius: 0 12px 12px 0;
    padding: 14px 16px;
    text-align: left;
}

.pub-disclaimer p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.pub-disclaimer p:last-child {
    margin-bottom: 0;
}

.pub-process {
    margin: 12px 24px;
}

.pub-process .info-genre p {
    color: #d8f0ef;
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

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

.pub-need-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 20px;
    padding: 26px 24px;
    height: auto;
    box-shadow: 0 8px 22px rgba(1, 55, 75, 0.04);
}

.pub-need-alt {
    background: linear-gradient(145deg, #012a3a 0%, #01354a 50%, #0a5c5a 100%);
    border-color: transparent;
}

.pub-need-card h3 {
    color: #01354a;
    font-size: 1.55rem;
    font-family: 'degular-semi';
    margin-bottom: 10px;
}

.pub-need-card ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.pub-need-card ul li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
    font-size: 0.98rem;
    color: #2f2f2f;
}

.pub-need-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbce5b;
}

.pub-need-card.pub-need-alt h3 {
    color: #fff;
}

.pub-need-card.pub-need-alt p,
.pub-need-card.pub-need-alt ul li {
    color: #d8f0ef;
}

.pub-rights-box {
    background: #f7fbfb;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 22px;
    padding: 32px 36px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.pub-rights-copy {
    max-width: 760px;
    margin: 0 auto;
}

.pub-quote-box {
    background: linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 22px;
    padding: 32px 34px;
    box-shadow: 0 10px 28px rgba(1, 55, 75, 0.05);
    text-align: center;
}

.pub-quote-box ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    text-align: left;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pub-quote-box ul li {
    position: relative;
    padding-left: 14px;
    font-size: 0.98rem;
    color: #2f2f2f;
}

.pub-quote-box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e605d;
}

.pub-important-box {
    background: linear-gradient(145deg, #012a3a 0%, #01354a 50%, #0a5c5a 100%);
    border-radius: 22px;
    padding: 34px 36px;
    color: #fff;
    text-align: center;
}

.pub-important-box h2 {
    color: #fff;
    margin-bottom: 12px;
}

.pub-important-box h2 span {
    color: #fbce5b;
}

.pub-important-box h2::after {
    background: linear-gradient(90deg, #fbce5b 0%, transparent 100%);
}

.pub-important-box p,
.pub-important-box li {
    color: #d8f0ef;
}

.pub-important-box ul {
    list-style: none;
    margin: 0 auto 14px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    text-align: left;
    max-width: 720px;
}

.pub-important-box ul li {
    position: relative;
    padding-left: 14px;
    font-size: 0.98rem;
}

.pub-important-box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbce5b;
}

.pub-support-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.pub-support-card {
    background: #fff;
    border: 1px solid rgba(1, 53, 74, 0.1);
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 0;
    height: auto;
    grid-column: span 2;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pub-support-grid .pub-support-card:nth-child(4) {
    grid-column: 2 / 4;
}

.pub-support-grid .pub-support-card:nth-child(5) {
    grid-column: 4 / 6;
}

.pub-support-card:hover {
    border-color: rgba(12, 104, 111, 0.28);
    box-shadow: 0 12px 28px rgba(1, 55, 75, 0.08);
    transform: translateY(-3px);
}

.pub-support-card h4 {
    color: #01354a;
    font-size: 1.2rem;
    font-family: 'degular-semi';
    margin-bottom: 8px;
}

.pub-faq {
    padding-top: 28px;
    padding-bottom: 36px;
}

@media (max-width: 991px) {
    .pub-hero {
        padding: 56px 0 40px !important;
    }

    .pub-hero .info-banner h3 {
        font-size: 2.6rem;
    }

    .pub-block {
        padding: 40px 0;
    }

    .pub-head h2,
    .pub-intro-copy h2,
    .pub-platforms-box h2,
    .pub-rights-box h2,
    .pub-quote-box h2,
    .pub-important-box h2 {
        font-size: 2.15rem;
    }

    .pub-intro-media {
        margin: 18px auto 0;
        max-width: 340px;
        aspect-ratio: 1 / 1;
    }

    .pub-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-service-wide {
        grid-column: span 2;
    }

    .pub-service-wide ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-format-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pub-platform-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-need-grid {
        grid-template-columns: 1fr;
    }

    .pub-support-grid {
        grid-template-columns: 1fr;
    }

    .pub-support-card,
    .pub-support-grid .pub-support-card:nth-child(4),
    .pub-support-grid .pub-support-card:nth-child(5) {
        grid-column: auto;
    }

    .pub-platforms-box,
    .pub-rights-box,
    .pub-quote-box,
    .pub-important-box {
        padding: 26px 20px;
    }

    .pub-process {
        margin: 10px 12px;
    }
}

@media (max-width: 575px) {
    .pub-hero .info-banner h3 {
        font-size: 2.2rem;
    }

    .pub-hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .pub-service-grid {
        grid-template-columns: 1fr;
    }

    .pub-service-wide {
        grid-column: span 1;
    }

    .pub-service-wide ul,
    .pub-platform-list,
    .pub-quote-box ul,
    .pub-important-box ul {
        grid-template-columns: 1fr;
    }
}
