/* ============================================================ */
/* STATUT PAGE                                                   */
/* ============================================================ */
.pgm-statut-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(0,0,0,0.04);
    margin-bottom: 3.5rem;
}

.pgm-statut-item {
    position: relative;
    background: var(--pgm-white);
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--pgm-black);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    cursor: pointer;
    animation: pgmSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pgm-statut-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--pgm-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    mix-blend-mode: multiply;
    opacity: 0.08;
    z-index: 0;
}

.pgm-statut-item:hover { transform: translateX(8px); }
.pgm-statut-item:hover::after { transform: scaleX(1); transform-origin: left; }

.pgm-statut-item:nth-child(1)  { animation-delay: 0.04s; }
.pgm-statut-item:nth-child(2)  { animation-delay: 0.07s; }
.pgm-statut-item:nth-child(3)  { animation-delay: 0.10s; }
.pgm-statut-item:nth-child(4)  { animation-delay: 0.13s; }
.pgm-statut-item:nth-child(5)  { animation-delay: 0.16s; }
.pgm-statut-item:nth-child(6)  { animation-delay: 0.19s; }
.pgm-statut-item:nth-child(7)  { animation-delay: 0.22s; }
.pgm-statut-item:nth-child(8)  { animation-delay: 0.25s; }
.pgm-statut-item:nth-child(9)  { animation-delay: 0.28s; }
.pgm-statut-item:nth-child(10) { animation-delay: 0.31s; }

.pgm-statut-idx {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.25);
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-align: right;
}

.pgm-statut-body { position: relative; z-index: 1; }

.pgm-statut-body h3 {
    font-family: var(--pgm-font);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 0 0 0.25rem 0;
    color: var(--pgm-black);
    line-height: 1.35;
}

.pgm-statut-meta {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #999;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pgm-tag-new {
    display: inline-block;
    padding: 1px 7px;
    background: var(--pgm-red);
    color: white;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    line-height: 1.6;
}

.pgm-statut-action { position: relative; z-index: 1; }

.pgm-btn-dl {
    width: 40px; height: 40px;
    border: 2px solid var(--pgm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: transparent;
    flex-shrink: 0;
    color: var(--pgm-blue);
}
.pgm-btn-dl svg { transition: all 0.3s ease; stroke: var(--pgm-blue); }
.pgm-statut-item:hover .pgm-btn-dl { background: var(--pgm-blue); }
.pgm-statut-item:hover .pgm-btn-dl svg { stroke: var(--pgm-white); }

/* ============================================================ */
/* STATUT + ISTORIA PAGES — readability polish                  */
/* ============================================================ */
.page-statut .pgm-btn-dl { border-radius: 50%; }

.page-statut .pgm-page-sidebar .pgm-mark,
.page-istoria .pgm-page-sidebar .pgm-mark {
    color: #111827;
}
.page-statut .pgm-sidebar-nav-link,
.page-istoria .pgm-sidebar-nav-link {
    color: #0f172a;
    border-bottom-color: rgba(0,0,0,0.18);
}
.page-statut .pgm-sidebar-nav-count,
.page-istoria .pgm-sidebar-nav-count {
    color: #374151;
    opacity: 0.8;
}
.page-statut .pgm-section-label,
.page-istoria .pgm-section-label {
    color: #003b8f;
    font-weight: 700;
}
.page-statut .pgm-statut-idx,
.page-istoria .pgm-statut-idx {
    color: rgba(0,0,0,0.45);
}
.page-statut .pgm-statut-meta,
.page-istoria .pgm-statut-meta {
    color: #4b5563;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    font-weight: 700;
}
.page-statut .pgm-statut-body h3,
.page-istoria .pgm-statut-body h3 {
    color: #111827;
}

/* Statut — Partners */
.pgm-statut-partners {
    background: var(--pgm-white);
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pgm-statut-partners-section { margin-bottom: 3rem; }

.pgm-statut-partners-label {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pgm-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.pgm-statut-partners-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.06);
}

.pgm-statut-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.pgm-statut-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    aspect-ratio: 3/2;
}
.pgm-statut-partner-logo:hover {
    border-color: rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.pgm-statut-partner-logo img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.pgm-statut-partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.pgm-statut-partner-logo--wide {
    grid-column: span 2;
    aspect-ratio: auto;
    padding: 1.5rem;
}
.pgm-statut-partner-logo--wide img { max-height: 70px; }

/* Statut responsive */
@media (max-width: 1024px) {
    .pgm-page-sidebar { position: relative; top: 0; }
    .pgm-statut-item { grid-template-columns: 2rem 1fr auto; padding: 1rem; gap: 1rem; }
    .pgm-btn-dl { width: 34px; height: 34px; }
    .pgm-statut-partners-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
@media (max-width: 640px) {
    .pgm-statut-item { grid-template-columns: 1fr auto; }
    .pgm-statut-idx { display: none; }
    .pgm-statut-partner-logo--wide { grid-column: span 1; }
}

/* ============================================================ */
/* COMUNICATE PAGE                                               */
/* ============================================================ */
.pgm-com-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: transparent;
    margin-bottom: 3rem;
}

.pgm-com-item {
    position: relative;
    background: var(--pgm-white);
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    align-items: start;
    gap: 1.5rem;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--pgm-black);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.04);
    animation: pgmSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pgm-com-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--pgm-blue);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
    opacity: 1;
    z-index: 2;
}

.pgm-com-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}
.pgm-com-item:hover::after { transform: scaleY(1); }

.pgm-com-item:nth-child(1)  { animation-delay: 0.04s; }
.pgm-com-item:nth-child(2)  { animation-delay: 0.07s; }
.pgm-com-item:nth-child(3)  { animation-delay: 0.10s; }
.pgm-com-item:nth-child(4)  { animation-delay: 0.13s; }
.pgm-com-item:nth-child(5)  { animation-delay: 0.16s; }
.pgm-com-item:nth-child(6)  { animation-delay: 0.19s; }
.pgm-com-item:nth-child(7)  { animation-delay: 0.22s; }
.pgm-com-item:nth-child(8)  { animation-delay: 0.25s; }
.pgm-com-item:nth-child(9)  { animation-delay: 0.28s; }
.pgm-com-item:nth-child(10) { animation-delay: 0.31s; }

.pgm-com-date {
    font-family: 'Cera Pro', sans-serif;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 1rem;
    border-right: 1px solid rgba(0,0,0,0.06);
}
.pgm-com-date-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pgm-blue);
    display: block;
    letter-spacing: -0.05em;
}
.pgm-com-date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555; /* Improved contrast */
    display: block;
    margin-top: 0.25rem;
    font-weight: 700;
}
.pgm-com-date-year {
    font-size: 0.7rem;
    color: #666; /* Improved contrast */
    display: block;
    margin-top: 0.1rem;
}

.pgm-com-body { position: relative; z-index: 1; padding-top: 0.25rem; }

.pgm-com-body h3 {
    font-family: var(--pgm-font);
    font-size: 1.15rem; /* Increased size */
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem 0;
    color: var(--pgm-black);
    line-height: 1.3;
}

.pgm-com-meta {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #666;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.pgm-com-tag {
    display: inline-block;
    padding: 3px 8px;
    background: var(--pgm-blue);
    color: white;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    line-height: 1;
    border-radius: 4px;
}

.pgm-com-excerpt {
    font-size: 0.95rem; /* Increased readable size */
    color: #444; /* Darker for better contrast */
    line-height: 1.6;
    margin-top: 0;
}

.pgm-com-action { position: relative; z-index: 1; align-self: center; }

.pgm-btn-read {
    width: 40px; height: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%; /* Circle looks more modern */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    flex-shrink: 0;
    color: var(--pgm-blue);
}
.pgm-btn-read svg { transition: all 0.3s ease; stroke: var(--pgm-blue); }
.pgm-com-item:hover .pgm-btn-read {
    background: var(--pgm-blue);
    border-color: var(--pgm-blue);
    transform: translateX(5px);
}
.pgm-com-item:hover .pgm-btn-read svg { stroke: var(--pgm-white); }

