/* Tips & Guidance page — reference match */

.page-tips {
    background: #FDFBF7;
    color: #2A221C;
}

.tp-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E88C1B;
}

.tp-hero .tp-label {
    padding: 0.48rem 1.05rem;
    border-radius: 999px;
    background: rgba(242, 145, 17, 0.12);
    color: #E88C1B;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-bottom: 1.35rem;
}

/* ---- Hero ---- */
.tp-hero {
    padding: 3.75rem 0 2.5rem;
    background:
        radial-gradient(circle at 88% 42%, rgba(230, 126, 34, 0.12), transparent 42%),
        #FDFBF7;
    overflow: hidden;
}

.tp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 3.5vw, 2.5rem);
    align-items: center;
}

.tp-hero-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.55rem, 4.6vw, 3.85rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: #2D2521;
}

.tp-hero-title span { display: block; }
.tp-hero-title-dark { color: #2D2521; }
.tp-hero-title-accent {
    color: #E88C1B;
    font-style: italic;
}

.tp-hero-sub {
    margin: 0 0 1.75rem;
    max-width: 42ch;
    color: #6B6B6B;
    font-size: 1.03rem;
    line-height: 1.75;
}

.tp-hero-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
}

.tp-hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D2521;
}

.tp-hero-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(232, 140, 27, 0.55);
    background: transparent;
    color: #E88C1B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-hero-visual {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    display: block;
}

.tp-hero-img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    box-shadow: 0 30px 64px rgba(45, 37, 33, 0.16);
    -webkit-mask-image: none;
    mask-image: none;
}

/* ---- Topics ---- */
.tp-topics {
    padding: 1.5rem 0 2.75rem;
}

.tp-section-label-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tp-topics-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.85rem;
}

.tp-topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 118px;
    padding: 1rem 0.55rem;
    text-align: center;
    text-decoration: none;
    color: #2A221C;
    background: #fff;
    border: 1px solid rgba(45, 37, 33, 0.1);
    border-radius: 14px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tp-topic-card:hover,
.tp-topic-card.is-active {
    border-color: rgba(230, 126, 34, 0.45);
    box-shadow: 0 10px 24px rgba(230, 126, 34, 0.1);
    transform: translateY(-2px);
}

.tp-topic-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.12);
    color: #E67E22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tp-topic-name {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ---- Main layout ---- */
.tp-main {
    padding: 1rem 0 3rem;
}

.tp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
    gap: 1.5rem 1.75rem;
    align-items: start;
}

/* Tip of the day */
.tp-tipday {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(230, 126, 34, 0.12);
    box-shadow: 0 14px 36px rgba(230, 126, 34, 0.08);
    margin-bottom: 2rem;
}

.tp-tipday-copy {
    padding: 1.75rem 1.85rem 1.85rem;
    position: relative;
}

.tp-tipday-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E67E22;
    margin-bottom: 0.85rem;
}

.tp-tipday-quote {
    position: absolute;
    top: 2.4rem;
    right: 1.5rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: 5rem;
    line-height: 1;
    color: rgba(230, 126, 34, 0.18);
    pointer-events: none;
}

.tp-tipday-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.85rem;
    color: #2A221C;
    max-width: 22ch;
}

.tp-tipday-desc {
    margin: 0 0 1.15rem;
    color: #6B625A;
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 36ch;
}

.tp-tipday-media {
    position: relative;
    min-height: 100%;
    background: #2A1608;
}

.tp-tipday-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

/* Articles */
.tp-articles-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.tp-articles-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 700;
    margin: 0;
    color: #2A221C;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tp-articles-title span {
    color: #E67E22;
    font-size: 0.95em;
}

.tp-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.tp-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(45, 37, 33, 0.08);
}

.tp-article-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F3E9DC;
}

.tp-article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.tp-article-card:hover .tp-article-media img {
    transform: scale(1.04);
}

.tp-article-body {
    padding: 1rem 1.05rem 1.2rem;
}

.tp-article-meta {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #E67E22;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.tp-article-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.tp-article-title a {
    color: #2A221C;
    text-decoration: none;
}

