/* ==========================================================================
   HOMEMADEPORNO.NET /NEWS — LIGHT GLASSMORPHIC BLOG TEMPLATE
   ========================================================================== */

:root {
    --glass-bg: rgba(255, 255, 255, 0.76);
    --glass-bg-strong: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.95);
    --glass-outline: rgba(226, 232, 240, 0.88);
    --glass-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --glass-shadow-hover: 0 20px 38px -10px rgba(225, 29, 72, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    --accent-primary: #e11d48;
    --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    --accent-soft: rgba(225, 29, 72, 0.1);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

body.hmp-theme {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--text-primary);
    background-color: #f1f5f9;
    background-image:
        radial-gradient(at 0% 0%, rgba(244, 63, 94, 0.11) 0px, transparent 48%),
        radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.11) 0px, transparent 48%),
        radial-gradient(at 50% 45%, rgba(255, 255, 255, 0.85) 0px, transparent 60%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.09) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    min-width: 320px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button {
    font-family: "Montserrat", sans-serif;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 18px;
}

.svg-icon {
    width: 1em;
    height: 1em;
    display: block;
    fill: currentColor;
}

/* ==========================================================================
   1. TOP PARTNER & MEMBER BAR (.top-links)
   ========================================================================== */
.top-links {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    z-index: 120;
}

.top-links-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.top-links-partners {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.top-links-partners a {
    color: var(--text-secondary);
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 11.5px;
    font-weight: 700;
}

.top-links-partners a:hover,
.top-links-partners a.active-partner {
    color: #ffffff;
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.25);
}

.top-links-member {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.top-links-member .top-member-link {
    color: var(--text-secondary);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.top-links-member .top-member-link:hover {
    color: var(--accent-primary);
    border-color: rgba(225, 29, 72, 0.35);
    background: #ffffff;
}

/* ==========================================================================
   2. STICKY GLASSMORPHIC HEADER & BRAND LOGO (.header)
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 110;
    padding: 12px 0;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 28px -6px rgba(15, 23, 42, 0.06);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header .logo {
    flex-shrink: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 6px 14px 6px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.96);
    outline: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.06);
}

.brand-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(225, 29, 72, 0.16);
    outline-color: rgba(225, 29, 72, 0.3);
}

.brand-logo-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff4d6d 0%, #f43f5e 50%, #be123c 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.brand-logo-badge svg {
    width: 24px;
    height: 24px;
}

.brand-logo-rec {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-logo-wordmark {
    display: flex;
    align-items: center;
    font-size: 20px;
    letter-spacing: -0.7px;
}

.brand-word-main {
    font-weight: 800;
    color: #0f172a;
}

.brand-word-accent {
    font-weight: 900;
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-word-tld {
    margin-left: 5px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-top: -1px;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
}

.brand-logo-tagline {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-top: 3px;
}

.header-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 14px rgba(15, 23, 42, 0.03);
}

.menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-item {
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
}

.menu-item-link {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.menu-item-link.active,
.menu-item-link:hover,
.menu-item.open .menu-item-link,
.menu-item-has-drop:hover .menu-item-link {
    color: #ffffff;
    background: var(--accent-gradient);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.menu-item-drop {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu .icon-menu .svg-icon {
    font-size: 9px;
}

.mini-drop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 170px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14);
    z-index: 200;
    display: none;
}

.menu-item-has-drop::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.menu-item.open .mini-drop,
.menu-item-has-drop:hover .mini-drop {
    display: block;
}

.mini-drop-item a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.mini-drop-item a:hover {
    color: var(--accent-primary);
    background: var(--accent-soft);
}

.search {
    width: 260px;
    position: relative;
}

.search .search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    padding: 3px 4px 3px 16px;
}

.search-input {
    flex-grow: 1;
}

.search-input .input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 13px;
    padding: 7px 6px 7px 0;
}

.search-submit .icon-search {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
}

.search-submit .icon-search .svg-icon {
    font-size: 14px;
    color: #ffffff;
}

/* ==========================================================================
   3. TWO-COLUMN MAIN LAYOUT & LEFT SIDEBAR (.main-holder / .sidebar)
   ========================================================================== */
.main {
    flex: 1;
}

.main-holder {
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.sidebar {
    width: 285px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-card {
    background: var(--glass-bg);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid var(--glass-border);
    outline: 1px solid var(--glass-outline);
    border-radius: 22px;
    padding: 16px 14px;
    box-shadow: var(--glass-shadow);
}

.sidebar-top {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 10px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-primary);
}

.sidebar-top i {
    color: var(--accent-primary);
    font-size: 14px;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.sidebar-item-icon {
    color: #94a3b8;
    font-size: 12px;
    width: 16px;
    text-align: center;
    margin-right: 6px;
}

.sidebar-list-name {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-list-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 2px 8px;
    border-radius: 999px;
}

.sidebar-live-badge {
    background: rgba(225, 29, 72, 0.12);
    color: var(--accent-primary);
    border-color: rgba(225, 29, 72, 0.25);
    font-weight: 800;
}

.sidebar-list-item:hover,
.sidebar-list-item.active {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
    transform: translateX(2px);
}

.sidebar-list-item:hover .sidebar-item-icon,
.sidebar-list-item.active .sidebar-item-icon,
.sidebar-list-item:hover .sidebar-list-name,
.sidebar-list-item.active .sidebar-list-name {
    color: #ffffff !important;
}

.sidebar-list-item:hover .sidebar-list-count,
.sidebar-list-item.active .sidebar-list-count {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
}

.sidebar-ad-card {
    padding: 12px;
    text-align: center;
}

.sidebar-ad-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.sidebar-ad-wrap {
    width: 100%;
    min-height: 250px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(241, 245, 249, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-ad-wrap iframe {
    width: 260px;
    height: 250px;
    border: none;
    display: block;
}

/* ==========================================================================
   4. BLOG CONTENT AREA & GLASSMORPHIC ARTICLE CARDS (.news-post-card)
   ========================================================================== */
.content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 20px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    outline: 1px solid var(--glass-outline);
    box-shadow: var(--glass-shadow);
}

.headline-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.headline-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent-gradient);
    flex-shrink: 0;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.95);
    color: var(--text-secondary);
}

.btn-back-blog:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
}

.news-posts-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
}