/* Stiri / Nationala list thumbnails */
.page-stiri .pgm-com-item,
.page-nationala .pgm-com-item {
    grid-template-columns: 5rem 160px 1fr auto;
    align-items: center;
}
.page-stiri .pgm-com-thumb,
.page-nationala .pgm-com-thumb {
    position: relative;
    z-index: 1;
    width: 160px;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f3f4f6;
}
.page-stiri .pgm-com-thumb img,
.page-nationala .pgm-com-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-stiri .pgm-com-thumb--fallback,
.page-nationala .pgm-com-thumb--fallback {
    background: url('../images/news-placeholder.png') 70% center / cover no-repeat, linear-gradient(135deg, #00112a 0%, #071935 100%);
}

/* Pagination */
.pgm-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}
.pgm-pagination a,
.pgm-pagination span {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.75rem;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--pgm-black);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--pgm-white);
}
.pgm-pagination a:hover {
    border-color: var(--pgm-blue);
    color: var(--pgm-blue);
    transform: translateY(-2px);
}
.pgm-pagination .active {
    background: var(--pgm-blue);
    color: white;
    border-color: var(--pgm-blue);
}
.pgm-pagination .pgm-page-ellipsis {
    border: none;
    background: none;
    color: var(--pgm-grey);
    width: auto;
    padding: 0 0.25rem;
}
/* Pagination – class-based variant (achizitii etc.) */
.pgm-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pgm-black);
    border: 1px solid rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.2s;
}
.pgm-pagination-link:hover {
    background: rgba(0,0,0,0.04);
    border-color: var(--pgm-blue);
    color: var(--pgm-blue);
}
.pgm-pagination-link--active {
    background: var(--pgm-blue);
    color: white;
    border-color: var(--pgm-blue);
}

/* Comunicate responsive */
@media (max-width: 1024px) {
    .pgm-page-sidebar .pgm-sidebar-nav--tags { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
    .pgm-sidebar-nav--tags .pgm-sidebar-nav-link {
        border-bottom: none;
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
        border: 1px solid rgba(0,0,0,0.1);
    }
    .pgm-sidebar-nav--tags .pgm-sidebar-nav-link.active {
        border-color: var(--pgm-blue);
        background: var(--pgm-blue);
        color: white;
    }
    .pgm-sidebar-nav--tags .pgm-sidebar-nav-link:hover { padding-left: 0.75rem; }
    .pgm-com-item { grid-template-columns: 4rem 1fr auto; padding: 1rem; gap: 1rem; }
    .page-stiri .pgm-com-item,
    .page-nationala .pgm-com-item { grid-template-columns: 4rem 120px 1fr auto; }
    .page-stiri .pgm-com-thumb,
    .page-nationala .pgm-com-thumb { width: 120px; }
    .pgm-btn-read { width: 34px; height: 34px; }
}
@media (max-width: 640px) {
    .pgm-com-item { grid-template-columns: 1fr; gap: 0.75rem; }
    .pgm-com-date {
        display: flex;
        gap: 0.5rem;
        align-items: baseline;
        text-align: left;
    }
    .pgm-com-date-day { font-size: 1.2rem; }
    .pgm-com-date-month { margin-top: 0; }
    .page-stiri .pgm-com-thumb,
    .page-nationala .pgm-com-thumb { width: 100%; aspect-ratio: 16 / 9; }
    .pgm-com-action { display: none; }
}

/* SEARCH PAGE                                                   */
/* ============================================================ */
.pgm-search-hero {
    background: var(--pgm-black);
    color: #fff;
    padding: 3rem 0 2.5rem;
}
.pgm-search-hero h1 {
    font-family: 'Cera Pro', sans-serif;
    font-size: 2.5rem;
    margin: 0 0 0.25rem;
}
.pgm-search-hero p {
    color: var(--pgm-grey);
    margin: 0;
}
.pgm-search-box {
    max-width: 700px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0;
}
.pgm-search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--pgm-yellow);
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: inherit;
}
.pgm-search-box input:focus {
    border-color: var(--pgm-blue);
}
.pgm-search-box button {
    padding: 0.75rem 1.5rem;
    background: var(--pgm-yellow);
    color: var(--pgm-black);
    border: 2px solid var(--pgm-yellow);
    border-radius: 0 4px 4px 0;
    font-weight: 700;
    font-family: 'Cera Pro', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.pgm-search-box button:hover {
    background: #e6c200;
    border-color: #e6c200;
}

.pgm-search-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin: 2rem 0 1.5rem;
}
.pgm-search-tab {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-family: 'Cera Pro', sans-serif;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--pgm-grey);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    font-size: 0.95rem;
}
.pgm-search-tab:hover {
    color: var(--pgm-black);
}
.pgm-search-tab.active {
    color: var(--pgm-black);
    border-bottom-color: var(--pgm-yellow);
}
.pgm-search-tab .pgm-badge {
    display: inline-block;
    background: var(--pgm-black);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.pgm-search-panel {
    display: none;
}
.pgm-search-panel.active {
    display: block;
}
.pgm-search-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.pgm-search-item:last-child {
    border-bottom: none;
}
.pgm-search-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}
.pgm-search-item h3 a {
    color: var(--pgm-black);
    text-decoration: none;
}
.pgm-search-item h3 a:hover {
    color: var(--pgm-blue);
}
.pgm-search-item .pgm-search-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Cera Pro', sans-serif;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    vertical-align: middle;
    text-decoration: none;
    color: #fff;
}
.pgm-search-label-comunicat {
    background: var(--pgm-blue);
}
.pgm-search-label-stire {
    background: var(--pgm-yellow);
    color: var(--pgm-black);
}
.pgm-search-meta {
    font-size: 0.85rem;
    color: var(--pgm-grey);
    margin-bottom: 0.25rem;
}
.pgm-search-meta i {
    margin-right: 0.25rem;
}
.pgm-search-excerpt {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}
.pgm-search-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--pgm-grey);
}
.pgm-search-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}
.pgm-search-results {
    padding-bottom: 3rem;
}

/* ============================================================ */
/* PAGE-CONTENT DOC ITEMS (used by structura, statut, etc.)     */
/* ============================================================ */
.pgm-page-content .pgm-doc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(0,0,0,0.04);
    margin-bottom: 3.5rem;
}
.pgm-page-content .pgm-doc-item {
    position: relative;
    background: var(--pgm-white);
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--pgm-black);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    cursor: pointer;
    animation: pgmSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pgm-page-content .pgm-doc-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--pgm-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    mix-blend-mode: multiply;
    opacity: 0.08;
    z-index: 0;
}
.pgm-page-content .pgm-doc-item:hover { transform: translateX(8px); }
.pgm-page-content .pgm-doc-item:hover::after { transform: scaleX(1); transform-origin: left; }

.pgm-doc-idx {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.25);
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-align: right;
}
.pgm-doc-body { position: relative; z-index: 1; }
.pgm-doc-body h3 {
    font-family: var(--pgm-font);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    margin: 0 0 0.25rem 0;
    color: var(--pgm-black);
    line-height: 1.35;
}
.pgm-doc-meta {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #999;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.pgm-tag {
    display: inline-block;
    padding: 1px 7px;
    background: var(--pgm-blue);
    color: white;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    line-height: 1.6;
}
.pgm-tag--yellow { background: var(--pgm-yellow); color: var(--pgm-black); }

.pgm-doc-action { position: relative; z-index: 1; }
.pgm-btn-arrow {
    width: 40px; height: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    flex-shrink: 0;
    color: var(--pgm-blue);
}
.pgm-btn-arrow svg { transition: all 0.3s ease; stroke: var(--pgm-blue); }
.pgm-page-content .pgm-doc-item:hover .pgm-btn-arrow { background: var(--pgm-blue); }
.pgm-page-content .pgm-doc-item:hover .pgm-btn-arrow svg { stroke: var(--pgm-white); }

