/* --- NETHUB ARCHIVE GLOBAL --- */
.nethub-archive-wrapper {
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.nethub-section-inner {
	position: relative;
	z-index: 1;
}

/* --- HERO SECTION WITH MASK --- */
.archive-hero {
    position: relative;
    overflow: hidden;
    background-image: url(https://dev.nethub.hr/wp-content/uploads/2026/04/banner-abstract-network-gray-green-grad.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.archive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%), linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30%);
    opacity: 1;
    pointer-events: none;
}

.archive-hero::after {
    content: "";
    position: absolute;
    bottom: 1%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 251, 255, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

section.e-parent.archive-hero { 
	padding-top: 190px;
}

.nethub-overline {
	display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    line-height: 1;
	color: var(--brand-teal);
	margin-bottom: 22px;
	gap: 5px;
}

.nethub-overline a {
	font-weight: 700;
}

.single .archive-hero h1 {
	font-size: clamp(32px, 2vw + 1rem, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 0;

}

.single-post .archive-hero h1 {
	max-width: 70%;
}

/* --- FEATURED HERO CARD (1.2 : 1 Layout) --- */
.featured-news-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid var(--brand-border-color);
    padding: 32px;
    gap: 32px;
    margin-top: 40px;
    text-decoration: none;
	max-width: 70%;
    transition: all 0.3s ease;
}

.featured-news-card:hover {
    box-shadow: 0 50px 100px rgba(0, 136, 149, 0.12);
}

.featured-image {
    border-radius: 24px;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: clamp(18px, 25px, 32px);
    font-weight: 800;
	letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.2;
	margin-bottom: 15px;
	-webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- FILTERS & STICKY SEARCH --- */
.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
	margin-bottom: 60px;
	gap: 15px;
    border-bottom: 1px solid var(--brand-border-color);
    position: sticky;
	top: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.admin-bar .news-filters {
	top: 110px;
}

.news-filters .filter-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 250px);
    flex-wrap: wrap;
}

.filter-btn {
	padding: 9px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--brand-border-color);
    background: transparent;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
	box-shadow: 0 20px 40px rgba(0, 136, 149, 0.08);
    color: #fff;
}

.news-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 250px;
}

.news-inline-search {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 1);
	color: var(--text-main);
    border: 1px solid var(--brand-border-color);
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 48px;
    overflow: hidden;
}

.inline-search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
	transition: all 0.3s ease;
}