.news-post-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid var(--glass-border);
    outline: 1px solid var(--glass-outline);
    border-radius: 24px;
    padding: 26px 28px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, outline-color 0.22s ease;
}

.news-posts-list .news-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-hover);
    outline-color: rgba(225, 29, 72, 0.28);
}

.news-post-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.news-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.news-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-cat-badge:hover {
    background: var(--accent-gradient);
    color: #ffffff;
}

.news-date-badge,
.news-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.85);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.news-post-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.news-post-title a {
    color: var(--text-primary);
}

.news-post-title a:hover {
    color: var(--accent-primary);
}

.news-post-body {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.news-post-body p {
    margin-bottom: 14px !important;
}

.news-post-body span {
    font-family: "Montserrat", sans-serif !important;
    color: inherit !important;
}

.news-post-body img {
    border-radius: 16px;
    margin: 14px auto;
    max-height: 480px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 26px -6px rgba(15, 23, 42, 0.14);
}

.news-post-body a {
    color: var(--accent-primary);
    font-weight: 700;
    text-decoration: underline;
}

.news-post-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    display: flex;
    justify-content: flex-end;
}

.news-single-post .news-post-footer {
    display: none;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
}

.news-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.38);
    color: #ffffff;
}

.empty-content {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    outline: 1px solid var(--glass-outline);
    border-radius: 22px;
    padding: 32px;
    text-align: center;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ==========================================================================
   5. PAGINATION & FOOTER (.pagination / .footer)
   ========================================================================== */
.pagination {
    margin: 26px 0;
}

.pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pagination ul li > a,
.pagination ul li > span {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
}

.pagination ul li > a {
    background: var(--glass-bg-strong);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    outline: 1px solid var(--glass-outline);
    box-shadow: var(--glass-shadow);
}

.pagination ul li > span,
.pagination ul li.active > a,
.pagination ul li.active > span {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.32);
}

.pagination ul li > a:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer {
    padding: 28px 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--text-muted);
    margin-top: 36px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12.5px;
}

.footer-link a {
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 8px;
}

.footer-link a:hover {
    color: var(--accent-primary);
    background: var(--accent-soft);
}

.footer-sep {
    color: #cbd5e1;
}

.footer-text {
    font-size: 11.5px;
    color: var(--text-muted);
}

@media only screen and (max-width: 1120px) {
    .header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .header-holder {
        width: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    .main-holder {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        order: 2;
    }
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media only screen and (max-width: 820px) {
    .header-holder {
        flex-wrap: wrap;
        border-radius: 22px;
        padding: 10px;
        gap: 10px;
        justify-content: center;
    }
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .search {
        width: 100%;
    }
    .news-post-card {
        padding: 18px;
    }
    .news-post-title {
        font-size: 18px;
    }
}