.pgm-page-content .pgm-doc-item:nth-child(1) { animation-delay: 0.04s; }
.pgm-page-content .pgm-doc-item:nth-child(2) { animation-delay: 0.07s; }
.pgm-page-content .pgm-doc-item:nth-child(3) { animation-delay: 0.10s; }
.pgm-page-content .pgm-doc-item:nth-child(4) { animation-delay: 0.13s; }
.pgm-page-content .pgm-doc-item:nth-child(5) { animation-delay: 0.16s; }
.pgm-page-content .pgm-doc-item:nth-child(6) { animation-delay: 0.19s; }
.pgm-page-content .pgm-doc-item:nth-child(7) { animation-delay: 0.22s; }
.pgm-page-content .pgm-doc-item:nth-child(8) { animation-delay: 0.25s; }
.pgm-page-content .pgm-doc-item:nth-child(9) { animation-delay: 0.28s; }
.pgm-page-content .pgm-doc-item:nth-child(10) { animation-delay: 0.31s; }

/* Sub-item indent (for subcomisii) */
.pgm-doc-item--sub .pgm-doc-body h3 {
    font-size: 0.85rem;
    font-weight: 400;
    padding-left: 1rem;
    border-left: 2px solid var(--pgm-yellow);
}
.pgm-doc-item--sub .pgm-doc-idx { opacity: 0.4; }

/* ============================================================ */
/* STRUCTURA FRH PAGE — readability polish                      */
/* ============================================================ */
.page-structura .pgm-page-sidebar .pgm-mark {
    color: #111827;
}
.page-structura .pgm-sidebar-nav-link {
    color: #0f172a;
    border-bottom-color: rgba(0,0,0,0.18);
}
.page-structura .pgm-sidebar-nav-count {
    color: #374151;
    opacity: 0.8;
}
.page-structura .pgm-section-label {
    color: #003b8f;
    font-weight: 700;
}
.page-structura .pgm-doc-idx {
    color: rgba(0,0,0,0.45);
}
.page-structura .pgm-doc-meta {
    color: #4b5563;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    font-weight: 700;
}
.page-structura .pgm-doc-item--sub .pgm-doc-body h3 {
    font-weight: 500;
    color: #1f2937;
}

/* Page-Content Doc Items Responsive */
@media (max-width: 1024px) {
    .pgm-page-content .pgm-doc-item { grid-template-columns: 2rem 1fr auto; padding: 1rem; gap: 1rem; }
    .pgm-btn-arrow { width: 34px; height: 34px; }
}
@media (max-width: 640px) {
    .pgm-page-content .pgm-doc-item { grid-template-columns: 1fr auto; }
    .pgm-doc-idx { display: none; }
}

/* ============================================================ */
/* CLUBURI PAGE                                                  */
/* ============================================================ */

.page-cluburi .border { display: flex; flex-direction: column; height: 100%; }
.page-cluburi .p-4 { flex: 1; }

/* Cluburi – full-width content wrapper (two-column grid) */
.pgm-cluburi-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3.5rem 2rem 5rem;
}
@media (max-width: 640px) {
    .pgm-cluburi-content { padding: 2rem 1rem 4rem; }
}

/* Club table list */
.pgm-club-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 2rem;
}
.pgm-club-row {
    display: grid;
    grid-template-columns: 3rem 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: transparent;
    text-decoration: none;
    color: var(--pgm-black);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.2s;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    animation: pgmSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pgm-club-row:hover {
    transform: translateX(6px);
    border-left-color: var(--pgm-blue);
}
.pgm-club-row-logo {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pgm-club-row-logo img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}
.pgm-club-row-name {
    font-family: var(--pgm-font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    min-width: 0;
}
.pgm-club-row-city {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    color: var(--pgm-grey);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.pgm-club-row-city i {
    color: var(--pgm-yellow);
    font-size: 0.6rem;
}
.pgm-club-row-btn {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pgm-blue);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: gap 0.3s;
}
.pgm-club-row:hover .pgm-club-row-btn { gap: 0.65rem; }
.pgm-club-row-btn i { font-size: 0.55rem; transition: transform 0.3s; }
.pgm-club-row:hover .pgm-club-row-btn i { transform: translateX(3px); }
/* League column headers */
.pgm-league-header {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
}
.pgm-league-header-accent {
    width: 5px;
    min-height: 3rem;
    border-radius: 3px;
    flex-shrink: 0;
    align-self: stretch;
}
.pgm-league-header--f .pgm-league-header-accent { background: var(--pgm-red); }
.pgm-league-header--m .pgm-league-header-accent { background: var(--pgm-blue); }
.pgm-league-header-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.pgm-league-tag {
    font-family: var(--pgm-font);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pgm-grey);
}
.pgm-squad-col .pgm-league-header h3 {
    font-family: var(--pgm-font);
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--pgm-black);
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    text-align: left;
}

/* Decorative logo watermarks on both columns */
#lnf,
#lnm {
    position: relative;
}
#lnf::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    right: -2rem;
    width: 420px;
    height: 630px;
    background: url('../images/liga florilor gray.svg') no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
#lnm::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    right: -2rem;
    width: 420px;
    height: 630px;
    background: url('../images/Adobe-Express-file-_4_.svg') no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

/* inside squad columns the city column is tight — hide at medium widths */
@media (max-width: 1100px) {
    .pgm-squad-col .pgm-club-row-city { display: none; }
    .pgm-squad-col .pgm-club-row { grid-template-columns: 3rem 1fr auto; }
}
@media (max-width: 640px) {
    .pgm-club-row { grid-template-columns: 3rem 1fr auto; gap: 0.75rem; padding: 0.75rem 1rem; }
    .pgm-club-row-city { display: none; }
}

/* ============================================================ */
/* COMISIE DETAIL PAGE                                           */
/* ============================================================ */
.comisie-hero {
    background: var(--pgm-navy);
    color: var(--pgm-white);
    padding: 3rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}
.comisie-hero::before {
    content: "";
    position: absolute; top: 0; right: 0;
    width: 50vw; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,43,127,0.3) 100%);
    pointer-events: none;
}
.comisie-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.comisie-breadcrumb {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.5;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.comisie-breadcrumb a { opacity: 0.7; transition: opacity 0.2s; }
.comisie-breadcrumb a:hover { opacity: 1; }
.comisie-breadcrumb .sep { opacity: 0.3; }
.comisie-hero h1 {
    font-family: var(--pgm-font);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: 0.5rem;
}
.comisie-hero .pgm-mark-line {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--pgm-blue) 33%, var(--pgm-yellow) 33%, var(--pgm-yellow) 66%, var(--pgm-red) 66%);
    margin-top: 1.5rem;
}

/* Comisie Content Canvas */
.comisie-canvas {
    background: var(--pgm-white);
    position: relative;
    overflow: hidden;
}
.comisie-canvas .pgm-smudge {
    position: absolute;
    width: 40vw; height: 40vw;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}
.comisie-canvas .pgm-smudge--blue { background: var(--pgm-blue); top: -20%; right: -15%; opacity: 0.05; }
.comisie-canvas .pgm-smudge--yellow { background: var(--pgm-yellow); bottom: 20%; left: 30%; opacity: 0.03; }

.comisie-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

/* Member Cards */
.pgm-member-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(0,0,0,0.04);
}

.pgm-member {
    background: var(--pgm-white);
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: pgmSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pgm-member::after {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--pgm-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    mix-blend-mode: multiply;
    opacity: 0.06;
    z-index: 0;
}
.pgm-member:hover { transform: translateX(6px); }
.pgm-member:hover::after { transform: scaleX(1); transform-origin: left; }

.pgm-member-idx {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.2);
    font-weight: 700;
    text-align: right;
    position: relative;
    z-index: 1;
}

