/* ============================================================
   RINOKA BRAND THEME
   Shared tokens + components for interior (non-landing) pages,
   extracted from the homepage design (site/microsite/rinoka.blade.php)
   ============================================================ */

:root {
    --teal: #2d5a52;
    --teal-dark: #1e3d38;
    --teal-light: #3e7068;
    --cream: #f5f0e8;
    --gold: #c9a96e;
    --gold-light: #e8d5b0;
    --text: #1a2825;
    --text-muted: #5a7068;
}

.rinoka-page { font-family: 'Jost', sans-serif; color: var(--text); background: var(--cream); }
.rinoka-page *, .rinoka-page *::before, .rinoka-page *::after { box-sizing: border-box; }
.rinoka-page .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.rinoka-page .text-justify { text-align: justify; }

/* ===== NAV (solid / sticky variant for interior pages) ===== */
.rinoka-nav { position: sticky; top: 0; z-index: 1000; background: var(--teal-dark); }
.rinoka-nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.rinoka-nav .nav-logo img { height: 44px; filter: brightness(0) invert(1); display: block; }
.rinoka-nav .nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.rinoka-nav .nav-links a {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400;
    transition: color 0.2s;
}
.rinoka-nav .nav-links a:hover { color: var(--gold); }
.rinoka-nav .nav-links li.nav-active a { color: var(--gold); }
.rinoka-nav .nav-cta {
    background: var(--gold); color: var(--teal-dark);
    padding: 10px 26px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 500; text-decoration: none; transition: background 0.2s;
}
.rinoka-nav .nav-cta:hover { background: var(--gold-light); }
.rinoka-nav .nav-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001;
}
.rinoka-nav .nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.rinoka-nav .nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rinoka-nav .nav-hamburger.active span:nth-child(2) { opacity: 0; }
.rinoka-nav .nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.rinoka-nav .nav-links-cta-item { display: none; }

@media (max-width: 900px) {
    .rinoka-nav .nav-hamburger { display: flex; }
    .rinoka-nav .nav-cta { display: none; }
    .rinoka-nav .nav-links {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(20,45,40,0.98);
        flex-direction: column; align-items: center; justify-content: center; gap: 36px;
        transform: translateX(100%); transition: transform 0.4s ease; z-index: 999;
    }
    .rinoka-nav .nav-links.open { transform: translateX(0); }
    .rinoka-nav .nav-links a { font-size: 14px; letter-spacing: 3px; }
    .rinoka-nav .nav-links-cta-item { display: block; }
    .rinoka-nav .nav-links-cta-item a {
        background: var(--gold); color: var(--teal-dark);
        padding: 12px 30px; display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    }
}

/* ===== SECTION BASICS ===== */
.rinoka-page .section-tag {
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
    margin-bottom: 14px; display: flex; align-items: center; gap: 14px; font-weight: 500;
}
.rinoka-page .section-tag::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.rinoka-page .btn-primary {
    background: var(--gold); color: var(--teal-dark);
    padding: 14px 34px; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500;
    text-decoration: none; border: 2px solid var(--gold); display: inline-block; transition: all 0.3s;
}
.rinoka-page .btn-primary:hover { background: transparent; color: var(--gold); }
.rinoka-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rinoka-page .reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== PAGE HEADER BAND ===== */
.page-header-band {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    padding: 80px 0 64px; text-align: center; color: #fff;
}
.page-header-band .section-tag { justify-content: center; }
.page-header-title {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(38px, 5vw, 60px); font-weight: 300;
    color: #fff; margin: 6px 0 0;
}
.page-header-desc {
    max-width: 560px; margin: 20px auto 0; color: rgba(255,255,255,0.65);
    font-size: 14px; line-height: 1.9; font-weight: 300;
}
.rinoka-breadcrumb { margin-top: 18px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.rinoka-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.rinoka-breadcrumb a:hover { color: var(--gold); }

/* ===== NEWS SECTION / LISTING ===== */
.news-section { padding: 80px 0 100px; }

.news-featured {
    display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; margin-bottom: 56px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.news-featured-img { position: relative; overflow: hidden; min-height: 340px; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-featured-badge {
    position: absolute; top: 20px; left: 20px; background: var(--gold); color: var(--teal-dark);
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; font-weight: 500;
}
.news-featured-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.news-featured-title {
    font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400;
    color: var(--teal-dark); line-height: 1.25; margin: 0 0 16px;
}
.news-featured-title a { color: inherit; text-decoration: none; }
.news-featured-title a:hover { color: var(--teal); }
.news-featured-excerpt { font-size: 14px; line-height: 1.9; color: var(--text-muted); font-weight: 300; margin-bottom: 26px; }

.news-link {
    display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold); text-decoration: none; font-weight: 500; transition: gap 0.2s, color 0.2s;
}
.news-link::after { content: '\2192'; }
.news-link:hover { color: var(--teal); gap: 14px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card { background: #fff; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.news-card-img { aspect-ratio: 4/3; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.news-card-title {
    font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400;
    color: var(--teal-dark); line-height: 1.35; margin: 0 0 16px;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--teal); }
.news-card .news-link { margin-top: auto; }

.news-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); font-weight: 300; }