.tp-article-title a:hover { color: #C45A12; }

.tp-article-excerpt {
    margin: 0 0 0.75rem;
    color: #6B625A;
    font-size: 0.88rem;
    line-height: 1.55;
}

.tp-pagination {
    margin-top: 1.5rem;
}

.tp-empty-soft {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px dashed rgba(230, 126, 34, 0.35);
}

.tp-empty-soft h3 {
    font-family: var(--font-display, Georgia, serif);
    margin: 0 0 0.5rem;
}

.tp-empty-soft p {
    color: #6B625A;
    margin: 0 0 1rem;
}

/* Sidebar */
.tp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.tp-panchang {
    background: linear-gradient(165deg, #1B2740 0%, #121C30 100%);
    color: #fff;
    border-radius: 18px;
    padding: 1.25rem 1.2rem 1.15rem;
    overflow: visible;
}

.tp-panchang-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    overflow: visible;
}

.tp-panchang-head h3 {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: #ffffff;
    overflow: visible;
    padding-bottom: 0.05em;
}

.tp-panchang-head p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.tp-panchang-cal {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.tp-panchang-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.tp-panchang-list li {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 0.55rem;
    align-items: center;
    font-size: 0.88rem;
}

.tp-panchang-ico {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.18);
    color: #E67E22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tp-panchang-key { color: rgba(255, 255, 255, 0.78); }
.tp-panchang-val { color: #F5E6D0; font-weight: 600; text-align: right; }

.tp-panchang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    color: #E67E22;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding-top: 0.35rem;
}

.tp-panchang-link:hover { color: #F4A261; }

.tp-ask,
.tp-inspired {
    background: #FFF8F0;
    border-radius: 16px;
    padding: 1.25rem 1.2rem;
    border: 1.5px solid rgba(230, 126, 34, 0.28);
}

.tp-ask-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.14);
    color: #E67E22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.tp-ask h3,
.tp-inspired h3 {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.2rem;
    margin: 0 0 0.45rem;
    color: #2A221C;
}

.tp-ask p,
.tp-inspired p {
    margin: 0 0 1rem;
    color: #6B625A;
    font-size: 0.9rem;
    line-height: 1.55;
}

.tp-inspired-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.tp-inspired-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(45, 37, 33, 0.12);
    padding: 0 0.85rem;
    background: #fff;
    font-size: 0.9rem;
}

.tp-inspired-input:focus {
    outline: 2px solid rgba(230, 126, 34, 0.35);
    border-color: #E67E22;
}

.tp-inspired-note {
    margin: 0 !important;
    font-size: 0.75rem !important;
    color: #8A8078 !important;
}

/* Shared buttons / links */
.tp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #E67E22;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.tp-link:hover { color: #C45A12; }
.tp-link--sm { font-size: 0.86rem; }

.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.7rem 1.15rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform .2s ease, background .2s ease;
    white-space: nowrap;
}

.tp-btn:hover { transform: translateY(-1px); }

.tp-btn--solid {
    background: #E67E22;
    color: #fff;
    border-color: #E67E22;
}

.tp-btn--outline {
    background: #fff;
    color: #E67E22;
    border-color: #E67E22;
}

.tp-ask .tp-btn,
.tp-inspired .tp-btn {
    width: 100%;
    margin-bottom: 0.7rem;
}

.tp-inspired-form .tp-btn {
    width: auto;
    margin-bottom: 0;
    flex: 0 0 auto;
}

/* Banner */
.tp-banner {
    padding: 0 0 4.5rem;
}

.tp-banner-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem 1.5rem;
    align-items: center;
    padding: 1.15rem 1.35rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 50%, rgba(230, 126, 34, 0.14), transparent 40%),
        radial-gradient(circle at 94% 50%, rgba(230, 126, 34, 0.12), transparent 38%),
        linear-gradient(90deg, #FFF6EB, #FFF9F2 50%, #FFF4E6);
    border: 1px solid rgba(230, 126, 34, 0.18);
}

.tp-banner-media img {
    width: 110px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.tp-banner-copy h2 {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    margin: 0 0 0.35rem;
    color: #2A221C;
    line-height: 1.25;
}

.tp-banner-copy p {
    margin: 0;
    color: #6B625A;
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 52ch;
}

.page-tips .tips-empty {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(230, 126, 34, 0.15);
}

.page-tips .tips-empty-illustration {
    max-width: 220px;
    margin: 0 auto 1rem;
}

.page-tips .tips-empty-title {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.page-tips .tips-empty-text {
    color: #6B625A;
    margin: 0 0 1.25rem;
}

.page-tips .tips-empty .pg-btn,
.page-tips .tips-empty .tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    background: #E67E22;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
    .tp-topics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tp-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .tp-hero-grid,
    .tp-layout,
    .tp-tipday,
    .tp-banner-bar { grid-template-columns: 1fr; }
    .tp-hero-visual { order: -1; }
    .tp-hero-img {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
    .tp-tipday-img {
        min-height: 220px;
    }
    .tp-banner-bar { text-align: center; justify-items: center; }
    .tp-inspired-form { flex-direction: column; }
    .tp-inspired-form .tp-btn { width: 100%; }
}

@media (max-width: 767.98px) {
    .tp-hero { padding: 2.75rem 0 1.75rem; }
    .tp-topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-articles-grid { grid-template-columns: 1fr; }
    .tp-hero-features { flex-direction: column; align-items: flex-start; }
    .tp-articles-head { flex-direction: column; align-items: flex-start; }
    .tp-banner { padding-bottom: 3.25rem; }
}