.pgm-member-body {
    position: relative;
    z-index: 1;
}
.pgm-member-body h3 {
    font-family: var(--pgm-font);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: var(--pgm-black);
    line-height: 1.3;
}
.pgm-member-role {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.65rem;
    text-transform: capitalize;
    color: var(--pgm-blue);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pgm-member-contact {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}
.pgm-member-contact span {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    color: var(--pgm-grey);
    text-align: right;
}

.pgm-member:nth-child(1) { animation-delay: 0.04s; }
.pgm-member:nth-child(2) { animation-delay: 0.07s; }
.pgm-member:nth-child(3) { animation-delay: 0.10s; }
.pgm-member:nth-child(4) { animation-delay: 0.13s; }
.pgm-member:nth-child(5) { animation-delay: 0.16s; }
.pgm-member:nth-child(6) { animation-delay: 0.19s; }
.pgm-member:nth-child(7) { animation-delay: 0.22s; }
.pgm-member:nth-child(8) { animation-delay: 0.25s; }
.pgm-member:nth-child(9) { animation-delay: 0.28s; }
.pgm-member:nth-child(10) { animation-delay: 0.31s; }

/* Back Link */
.pgm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pgm-blue);
    margin-top: 3rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--pgm-blue);
    transition: all 0.3s ease;
}
.pgm-back-link:hover {
    background: var(--pgm-blue);
    color: var(--pgm-white);
}
.pgm-back-link svg { transition: all 0.3s ease; }
.pgm-back-link:hover svg { stroke: var(--pgm-white); }

/* Comisie Responsive */
@media (max-width: 1024px) {
    .pgm-member { grid-template-columns: 2rem 1fr auto; padding: 1rem; gap: 1rem; }
}
@media (max-width: 640px) {
    .pgm-member { grid-template-columns: 1fr; gap: 0.5rem; }
    .pgm-member-idx { display: none; }
    .pgm-member-contact { align-items: flex-start; }
    .comisie-content { padding: 2rem 1rem; }
}

/* ============================================================ */
/* CARD GRID (reusable for cluburi, etc.)                       */
/* ============================================================ */
.pgm-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.pgm-club-card {
    background: var(--pgm-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}
.pgm-club-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0,43,127,0.15);
    border-color: rgba(0,43,127,0.12);
}
.pgm-club-card-top {
    background: linear-gradient(145deg, var(--pgm-navy) 0%, #1a3a5c 100%);
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    min-height: 100px;
    overflow: hidden;
}
.pgm-club-card-top::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.pgm-club-card-top::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 80px;
    height: 80px;
    background: rgba(252,209,22,0.06);
    border-radius: 50%;
    pointer-events: none;
}
.pgm-club-card-logo {
    width: 56px; height: 56px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}