.search-toggle-btn svg {
    display: block;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.news-inline-search:not(.is-active) .search-toggle-btn:hover {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
}

.news-inline-search:not(.is-active) .search-toggle-btn:hover svg {
	color: #fff;
}

.news-inline-search.is-active {
    width: 100%;
    border-color: var(--brand-teal);
	box-shadow: 0 20px 40px rgba(0, 136, 149, 0.08);
}

.news-inline-search.is-active .inline-search-input {
    width: 100%;
    opacity: 1;
}
.news-inline-search.is-active .search-toggle-btn svg {
	transform: scale(0.9);
}
/* --- THE NEWS GRID (CONTAINED STYLE) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.news-card.post-item {
    border-radius: 32px;
	background: rgba(255, 255, 255, .4);
	backdrop-filter: blur(8px);
    border: 1px solid var(--brand-border-color);
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}

.news-card.post-item:hover {
    transform: translateY(-10px);
    border-color: var(--brand-teal);
    box-shadow: 0 20px 40px rgba(0, 136, 149, 0.08);
}

/* Image inside the padded card */
.news-card-image-wrapper {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--brand-teal);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Card Content Area */
.news-card-content {
    padding: 24px 0 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    color: var(--brand-teal);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

.news-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-content p {
    color: var(--text-muted);
    font-size: 15px;
	font-weight: 400;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Read More Button Styling */
.read-more {
    margin-top: auto;
    display: flex;
    align-items: center;
	text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news-card:hover .read-more {
    color: var(--brand-teal);
}

.news-card:hover .btn-arrow {
    transform: translateX(5px);
}

/* --- INQUIRY CARD SPECIAL STYLE --- */
.news-card.post-item.inquiry-card {
	background: linear-gradient(135deg, #008895 0%, #005f69 100%);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
	position: relative;
	min-height: 450px;
}

.inquiry-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
	flex-shrink: 0;
	margin-bottom: 20px;

}

.news-card.post-item.inquiry-card .news-card-content {
	flex-grow: 0;
	padding-top: 0;
}

.inquiry-icon-wrapper svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
}

.news-card.post-item.inquiry-card h3 {
	color: #ffffff;
}

.news-card.post-item.inquiry-card p {
	color: rgba(255, 255, 255, .8);
	max-width: 280px;
}

.news-card.post-item.inquiry-card .contact-link {
	font-size: 16px;
}

.news-card.inquiry-card .inquiry-icon-wrapper svg {
    transition: transform 0.3s ease;
}

.news-card.inquiry-card:hover .inquiry-icon-wrapper svg {
    transform: rotate(12deg);
}

/* --- PAGINATION --- */
.nethub-pagination nav {
    padding: 60px 0;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin: 0 5px;
    border-radius: 100px;
    color: var(--text-muted);
	font-size: 16px;
	line-height: 1;
    font-weight: 700;
    text-decoration: none;
	padding: 0 12px;
    transition: all 0.3s ease;
}

.page-numbers.current, .page-numbers:hover {
    background: var(--brand-teal);
    color: #fff;
    border-color: var(--brand-teal);
}

.search-refine-wrap {
    max-width: 500px;
    margin: 30px 0;
}

.nethub-search-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-meta-info {
    font-size: 14px;
    text-align: left;
    display: block;
    width: 100%;
	margin-bottom: 15px;
}

.archive-description {
	margin-bottom: 0;
}

/* --- SINGLE POST --- */
.article-meta-nethub {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    padding-top: 20px;
    width: 100%;
    max-width: 800px;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-sep {
	opacity: .5;
}

.single .entry-content {
	max-width: 900px;
	margin: 0 auto;
}

.single .entry-content figure { 
	margin: 30px 0;
}

.single .entry-content img {
	border-radius: 32px;
	width: 100%;
	/* max-height: 520px; */
	/* object-fit: cover; */
	/* object-position: top; */
}

.single .entry-content img.emoji {
	border-radius: 0;
}

.entry-content h2 {
	font-size: clamp(28px, 2.5vw + 1rem, 36px);
	font-weight: 800;
}

/* 1. The Container */
blockquote {
    position: relative;
    border-radius: 32px;
	margin: 30px 0;
    padding-top: 30px;
	display: block;
}

/* 2. The Gradient Quote Mark (Fully Visible) */
blockquote::before {
    content: "\201C";
	width: 110px;
    height: 90px;
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 150px;
    line-height: 1;
    background: linear-gradient(180deg, rgba(0, 136, 149, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    opacity: 1;
    z-index: 0;	
}

/* Specific Fix for iOS Safari */
@supports (-webkit-hyphens:none) {
    blockquote::before {
        top: -10px;
        left: -20px;
    }
}

/* 3. The Quote Text (Standard Professional Style) */
blockquote p {
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
    line-height: inherit;
    font-weight: bold;
    font-style: normal;
    color: var(--text-main);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 4. The Citation (Black Montserrat) */
blockquote cite {
    display: block;
    margin-top: 25px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000000;
    font-style: normal;
}

/* 5. Minimal Dash */
blockquote cite::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--brand-teal);
    vertical-align: middle;
    margin-right: 12px;
}

figure figcaption,
.wp-caption-text {
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    border-left: 2px solid var(--brand-teal);
    padding-left: 15px;
}

/* mci shortcodes */
.nethub-summary {
    background: #f8fcfd;
    border-radius: 32px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
}

.nethub-summary .summary-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-teal);
    margin-bottom: 15px;
}

.nethub-summary ul { list-style: none ; padding-left: 25px; margin: 0; }
.nethub-summary li {
    position: relative;
    font-weight: 600;
    color: var(--text-main);
	font-size: 16px;
}

.nethub-summary li::before {
    content: "→";
    position: absolute;
    left: -25px;
    color: var(--brand-teal);
}

.nethub-summary li:not(:last-child) {
	margin-bottom: 10px;
}

.nethub-summary p {
	margin-bottom: 0;
}

.post-cta-break {
    width: 100%;
    background: linear-gradient(135deg, #008895 0%, #005f69 100%);
    color: white;
    padding: 30px;
    border-radius: 32px;
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-cta-break p {
	margin-bottom: 0;
}

.cta-content h3 {
    margin: 0 0 10px 0 !important;
    font-size: 24px !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
}

.cta-content p {
    margin: 0 !important;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Montserrat', sans-serif;
}

.cta-button {
    background: var(--brand-teal);
    color: white;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
	line-height: 1.65;
    white-space: nowrap;
    transition: transform 0.2s ease;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.cta-button:hover {
	background: var(--brand-navy);
	color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 251, 255, 0.15);
}

/* --- NETHUB POST GALLERY STYLES --- */
/* --- Base Gallery Reset --- */
.gallery {
    display: grid;
    gap: 15px;
    margin: 40px 0;
    clear: both;
}

/* Clear standard WordPress legacy styles that break grids */
.gallery br, 
.gallery-item::after {
    display: none;
}

/* --- Dynamic Column Logic --- */
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

/* --- Gallery Item Styling --- */
.gallery-item {
    margin: 0;
    padding: 0;
    width: 100%;
}

.gallery-icon {
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.3s ease;
}

.gallery-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* --- Hover States --- */
.gallery-icon:hover {
    box-shadow: 0 12px 25px rgba(0, 136, 149, 0.15);
}

.gallery-icon:hover img {
    transform: scale(1.08);
}

/* Video Responsive Fix */
.nethub-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

/* Gallery flickity */
.nethub-post-media {
	max-height: 530px;
}
.nethub-compact-gallery {
    margin: 0 auto 50px auto;
}

.nethub-compact-gallery .carousel-items {
    opacity: 0;
	visibility: hidden;
	pointer-events: none;
	height: 0;
    display: flex;
    max-height: 450px;
    transition: opacity 0.8s ease-in-out;
}

.nethub-compact-gallery .flickity-enabled {
    opacity: 1 !important;
	visibility: visible;
	pointer-events: auto;
	height: auto;
}

.nethub-compact-gallery .carousel-item {
    width: 60%;
    margin-right: 30px;
    opacity: 0.3;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.nethub-compact-gallery .carousel-item figure {
	border-radius: 24px;
}

.nethub-compact-gallery .carousel-item.is-selected {
    opacity: 1;
    transform: scale(1);
}

.nethub-compact-gallery .carousel-items img {
    max-height: 450px;
    object-fit: cover;
    border-radius: 24px;
}

.nethub-compact-gallery .flickity-page-dots {
    display: none;
}

.nethub-compact-gallery .carousel-nav {
	justify-content: flex-end;
	align-items: center;
	padding: 15px 0;
	gap: 15px;
	color: var(--text-main);
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--brand-border-color);
    background: #fff;
    top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
    cursor: pointer;
}

.nethub-compact-gallery .carousel-nav .flickity-button {
	background: unset;
}

.nethub-compact-gallery .carousel-nav .flickity-button.previous {
	left: 0;
}

.nethub-compact-gallery .carousel-nav .flickity-button.next {
	right: 0;
}

.nethub-compact-gallery .carousel-nav .flickity-button svg {
    display: none !important;
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button::before {
    font-size: 18px;
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    position: absolute;
    transition: color 0.3s ease;
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button.previous::before {
    content: '←';
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button.next::before {
    content: '→';
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button:hover {
    background: var(--brand-teal);
    border-color: var(--brand-teal);
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button:hover::before {
    color: #fff;
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button:focus {
    outline: none;
    box-shadow: none;
}

.nethub-compact-gallery .carousel-nav .flickity-prev-next-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #fff;
    border-color: var(--brand-border-color);
}
.nethub-compact-gallery .carousel-nav .flickity-prev-next-button:disabled::before {
    color: var(--text-dark);
}

/* Fresco Lightbox */
body .fr-overlay {
	backdrop-filter: blur(15px);
}

body .fr-overlay .fr-overlay-background {
	opacity: .8;
}

body .fr-window-skin-fresco .fr-side-nav-next, 
body .fr-window-skin-fresco .fr-side-nav-prev, 
body .fr-window-skin-fresco .fr-close {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

body .fr-window-skin-fresco .fr-thumbnail-overlay-border,
body .fr-window-skin-fresco .fr-thumbnail-wrapper {
	border-radius: 12px;
}

body .fr-window-skin-fresco .fr-thumbnail-active {
    outline: 2px solid #008895;
    outline-offset: 2px;
	border-radius: 12px;
}

body .fr-window-skin-fresco .fr-content-background {
    background: transparent;
	box-shadow: unset;
}

body .fr-window-skin-fresco .fr-content-element {
	border-radius: 24px;
}

body .fr-window-skin-fresco .fr-stroke, 
body .fr-window-skin-fresco .fr-stroke-horizontal, 
body .fr-window-skin-fresco .fr-stroke-vertical,
body .fr-window-skin-fresco .fr-stroke-color {
    display: none;
    height: 0;
    width: 0;
    visibility: hidden;
    border: none;
}

body .fr-window-skin-fresco .fr-close {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    background: none;
}

body .fr-window-skin-fresco .fr-close .fr-close-background {
    background-color: #008895;
	width: 100%; 
    height: 100%;
    border-radius: 50%;
	top: 0;
    right: 0;
	left: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

body .fr-window-skin-fresco .fr-close:hover .fr-close-background {
    background-color: #333333;
    transform: scale(1.1);
}

body .fr-window-skin-fresco .fr-close .fr-close-icon {
    background: none !important; 
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

body .fr-window-skin-fresco .fr-close .fr-close-icon::before,
body .fr-window-skin-fresco .fr-close .fr-close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px; /* Bolder look */
    background-color: #ffffff;
    border-radius: 4px;
}

body .fr-window-skin-fresco .fr-close .fr-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body .fr-window-skin-fresco .fr-close .fr-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body .fr-window-skin-fresco .fr-close:hover .fr-close-icon {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.3s ease;
}

/* --- Entry Footer Styling --- */
.entry-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--brand-border-color);
}

.entry-footer > div.flex-wrap {
    gap: 30px;
}

/* Tags - Minimalist # style */
.entry-footer .tags-label, 
.entry-footer .share-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.entry-footer .post-tags a, .entry-footer .post-share a {
	display: inline-flex;
	line-height: normal;
	min-height: 30px;
	align-items: center;
	margin-top: 5px;
	margin-bottom: 5px;
}

.entry-footer .post-share .social-icon li:not(:last-child) {
    margin-inline-end: 15px;
}

.entry-footer .post-share .social-icon li a {
	font-size: 18px;
}

.entry-footer .post-tags {
	margin-left: auto;
}

.entry-footer .post-tags a {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-footer .post-tags a:not(:last-child) {
	margin-right: 15px;
}

.entry-footer .post-tags a:hover { 
	color: var(--text-main);
}

/* Adds the hashtag before each tag link automatically */
.entry-footer .post-tags a::before { 
    content: '#'; 
    opacity: 0.5; 
    margin-right: 2px; 
}

/* --- Post Navigation Styling --- */
.nethub-post-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: normal;
    padding-top: 60px;
    width: 100%;
    margin: 0 auto;
}

.nethub-post-nav a { 
    text-decoration: none;
	line-height: 0;
}

/* Layout adjustments */
.nethub-post-nav .nav-previous, 
.nethub-post-nav .nav-next {
    min-width: 0;
    max-width: 500px;
}

.nethub-post-nav .nav-previous {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nethub-post-nav .nav-center {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
	height: 100%;
    padding: 0 40px;
}

.nethub-post-nav .nav-next { 
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.nethub-post-nav .nav-subtitle {
    display: inline-flex;
    align-items: center;
	line-height: normal;	
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-teal);
    margin-bottom: 10px;
}

.nethub-post-nav .nav-subtitle .nav-arrow {
	font-size: 16px;
	line-height: 1;
    transition: transform 0.3s ease;
}

.nethub-post-nav .nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
	word-wrap: break-word;
    display: -webkit-box;
	max-width: 300px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.nethub-post-nav a:hover .nav-arrow.nav-arrow-left {
    transform: translateX(-4px);
}

.nethub-post-nav a:hover .nav-arrow.nav-arrow-right {
    transform: translateX(4px);
}

.nethub-post-nav a:hover .nav-title {
    color: var(--brand-teal);
}

/* Center Grid Icon Wrapper */
.nethub-post-nav .nav-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-creme);
    border-radius: 50%;
    color: var(--text-main);
    transition: all 0.4s ease;
    border: 1px solid var(--brand-border-color);
}

.nethub-post-nav .nethub-nav-all:hover .nav-icon-wrapper {
    background: var(--brand-teal);
    color: #ffffff;
    border-color: var(--brand-teal);
    transform: rotate(90deg);
}

/* --- RELATED POSTS --- */
.related-posts-section {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.related-posts-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/banner-abstract-mesh-waves.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.related-posts-section .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.related-posts-section .related-card.news-card.post-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}


.news-mobile-pagination {
    display: none;
}

/* Iframe video */
/* --- Video / Iframe Wrapper --- */
.project-entry-content iframe {
    display: block;
    max-width: 100%;
    border-radius: 32px;
    border: 1px solid #EAECF0;
    box-shadow: 0 50px 80px rgba(0, 136, 149, 0.12);
    overflow: hidden;
}

/* Optional: Make the iframe container responsive for 16:9 ratio */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 32px;
    margin: 40px 0;
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Lightbox fixes. */
/* Force Lightbox Arrows to be visible */
.elementor-lightbox .elementor-swiper-button {
	position: absolute;
	top: 0;
	z-index: 1;
}

.elementor-lightbox .elementor-swiper-button svg {
	width: 50px;
}

/* TABLE */
/* --- NetHub Standard Table Styling --- */

.nethub-contents-wrap table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 32px 0;
    border: 1px solid #EAECF0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
}

/* Header Styling - Now using Nethub Black */
.nethub-contents-wrap table thead th {
    background-color: #0e2b3c;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid #0e2b3c;
}

/* Cell Styling */
.nethub-contents-wrap table td {
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1.5;
	font-weight: 400;
    color: #0e2b3c;
    border-bottom: 1px solid #F2F4F7;
    vertical-align: middle;
}

/* Zebra Stripes - Using Light Teal Tint */
.nethub-contents-wrap table tbody tr:nth-child(odd) {
	background-color: #fff;
}
.nethub-contents-wrap table tbody tr:nth-child(even) {
    background-color: #f0fafa;
}

/* Hover Effect - Darker Teal for Contrast */
.nethub-contents-wrap table tbody tr:hover {
    background-color: #dfeff0;
    transition: background 0.2s ease;
}

/* Clean up last row */
.nethub-contents-wrap table tbody tr:last-child td {
    border-bottom: none;
}

/* Bold text inside cells */
.nethub-contents-wrap table td strong {
    color: #0e2b3c;
    font-weight: 600;
}

.nethub-contents-wrap table tfoot {
	background-color: #0e2b3c;
}

.nethub-contents-wrap table tfoot tr td {
	color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 18px 24px;
    text-align: left;
}

.mobile-only-trigger {
    display: none !important;
}

.desktop-only {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.news-grid .post-item {
    will-change: opacity;
}

.post-item.new-ajax-item {
    animation: fadeInUp 0.6s ease forwards;
}

.is-fetching-more::after {
    content: "Loading more...";
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-size: 14px;
    color: #888;
    animation: pulse_loading 1.5s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse_loading {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (min-width: 1600px) { 
	.nethub-compact-gallery .carousel-item {
		width: 50%; 
	}
}
@media (max-width: 1599px) {
    .featured-news-card { max-width: 85%; }
	.news-grid, .related-posts-section .news-grid { grid-template-columns: repeat(3, 1fr); }
	
	.nethub-compact-gallery .carousel-item {
		width: 50%;
    }
	
	.nethub-compact-gallery .carousel-items img {
		max-height: 350px; 
	}
}

@media (max-width: 1200px) {
    .featured-news-card { max-width: 100%; }
}

@media (min-width: 1025px) and (max-width: 1599px) {
    section.e-parent.archive-hero {
        padding-top: 160px;
    }
}

@media (min-width: 1025px) { 
	.inquiry-icon-wrapper { 
		position: absolute;
		top: 32px;
		left: 32px;
		margin-bottom: 0;
	}
	
}

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
	
	section.e-parent.archive-hero { 
		padding-top: 160px;
	}
	
	.nethub-input, input[type="text"], input[type="email"] {
	    width: 100%;
	}
	
	.gallery {
        grid-template-columns: repeat(4, 1fr);
    }
	
	.nethub-compact-gallery .carousel-items img {
		max-height: 300px; 
	}
}

@media (min-width: 768px) {
    .mobile-bottom-inquiry {
        display: none;
    }
}

@media (max-width: 767px) {
	section.e-parent.archive-hero { 
		padding-top: 130px;
	}
	
	.archive-hero h1 { 
		max-width: 100%;
	}
	
    .featured-news-card { grid-template-columns: 1fr; padding: 32px; }
    .featured-image { min-height: 250px; }
	
	.news-container-wrapper {
		margin: 0 -20px;
	}
	.news-grid,
	.related-posts-section .news-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        margin: 0;
        scrollbar-width: none;
		width: 100%;
    }

    .news-grid::-webkit-scrollbar { display: none; }

    .news-card.post-item {
        flex: 0 0 calc(100% - 40px);
        min-width: calc(100% - 40px);
        scroll-snap-align: center; 
        scroll-snap-stop: always;
        height: auto;
		margin: 0 20px;
    }
	
	.news-card.post-item:hover {
        transform: unset;
        box-shadow: unset;
        border-color: var(--brand-border-color);
	}

    .news-filters {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .news-filters .filter-buttons {
        width: 100%;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        scrollbar-width: none;
		margin: 0 -20px;
		width: calc(100% + 40px);
		padding: 0 20px;
    }
	
	.news-search-wrapper {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        margin-top: 20px;
        margin-bottom: 10px;
    }
	
	.news-inline-search {
        width: 100%;
        max-width: 400px;
    }
	
	.news-inline-search.is-active {
        width: 100%;
		box-shadow: unset;
        border-color: var(--brand-border-color);
    }
	
	.mobile-bottom-inquiry {
        display: block;
		margin-top: 50px;
    }
	
	.mobile-bottom-inquiry .inquiry-card {
		margin: 0;
    }
	
	.nethub-main-content input[type="text"], .nethub-main-content input[type="search"], .nethub-main-content textarea, .nethub-main-content select {
        font-size: 16px;
    }
	
	.post-cta-break {
        flex-direction: column;
        text-align: center;
    }
	
    .cta-button {
        margin-top: 30px;
    }
	
	.nethub-main-content input[type="text"],
    .nethub-main-content input[type="search"],
    .nethub-main-content textarea,
    .nethub-main-content select {
        font-size: 16px;
    }
	
	.half-width {
		width: 100%;
	}
	
	.nethub-contents-wrap figure.wp-block-table {
        overflow-x: auto;
        border-radius: 12px;
        border: 1px solid var(--brand-border-color);
    }
	
	.wp-block-table {
        overflow-x: auto;
        border-radius: 12px;
    }
	
	.post-meta-wrapper {
        justify-content: start;
    }
	
	.entry-footer {
        grid-template-columns: 1fr auto 1fr; 
        padding-top: 40px;
        gap: 10px;
    }

    .nethub-post-nav .nav-title {
        display: none !important;
    }

    .nethub-post-nav .nav-center {
        padding: 0 15px;
    }

    .nethub-post-nav .nav-icon-wrapper {
        width: 40px;
        height: 40px;
    }
	
	.nethub-post-nav .nav-icon-wrapper svg {
		width: 16px;
		height: 16px;
    }

    .nethub-post-nav .nav-subtitle {
		margin-bottom: 0;
    }
	
    .entry-footer .post-tags, 
	.entry-footer .post-share {
        width: 100%;
        max-width: 100%;
    }
	
	.nethub-post-nav {
		align-items: center;
    }
	
	
	.nethub-mobile-pagination-wrapper {
		margin-top: 30px;
    }
	
	.nethub-mobile-pagination-wrapper .news-mobile-pagination {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: center;
        gap: 10px;
		margin: 0 auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Hide scrollbar for dots but keep functionality */
	.nethub-mobile-pagination::-webkit-scrollbar {
		display: none;
	}

    .news-mobile-pagination .dot.is-hidden {
        display: none;
    }

    .news-mobile-pagination .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #e0e0e0;
        transition: all 0.3s ease;
    }

    .news-mobile-pagination .dot.active {
        background: var(--brand-teal);
        width: 20px;
        border-radius: 4px;
    }
	
	.gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
	
	.nethub-contents-wrap table {
        table-layout: auto;
    }
	
    .nethub-contents-wrap table td, 
    .nethub-contents-wrap table th {
        padding: 12px 16px;
        font-size: 14px;
    }
	
	.nethub-compact-gallery .carousel-item {
		width: 60%;
    }
	
	.nethub-compact-gallery .carousel-items img {
		max-height: 200px;
    }
	
	.page-numbers {
		font-size: 14px;
		padding: 0 5px;
		min-width: 24px;
        height: 24px;
    }
	
	#horizontal-load-trigger.mobile-only-trigger {
        display: flex !important;
        flex: 0 0 50px;
        min-width: 50px;
        height: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    #horizontal-load-trigger .loader-spinner {
        display: none;
        width: 20px;
        height: 20px;
    }
    
    #horizontal-load-trigger.is-loading .loader-spinner {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }	
	
	.news-grid .inquiry-card {
        display: none !important;
    }

}

@media (max-width: 480px) {
    .search-input-group {
        flex-direction: column;
        padding: 15px;
    }
	
    .nethub-search-submit {
        width: 100%;
        margin-top: 10px;
    }
	
	.nethub-contents-wrap table thead th,
	.nethub-contents-wrap table tbody td {
		padding: 10px 5px;
    }
	
	.nethub-post-nav .nav-previous a,
	.nethub-post-nav .nav-next a {
		max-width: 105px;
    }
	
	.gallery {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.nethub-contents-wrap table {
        table-layout: fixed;
    }
	
}