.rinoka-pagination { margin-top: 60px; display: flex; justify-content: center; }
.rinoka-pagination .pagination { display: flex; list-style: none; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.rinoka-pagination .page-item .page-link {
    display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.1); background: #fff; color: var(--teal-dark);
    font-size: 12px; text-decoration: none; transition: all 0.2s;
}
.rinoka-pagination .page-item.active .page-link { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--gold); }
.rinoka-pagination .page-item.disabled .page-link { opacity: 0.35; }
.rinoka-pagination .page-link:hover { border-color: var(--gold); color: var(--teal); }

/* ===== ARTICLE DETAIL ===== */
.article-section { padding: 80px 0 100px; }
.article-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.article-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; margin-bottom: 32px; }
.article-body { background: #fff; padding: 48px; }
.article-date { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.article-title {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3vw, 42px); font-weight: 400;
    color: var(--teal-dark); line-height: 1.25; margin: 0 0 24px;
}
.article-content { font-size: 15px; line-height: 2; color: var(--text-muted); font-weight: 300; }
.article-content p { margin: 0 0 20px; }
.article-share { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,0.08); }
.article-share .text-blue { color: var(--gold) !important; }
.article-share .text-blue:hover { color: var(--teal) !important; }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.article-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.sidebar-widget { background: #fff; padding: 32px 26px; position: sticky; top: 100px; }
.sidebar-widget-title {
    font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--teal-dark);
    margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.sidebar-news-item { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; margin-bottom: 18px; }
.sidebar-news-item:last-child { margin-bottom: 0; }
.sidebar-news-img { width: 70px; height: 70px; object-fit: cover; flex-shrink: 0; display: block; }
.sidebar-news-title { font-size: 13px; line-height: 1.5; color: var(--teal-dark); font-weight: 400; transition: color 0.2s; }
.sidebar-news-item:hover .sidebar-news-title { color: var(--teal); }
.sidebar-empty { font-size: 13px; color: var(--text-muted); font-weight: 300; }
.sidebar-back-link { margin-top: 24px; }

/* ===== FOOTER (styles the branded footer markup rendered by layout/footer.blade.php when isset($footer)) ===== */
footer {
    background: #111e1c; padding: 60px 24px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; align-items: start;
    color: rgba(255,255,255,0.5); font-size: 12px; font-family: 'Jost', sans-serif;
    max-width: 1280px; margin: 0 auto;
}
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 0; }
.footer-brand p { line-height: 1.8; font-weight: 300; color: rgba(255,255,255,0.6); font-family: 'Jost', sans-serif; }
.footer-logos { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.footer-logos img { height: 34px; width: auto; }
.footer-logos-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.footer-col-title { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
    background: #0e1816; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
    font-size: 11px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px;
}

@media (max-width: 900px) {
    .news-featured { grid-template-columns: 1fr; }
    .news-featured-body { padding: 32px 24px; }
    .news-grid { grid-template-columns: 1fr; gap: 24px; }
    .article-wrap { grid-template-columns: 1fr; gap: 36px; }
    .article-body { padding: 32px 24px; }
    .article-gallery { grid-template-columns: repeat(2, 1fr); }
    .sidebar-widget { position: static; }
    .page-header-band { padding: 64px 0 48px; }
    footer { grid-template-columns: 1fr; gap: 36px; padding: 44px 24px; }
    .footer-col-desktop { display: none; }
}