.pgm-club-card:hover .pgm-club-card-logo { transform: scale(1.08) rotate(-2deg); }
.pgm-club-card-logo img {
    width: 38px; height: 38px;
    object-fit: contain;
}
.pgm-club-card-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.pgm-club-card-name {
    font-family: var(--pgm-font);
    font-size: 1rem;
    font-weight: 800;
    color: white;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.pgm-club-card-location {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.pgm-club-card-location i {
    color: var(--pgm-yellow);
    font-size: 0.6rem;
}
.pgm-club-card-arrow {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.2);
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}
.pgm-club-card:hover .pgm-club-card-arrow {
    color: var(--pgm-yellow);
    transform: translateY(-50%) translateX(4px);
}
.pgm-club-card-bottom {
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: white;
}
.pgm-club-card-btn {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--pgm-blue);
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.pgm-club-card-btn::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.5rem;
    transition: transform 0.3s;
}
.pgm-club-card:hover .pgm-club-card-btn::after {
    transform: translateX(3px);
}
.pgm-club-card:hover .pgm-club-card-btn {
    color: var(--pgm-navy);
}
.pgm-club-card-btn--primary {
    background: var(--pgm-blue);
    color: white;
    border-color: var(--pgm-blue);
}
.pgm-club-card-btn--primary:hover {
    background: var(--pgm-navy);
    border-color: var(--pgm-navy);
    color: white;
}
/* Card entrance animation */
.pgm-club-card {
    animation: pgmCardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pgmCardFadeIn {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}
.pgm-card-grid .pgm-club-card:nth-child(1) { animation-delay: 0.05s; }
.pgm-card-grid .pgm-club-card:nth-child(2) { animation-delay: 0.1s; }
.pgm-card-grid .pgm-club-card:nth-child(3) { animation-delay: 0.15s; }
.pgm-card-grid .pgm-club-card:nth-child(4) { animation-delay: 0.2s; }
.pgm-card-grid .pgm-club-card:nth-child(5) { animation-delay: 0.25s; }
.pgm-card-grid .pgm-club-card:nth-child(6) { animation-delay: 0.3s; }
.pgm-card-grid .pgm-club-card:nth-child(7) { animation-delay: 0.35s; }
.pgm-card-grid .pgm-club-card:nth-child(8) { animation-delay: 0.4s; }
.pgm-card-grid .pgm-club-card:nth-child(9) { animation-delay: 0.45s; }
.pgm-card-grid .pgm-club-card:nth-child(10) { animation-delay: 0.5s; }
.pgm-card-grid .pgm-club-card:nth-child(11) { animation-delay: 0.55s; }
.pgm-card-grid .pgm-club-card:nth-child(12) { animation-delay: 0.6s; }
.pgm-card-grid .pgm-club-card:nth-child(13) { animation-delay: 0.65s; }
.pgm-card-grid .pgm-club-card:nth-child(14) { animation-delay: 0.7s; }
@media (max-width: 640px) {
    .pgm-card-grid { grid-template-columns: 1fr; gap: 1rem; }
    .pgm-club-card-top { padding: 1.25rem 1.25rem; min-height: auto; }
    .pgm-club-card-logo { width: 48px; height: 48px; border-radius: 12px; }
    .pgm-club-card-logo img { width: 32px; height: 32px; }
    .pgm-club-card-name { font-size: 0.95rem; }
}

/* ============================================================ */
/* CLUB BANNER HERO                                              */
/* ============================================================ */
.pgm-club-banner {
    position: relative;
    overflow: hidden;
    height: auto !important;
    min-height: 220px;
    display: flex !important;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(0,20,60,0.72) 0%, rgba(0,43,127,0.45) 60%, rgba(0,20,60,0.65) 100%),
        url('../images/rapid_bucuresti_bg.jpg') 0 calc(60% - 100px)/cover no-repeat,
        var(--pgm-navy) !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    backdrop-filter: none;
    padding: 2.5rem max(2rem, calc((100vw - 1400px) / 2 + 2rem));
}
.pgm-banner-v2--club .pgm-banner-v2-prism {
    background: #fff;
    mix-blend-mode: normal;
    opacity: 0.15;
}
.pgm-banner-v2--club .pgm-banner-v2-prism--alt {
    background: #800020;
    mix-blend-mode: normal;
    opacity: 0.45;
    transform: scale(0.75);
}
.pgm-club-banner:hover {
    transform: none !important;
    box-shadow: 0 0 40px rgba(128, 0, 32, 0.25), inset 0 0 80px rgba(255, 255, 255, 0.04);
}
.pgm-club-banner:hover .pgm-banner-v2-cta {
    padding-right: 3rem;
    background: #800020;
    color: #fff;
}
.pgm-club-banner-content {
    width: auto !important;
    flex: 1;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pgm-club-banner-content .pgm-banner-v2-heading {
    margin-bottom: 0;
    line-height: 1;
}
.pgm-club-banner-content .pgm-banner-v2-cta {
    margin-top: 1rem;
}
.pgm-club-banner-logo-wrap {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3rem;
}
.pgm-club-banner-logo {
    width: 8rem;
    height: 8rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pgm-club-banner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.6rem;
}
@media (max-width: 640px) {
    .pgm-club-banner { flex-direction: column; gap: 1.5rem; padding: 2rem 1.25rem; min-height: auto; align-items: center; text-align: center; }
    .pgm-club-banner-logo-wrap { margin-right: 0; }
    .pgm-club-banner-logo { width: 5rem; height: 5rem; }
}

/* ============================================================ */
/* CLUB PAGE                                                     */
/* ============================================================ */
.pgm-club-hero-wrap { position: relative; overflow: hidden; }
.pgm-club-hero-bg { position: absolute; inset: 0; }
.pgm-club-hero-bg--cover { background-size: cover; background-position: center; background-repeat: no-repeat; }
.pgm-club-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #0f172a, rgba(15,23,42,0.4), transparent); }
.pgm-club-hero-overlay--gradient { background: linear-gradient(to bottom right, #0f172a 0%, rgba(0,43,127,0.35) 50%, #0f172a 100%); }
.pgm-club-hero-inner { position: relative; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.pgm-club-hero-row { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
.pgm-club-hero-logo-wrap { flex-shrink: 0; }
.pgm-club-hero-logo {
    width: 6rem; height: 6rem; border-radius: 1rem; background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.pgm-club-hero-logo img {
    width: 100%; height: 100%; object-fit: contain; padding: 0.5rem;
}
.pgm-club-hero-logo-initial { font-size: 2.25rem; font-weight: 900; color: #334155; }
.pgm-club-hero-info { flex-grow: 1; color: white; }
.pgm-club-hero-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 0.75rem; }
.pgm-club-hero-tag { padding: 0.25rem 0.625rem; border-radius: 9999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
.pgm-club-hero-title { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.025em; line-height: 1; margin: 0; }
.pgm-club-hero-website { margin-top: 1.25rem; }
.pgm-club-hero-website a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 900; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.pgm-club-hero-website a:hover { color: white; }
.pgm-club-hero-website i { font-size: 0.75rem; opacity: 0.8; }

.pgm-club-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem;
    color: var(--pgm-blue);
    text-decoration: none;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pgm-club-breadcrumb:hover { color: #0f172a; }

.pgm-club-hero-site-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pgm-club-anchor { scroll-margin-top: 130px; }

.pgm-club-nav { 
    position: sticky; 
    top: 0; 
    z-index: 50; 
    background: #f8fafc; 
    border-bottom: none; 
    box-shadow: none; 
    padding: 0.75rem 0;
}
.pgm-club-nav-inner { display: flex; align-items: center; }
.pgm-club-nav-links { 
    display: flex; 
    gap: 0.5rem; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    padding: 0.25rem;
    background: rgba(0,0,0,0.04);
    border-radius: 0.75rem;
}
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.pgm-club-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.pgm-club-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--pgm-navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}
.pgm-club-section-actions { display: flex; align-items: center; gap: 0.75rem; }
.pgm-club-badge {
    display: none;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pgm-blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    background: rgba(0,43,127,0.06);
    border: none;
}
.pgm-club-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pgm-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s;
}
.pgm-club-link i { transition: transform 0.2s; }
.pgm-club-link:hover {
    color: var(--pgm-navy);
}
.pgm-club-link:hover i { transform: translateX(3px); }

.pgm-club-next {
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, var(--pgm-navy) 0%, #1a3a5c 100%);
    box-shadow: 0 8px 24px rgba(0,43,127,0.2);
}
.pgm-club-next::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(252,209,22,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.pgm-club-next::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}
.pgm-club-next-inner { padding: 2.5rem 2rem; position: relative; z-index: 1; }
.pgm-club-next-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.pgm-club-next-team { 
    display: flex; 
    align-items: center; 
}
.pgm-club-next-team--left { 
    justify-content: flex-end; 
    text-align: right; 
}
.pgm-club-next-team--right { 
    justify-content: flex-start; 
    text-align: left; 
}
.pgm-club-next-vs { display: flex; flex-direction: column; align-items: center; position: relative; }
.pgm-club-next-vs-label { 
    font-size: 0.7rem; 
    font-weight: 900; 
    color: rgba(255,255,255,0.4); 
    letter-spacing: 0.35em; 
    text-transform: uppercase; 
    margin-top: 0.75rem;
}
.pgm-club-next-kickoff {
    padding: 0.6rem 1.5rem;
    color: var(--pgm-navy);
    font-size: 0.85rem;
    font-family: 'Cera Pro', sans-serif;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pgm-yellow);
    border: none;
    box-shadow: 0 4px 12px rgba(252,209,22,0.3);
}
.pgm-club-next-kickoff i { color: var(--pgm-red); }
.pgm-club-next-kickoff { order: 1; }
.pgm-club-next-vs-label { order: 2; }

@media (min-width: 768px) {
    /* Keep kickoff aligned with teams; VS sits below without affecting alignment */
    .pgm-club-next-vs-label {
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        order: initial;
    }
}
.pgm-club-next-team-name { font-size: 1.4rem; font-weight: 900; color: white; line-height: 1.2; letter-spacing: -0.025em; }
.pgm-club-next-team-name.pgm-club-winner { color: var(--pgm-yellow); }
.pgm-club-next-cta { margin-top: 2rem; text-align: center; }

/* Last Result Score */
.pgm-club-last-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}
.pgm-club-last-s {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    min-width: 2.5rem;
    text-align: center;
}
.pgm-club-last-s.pgm-club-winner { color: var(--pgm-yellow); }
.pgm-club-last-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
}
.pgm-club-last-date {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.pgm-club-empty { padding: 4rem; border: 2px dashed #e2e8f0; border-radius: 0.75rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; }
.pgm-club-empty i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
.pgm-club-empty span { font-weight: 700; }

/* Stats Row - Form & Standing */
.pgm-club-stats-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.pgm-club-stat-box {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(145deg, var(--pgm-navy) 0%, #1a3a5c 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.pgm-club-stat-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.pgm-club-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}
.pgm-club-stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.pgm-club-stat-position .pgm-club-stat-value::after {
    content: "º";
    font-size: 1.5rem;
    vertical-align: super;
    margin-left: 2px;
    color: var(--pgm-yellow);
}
.pgm-club-form-badges {
    display: flex;
    gap: 0.5rem;
}
.pgm-form-badge {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.875rem;
    color: white;
}
.pgm-form-badge.pgm-form-w {
    background: #22c55e;
}
.pgm-form-badge.pgm-form-l {
    background: #ef4444;
}
.pgm-form-badge.pgm-form-d {
    background: #f59e0b;
}

.pgm-club-cards { display: grid; gap: 1rem; }
.pgm-club-cards .pgm-club-card {
    background: linear-gradient(145deg, var(--pgm-navy) 0%, #1a3a5c 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0,43,127,0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.pgm-club-cards .pgm-club-card::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.pgm-club-cards .pgm-club-card:hover {
    box-shadow: 0 16px 32px rgba(0,43,127,0.2);
    transform: translateY(-4px);
}
.pgm-club-cards .pgm-club-card-accent { display: none; }
.pgm-club-cards .pgm-club-card-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}
.pgm-club-cards .pgm-club-card-value {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.025em;
}
.pgm-club-card-social { background: linear-gradient(135deg, var(--pgm-blue), #1e3a8a); border-radius: 0.75rem; padding: 2rem; color: white; position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.pgm-club-card-social-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.pgm-club-card-social-icons { display: flex; gap: 1rem; font-size: 1.5rem; margin-top: 1rem; }
.pgm-club-card-social-icons i { transition: color 0.2s, transform 0.2s; }
.pgm-club-card-social:hover .pgm-club-card-social-icons i:hover { color: #60a5fa; transform: scale(1.1); }

.pgm-club-player-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pgm-club-player-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.pgm-club-player-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0,43,127,0.15);
    border-color: rgba(0,43,127,0.1);
}
.pgm-club-player-card-accent {
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pgm-blue), var(--pgm-yellow), var(--pgm-red));
}
.pgm-club-player-card-body { padding: 1.25rem; }
.pgm-club-player-photo-wrap {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pgm-navy) 0%, #1a3a5c 100%);
    border: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0,43,127,0.15);
}
.pgm-club-player-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pgm-club-player-info { display: flex; align-items: flex-start; gap: 0.875rem; }
.pgm-club-player-post {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pgm-blue);
    background: rgba(0,43,127,0.06);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.25rem;
}
.pgm-club-player-name { font-size: 1rem; font-weight: 900; color: var(--pgm-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.pgm-club-player-surname { font-size: 0.8rem; font-weight: 600; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pgm-club-player-footer { margin-top: 0.875rem; padding-top: 0.875rem; border-top: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pgm-club-player-meta { display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.pgm-club-player-meta span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pgm-club-player-age { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pgm-blue); white-space: nowrap; }
.pgm-club-player-nr {
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 900;
    color: rgba(0,43,127,0.08);
    user-select: none;
    pointer-events: none;
}

.pgm-club-staff-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.pgm-club-staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0,43,127,0.15);
    border-color: rgba(0,43,127,0.1);
}
.pgm-club-staff-card-accent {
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #64748b, var(--pgm-blue), #38bdf8);
}
.pgm-club-staff-photo-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    border: none;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.pgm-club-staff-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pgm-club-tab-panel { display: none; }
.pgm-club-tab-panel.is-active { display: block; }
/* Keep vertical rhythm consistent with overview block spacing */
#informatii.pgm-club-tab-panel { padding-top: 2.5rem; }
.pgm-club-spacer { margin-bottom: 5rem; }
.pgm-club-section-divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    position: relative;
}
.pgm-club-section-divider::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--pgm-blue), var(--pgm-yellow));
}
.pgm-club-section-divider h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--pgm-black);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0;
}
.pgm-club-section-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pgm-blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: none;
    background: rgba(0,43,127,0.06);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
}
.pgm-club-prog-title { font-size: 1.25rem; font-weight: 900; color: #0f172a; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: -0.025em; border-left: 4px solid var(--pgm-blue); padding-left: 0.75rem; }
.pgm-club-prog-title--muted { border-left-color: #cbd5e1; }

/* Sub-tabs for matches */
.pgm-club-subtabs {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 26, 77, 0.02);
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    margin: 0.5rem 0 0.9rem;
}
.pgm-club-subtab {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    color: var(--pgm-grey);
    font-family: var(--pgm-font);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0 0.9rem;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pgm-club-subtab:hover {
    color: var(--pgm-blue);
    background: rgba(0, 43, 127, 0.05);
    border-color: rgba(0,0,0,0.04);
}
.pgm-club-subtab.is-active {
    background: var(--pgm-blue);
    color: #fff;
    border-color: var(--pgm-blue);
}
.pgm-club-subtab-panel {
    display: none;
}
.pgm-club-subtab-panel.is-active {
    display: block;
}

@media (min-width: 768px) {
    .pgm-club-hero-row { flex-direction: row; align-items: flex-end; gap: 2.5rem; text-align: left; }
    .pgm-club-hero-logo { width: 8rem; height: 8rem; }
    .pgm-club-hero-logo-initial { font-size: 3rem; }
    .pgm-club-hero-tags { justify-content: flex-start; }
    .pgm-club-hero-title { font-size: 3.75rem; }
    .pgm-club-next-inner { padding: 3rem; }
    .pgm-club-next-team-name { font-size: 2.25rem; }
    .pgm-club-badge { display: block; }
    .pgm-club-cards { grid-template-columns: repeat(2, 1fr); }
    .pgm-club-next-cta { display: none; }
    .pgm-club-section-subtitle { display: block; }
}
@media (min-width: 1024px) {
    .pgm-club-hero-title { font-size: 4rem; }
    .pgm-club-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .pgm-club-next-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pgm-club-next-team--left, .pgm-club-next-team--right { text-align: center; justify-content: center; }
    .pgm-club-next-vs-label { position: static; transform: none; margin-top: 0.75rem; }
}

/* ============================================================ */
/* CLUB DETAIL PAGE (extracted from inline <style>)             */
/* ============================================================ */
:root {
    --club-bg: radial-gradient(120% 120% at 50% -10%, #f8fbff 0%, #f4f7fb 50%, #eef3f9 100%);
    --club-surface: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.95) 100%);
    --club-ring: rgba(148, 163, 184, 0.18);
    --club-shadow: 0 30px 60px -42px rgba(15, 23, 42, 0.46);
    --club-shadow-soft: 0 14px 28px -20px rgba(15, 23, 42, 0.35);
}

.font-inter { font-family: var(--pgm-font); }

.tab-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: transparent;
    border-radius: 0.5rem;
    border: none;
    transition: all 0.2s ease;
}
.tab-link:hover { 
    color: var(--pgm-navy); 
    background: rgba(0,0,0,0.04);
}
.tab-link.active { 
    color: var(--pgm-navy); 
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tab-link::after { display: none; }

.btn-sports { transition: all 0.15s ease; }
.btn-sports:active { transform: translateY(1px); }

.perspective-1000 { perspective: 1000px; }

.club-main-bg { background: var(--club-bg); }

.club-next-match {
    /* Overridden by .pgm-club-next styles */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.kickoff-pill {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 18px -16px rgba(15, 23, 42, 0.55);
}

.next-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.25rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f172a;
    background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid rgba(147, 197, 253, 0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.next-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 16px 24px -22px rgba(59, 130, 246, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .tab-link,
    .tab-link::after,
    .next-cta,
    .team-emblem {
        transition: none !important;
    }
}

/* ── Utility: section spacing for contact/multi-section pages ── */
.pgm-section-label--spaced { margin-top: 4rem; }
.pgm-address-line { font-size: 1.1rem; margin-bottom: 1rem; font-weight: 500; }
.pgm-address-icon { color: var(--pgm-red); margin-right: 10px; }
.pgm-count-muted { font-size: 0.6rem; opacity: 0.5; }
.pgm-clearfix { clear: both; }

/* National team page — disable row hover effects */
.page-nationala .table tbody tr:hover { transform: none; }
.page-nationala .table tbody tr::after { display: none; }

/* ============================================================ */
/* CLUB PAGE — inline style replacements                        */
/* ============================================================ */
.pgm-club-logo-img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.pgm-club-main-pad { padding-top: 0.9rem; padding-bottom: 4rem; }
.pgm-club-card-inner { position: relative; z-index: 1; }
.pgm-club-staff-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pgm-clock-icon { color: rgba(253,164,175,0.9); }
.pgm-flag-shadow { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.pgm-icon-rotate-ne { transform: rotate(-45deg); }

/* ── Utilities ── */
.pgm-opacity-60 { opacity: 0.6; }
.pgm-min-w-0 { min-width: 0; }
.pgm-icon-md { font-size: 1.25rem; }
.pgm-icon-lg { font-size: 1.5rem; }
.pgm-mb-1 { margin-bottom: 1rem; }
.pgm-mb-2 { margin-bottom: 1.5rem; }
.pgm-mb-3 { margin-bottom: 3rem; }
.pgm-mb-4 { margin-bottom: 4rem; }

/* Club page section spacing */
.pgm-club-tab-panel section {
    margin-bottom: 2.5rem;
}
.pgm-club-tab-panel section:last-child {
    margin-bottom: 0;
}

/* ============================================================ */
/* HOMEPAGE — ticker & quick links inline style replacements    */
/* ============================================================ */
.pgm-match-card--program {
    justify-content: center;
    min-width: 200px;
    background: var(--pgm-yellow);
    color: var(--pgm-navy);
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px -4px rgba(252,209,22,0.35);
    font-weight: 900;
    font-size: 0.82rem;
}
.pgm-match-card--program::after {
    content: "→";
    margin-left: 0.5rem;
    opacity: 1;
    color: var(--pgm-navy);
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.pgm-match-card--program:hover {
    background: #ffe24d;
    box-shadow: 0 8px 28px -4px rgba(252,209,22,0.45);
}
.pgm-match-card--program:hover::after { transform: translateX(4px); }

.pgm-match-card--empty {
    min-width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.pgm-truncate-140 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.pgm-match-meta--end { display: flex; flex-direction: column; align-items: flex-end; }
.pgm-flex-center-gap { display: flex; align-items: center; gap: 5px; }
.pgm-tv-logo-sm {
    height: 17px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.45));
    opacity: 1;
}
.pgm-match-meta--centered { width: 100%; text-align: center; }
.pgm-section--white { background: white; padding-top: 4rem; }

/* ============================================================ */
/* COMPONENTA PAGE — inline style replacements                  */
/* ============================================================ */
.pgm-container--wide { max-width: 1200px; }
.pgm-card-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ============================================================ */
/* LEGACY CLEANUP P3 — remaining inline style replacements      */
/* ============================================================ */
.pgm-flag-inline {
    display: inline-block;
    height: 32px;
    vertical-align: middle;
    margin-right: 12px;
}

.pgm-nationala-app { min-height: 80vh; }
.page-nationala .pgm-page-layout--single {
    padding-top: 0;
}
.page-nationala .stage-module {
    margin-top: 0;
}
.page-nationala .stage-module-head {
    padding: 0.5rem max(1rem, calc((100vw - 1200px) / 2 + 2rem)) !important;
    justify-content: flex-start !important;
}
.page-nationala .stage-controls {
    background: transparent !important;
    border-color: transparent !important;
}
.pgm-container--1200 { max-width: 1200px; }
.pgm-container--1400 { max-width: 1400px; }
.pgm-sr-title { visibility: hidden; height: 0; margin: 0; padding: 0; }
.pgm-js-hidden { display: none !important; }
.pgm-table-full { width: 100%; }
.pgm-col-60 { width: 60px; }
.pgm-round-subtitle { font-size: 15px; }
.pgm-icon-red { color: var(--pgm-red); }
.pgm-mt-1 { margin-top: 1rem; }
.pgm-valign-mid { vertical-align: middle; }
.page-nationala .pgm-match-team {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.page-nationala .pgm-match-winner {
    color: var(--pgm-red);
    font-weight: 900;
}

.pgm-overview {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}
/* Nationala overview — consistent spacing hierarchy */
.page-nationala .pgm-overview {
    gap: 0;
    margin-top: 0;
}
.page-nationala .pgm-overview .pgm-section-label {
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}
.page-nationala .pgm-overview .pgm-overflow-x,
.page-nationala .pgm-overview .pgm-overview-form {
    margin-bottom: 0;
}
.page-nationala .pgm-overview .overview-actions-table-wrap,
.page-nationala .pgm-overview .overview-results-table-wrap {
    margin-bottom: 0.5rem;
}
.page-nationala .pgm-overview .overview-actions-empty,
.page-nationala .pgm-overview .overview-results-empty,
.page-nationala .pgm-overview .overview-news-empty {
    margin-bottom: 0;
}
.page-nationala .pgm-overview .pgm-overview-grid--matches {
    margin-bottom: 0;
}
.page-nationala .pgm-overview .pgm-overview-grid--matches + .pgm-section-label {
    margin-top: 2.25rem;
}
.page-nationala .pgm-overview #overview-news-content {
    margin-bottom: 0;
}
.page-nationala .pgm-overview .pgm-com-meta {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
/* Nationala other panels — consistent label/content spacing */
.page-nationala .stage-panel > .pgm-section-label {
    margin-bottom: 1.25rem;
}
.page-nationala #calendar-content .pgm-overflow-x,
.page-nationala #matches-content .pgm-overflow-x {
    margin-bottom: 1rem;
}
.page-nationala #matches-content .pgm-section-label {
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}
.page-nationala #matches-content .pgm-section-label:first-of-type {
    margin-top: 0;
}
.page-nationala .pgm-bye-notice {
    margin-top: 1rem;
}
.page-nationala .pgm-member-idx {
    color: rgba(15, 23, 42, 0.52);
}
.page-nationala .pgm-member-body h3 {
    color: #0f172a;
}
.page-nationala .pgm-member-role {
    color: #0b3f91;
    font-weight: 800;
}
.page-nationala .pgm-member-contact span {
    color: #334155;
    font-size: 0.65rem;
    font-weight: 700;
}
.pgm-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.pgm-overview-grid > .pgm-overview-card:only-child {
    grid-column: 1 / -1;
}
.pgm-overview-grid--matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pgm-overview-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 18px 45px -35px rgba(0, 0, 0, 0.45);
    padding: 1rem 1.1rem 1.1rem;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.pgm-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px -46px rgba(0, 0, 0, 0.55);
}
.pgm-overview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}
.pgm-overview-card-head .pgm-overview-title {
    margin: 0;
}
.pgm-overview-title {
    margin: 0 0 0.8rem;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--pgm-blue);
}
.pgm-overview-link {
    white-space: nowrap;
    opacity: 0.85;
}
.pgm-overview-link:hover { opacity: 1; }
.page-nationala .pgm-overview-card-head .pgm-overview-link {
    margin-left: auto;
}
.page-nationala .pgm-section-label .pgm-overview-link {
    order: 1;
    margin-left: 0.5rem;
    flex-shrink: 0;
}
.page-nationala .pgm-overview-card .table { margin-bottom: 0 !important; }
.pgm-overview-match-row {
    display: grid;
    gap: 0.55rem;
}
.pgm-overview-match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.pgm-overview-match-teams .pgm-match-team:last-child {
    text-align: right;
}
.pgm-overview-match-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    border-radius: 999px;
    background: rgba(0, 43, 127, 0.08);
    color: var(--pgm-blue);
    font-weight: 900;
    padding: 0.25rem 0.75rem;
}
.pgm-overview-match-meta {
    font-size: 0.8rem;
    color: var(--pgm-grey);
    font-weight: 700;
}
.pgm-overview-form {
    margin-top: 0.5rem;
    padding: 0.8rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 43, 127, 0.06) 0%, rgba(191, 219, 254, 0.28) 100%);
    border: 1px solid rgba(59, 130, 246, 0.16);
}
.pgm-overview-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.pgm-overview-form-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--pgm-blue);
}
.pgm-overview-form-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.pgm-overview-form-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 56px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.5);
}
.pgm-overview-form-pill small {
    font-size: 0.54rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.72;
}
.pgm-overview-form-pill strong {
    margin-top: 0.1rem;
    font-size: 1.08rem;
    line-height: 1;
}
.pgm-overview-form-pill.is-win {
    color: #065f46;
    background: #d1fae5;
    border-color: #6ee7b7;
}
.pgm-overview-form-pill.is-draw {
    color: #1f2937;
    background: #e5e7eb;
    border-color: #d1d5db;
}
.pgm-overview-form-pill.is-loss {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fca5a5;
}
.pgm-overview-form-summary {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.pgm-overview-form-summary--only {
    justify-content: center;
}
.pgm-overview-form-stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 32px;
    padding: 0 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}
.pgm-overview-form-stat.is-win {
    color: #065f46;
    background: #d1fae5;
    border-color: #6ee7b7;
}
.pgm-overview-form-stat.is-draw {
    color: #1f2937;
    background: #e5e7eb;
    border-color: #d1d5db;
}
.pgm-overview-form-stat.is-loss {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fca5a5;
}
.overview-results-table-wrap {
    margin-top: 1rem;
}
.pgm-overview-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}
.pgm-overview-result-badge.is-win {
    color: #065f46;
    background: #d1fae5;
    border-color: #6ee7b7;
}
.pgm-overview-result-badge.is-draw {
    color: #1f2937;
    background: #e5e7eb;
    border-color: #d1d5db;
}
.pgm-overview-result-badge.is-loss {
    color: #991b1b;
    background: #fee2e2;
    border-color: #fca5a5;
}
.news-list-overview {
    margin-top: 0.6rem;
}
.pgm-overview-actions {
    display: grid;
    gap: 0.55rem;
}
.pgm-overview-action-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: rgba(191, 219, 254, 0.25);
}
.pgm-overview-action-item strong {
    font-size: 0.86rem;
    line-height: 1.2;
}
.pgm-overview-action-item span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pgm-grey);
}
@media (max-width: 960px) {
    .pgm-overview-grid,
    .pgm-overview-grid--matches {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pgm-overview-card { transition: none !important; }
    .pgm-overview-card:hover { transform: none !important; }
}

/* ─────────────────────────────────────────────
   OVERVIEW v2 — redesign secțiune Acasă
   ───────────────────────────────────────────── */

/* Hero — match cards */
.ov-fixtures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.ov-fixture-card {
    position: relative;
    background: linear-gradient(140deg, #001126 0%, #051628 100%);
    border-radius: 16px;
    padding: 1.4rem 1.6rem 1.1rem;
    color: white;
    border-left: 4px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 155px;
}
.ov-fixture-card[data-result="V"] { border-left-color: #10b981; }
.ov-fixture-card[data-result="I"] { border-left-color: var(--pgm-red); }
.ov-fixture-card[data-result="E"] { border-left-color: #9ca3af; }
.ov-fixture-card--upcoming        { border-left-color: var(--pgm-yellow); }
.ov-fixture-eyebrow {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.38);
    margin-bottom: 0.15rem;
}
.ov-fixture-card--upcoming .ov-fixture-eyebrow { color: var(--pgm-yellow); }
.ov-fixture-card[data-result="V"] .ov-fixture-eyebrow { color: #34d399; }
.ov-fixture-card[data-result="I"] .ov-fixture-eyebrow { color: #f87171; }
.ov-fixture-empty {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-style: italic;
    padding: 0.5rem 0;
}
.ov-fixture-link {
    margin-top: auto;
    padding-top: 0.75rem;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    transition: color 0.2s;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.ov-fixture-link:hover { color: rgba(255,255,255,0.8); }

/* Match content injected by JS */
.ov-match-layout { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.ov-match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin: 0.3rem 0;
}
.ov-match-team {
    font-family: 'Cera Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: rgba(255,255,255,0.75);
    line-height: 1.2;
}
.ov-match-team.is-winner { color: #fff; }
.ov-match-team--right { text-align: right; }
.ov-match-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.ov-match-score {
    font-family: 'Cera Pro', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.ov-match-badge {
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0.12rem 0.45rem;
    border-radius: 99px;
    text-transform: uppercase;
}
.ov-match-badge.is-win  { background: #10b981; color: #fff; }
.ov-match-badge.is-loss { background: var(--pgm-red); color: #fff; }
.ov-match-badge.is-draw { background: #6b7280; color: #fff; }
.ov-match-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.ov-match-meta-line1 {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    line-height: 1.3;
}
.ov-match-meta-line2 {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Mid row — formă + acțiuni */
.ov-mid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.ov-panel {
    background: #fff;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px -10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
#overview-form,
#overview-actions-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ov-form-center {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}
.ov-panel-head {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.ov-panel-title {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pgm-blue);
}
.ov-panel-sub {
    font-size: 0.62rem;
    color: var(--pgm-grey);
    font-weight: 600;
}
.ov-panel-head .pgm-btn-link { margin-left: auto; }

/* Form strip */
.ov-form-strip {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0;
    width: 100%;
}
.ov-form-dot-wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.ov-form-bar-label {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(0,0,0,0.4);
    text-align: center;
    line-height: 1;
    user-select: none;
}
.ov-form-dot-wrap:hover .ov-form-tip {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
    pointer-events: none;
}
.ov-form-bar {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 0;
    cursor: default;
    transform-origin: bottom;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.ov-form-dot-wrap:hover .ov-form-bar {
    transform: scaleY(1.7);
    opacity: 0.85;
}
.ov-form-bar.is-win  { background: #10b981; }
.ov-form-bar.is-loss { background: var(--pgm-red); }
.ov-form-bar.is-draw { background: #9ca3af; }
.ov-form-tip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateY(4px) translateX(-50%);
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-width: 190px;
    width: max-content;
    max-width: 240px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 100;
    text-align: center;
}
.ov-form-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0f172a;
}
.ov-form-tip-score {
    font-family: 'Cera Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.ov-form-tip-teams {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
    margin-bottom: 0.4rem;
}
.ov-form-tip-meta {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}
.ov-form-summary {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.ov-form-summary .is-win  { color: #059669; }
.ov-form-summary .is-loss { color: var(--pgm-red); }
.ov-form-summary .is-draw { color: #9ca3af; }

/* Actions list */
.ov-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    justify-content: center;
}
.ov-action-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    overflow: hidden;
}

.ov-cal-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--pgm-blue);
    border-radius: 6px;
    width: 34px;
    min-width: 34px;
    height: 36px;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
}
.ov-cal-day {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.ov-cal-mon {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.45rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 0.08rem;
}
.ov-action-name {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Results list */
.ov-block { margin-bottom: 2.5rem; }
.ov-block-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.ov-block-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}
.ov-block-title {
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pgm-blue);
    white-space: nowrap;
}
.ov-block-head .pgm-btn-link { order: 1; flex-shrink: 0; }
.ov-results-list { display: flex; flex-direction: column; }
/* Override pgm-m-* defaults for compact result rows */
.ov-result-pgm-m {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ov-result-pgm-m:last-child { border-bottom: none; }
.ov-result-pgm-m .pgm-m-main-row {
    grid-template-columns: 110px 1fr 110px 1fr 50px;
    gap: 0.65rem;
    padding: 0.4rem 0;
}
.ov-result-comp {
    display: flex;
    align-items: center;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--pgm-grey);
    line-height: 1.35;
}
.ov-result-ehf {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.ov-result-pgm-m .pgm-m-home,
.ov-result-pgm-m .pgm-m-away {
    font-size: 1.1rem;
}
.ov-result-pgm-m .pgm-m-name {
    font-size: 1.1rem;
}
.ov-result-pgm-m .pgm-m-score {
    padding: 0.3rem 0.7rem;
    font-size: 0.9rem;
    min-width: 64px;
}
.ov-result-date-label,
.nat-date-label {
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    color: var(--pgm-grey) !important;
    background: none !important;
    padding: 0 !important;
    letter-spacing: 0.02em;
}

/* Meciuri tab — card-based match list */
.nat-matches-list {
    display: flex;
    flex-direction: column;
}
.nat-match-card {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nat-match-card:last-child { border-bottom: none; }
.nat-match-card .pgm-m-main-row {
    grid-template-columns: 160px 1fr 130px 1fr 50px;
    gap: 0.75rem;
    padding: 0.6rem 0;
}
.nat-match-card .pgm-m-home,
.nat-match-card .pgm-m-away {
    font-size: 1.1rem;
}
.nat-match-card .pgm-m-name { font-size: 1.1rem; }
.nat-match-card .pgm-m-score {
    padding: 0.35rem 0.85rem;
    min-width: 72px;
}
.nat-match-comp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Cera Pro', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--pgm-grey);
    line-height: 1.35;
    padding-top: 18px;
    padding-left: 0.25rem;
    gap: 0.2rem;
}
.nat-match-ehf {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 18px;
    padding-right: 0.5rem;
}
.nat-match-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.15s;
}
.nat-ehf-logo {
    width: 40px !important;
    height: 28px !important;
    opacity: 1;
    border: 1px solid rgba(12, 35, 64, 0.16);
    border-radius: 4px;
    transition: opacity 0.15s ease;
}
.nat-match-link:hover .nat-ehf-logo {
    opacity: 1;
    border-color: rgba(12, 35, 64, 0.28);
}
.nat-year-header {
    margin-top: 1.25rem !important;
}
.ov-empty-notice {
    font-size: 0.75rem;
    color: var(--pgm-grey);
    font-style: italic;
    padding: 0.25rem 0;
}

/* Responsive */
@media (max-width: 700px) {
    .ov-fixtures, .ov-mid-row { grid-template-columns: 1fr; }
    .ov-result-pgm-m .pgm-m-main-row { grid-template-columns: 1fr 110px 1fr; }
    .ov-result-comp,
    .ov-result-ehf { display: none; }
}

