/* ══════════════════════════════════════
   Vaikathukaran — Homepage Section + Dedicated Page
   Black & white, old-school ink/newsprint aesthetic
   ══════════════════════════════════════ */

.vk-paper-bg {
    background-color: #f7f6f2;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1.4px);
    background-size: 9px 9px;
}

/* ── Homepage Section ── */

.vk-home-section {
    margin: 40px 0;
    border: 2.5px solid #111;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.vk-masthead {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 2.5px solid #111;
    background-color: #f7f6f2;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1.4px);
    background-size: 9px 9px;
}

.vk-masthead-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2.5px solid #111;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.vk-masthead-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}

.vk-masthead-text {
    flex: 1;
    min-width: 0;
}

.vk-title {
    margin: 0;
    font-family: 'Noto Serif Malayalam', serif;
    font-size: 22px;
    font-weight: 800;
    color: #111;
}

.vk-subtitle {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: #555;
}

.vk-see-all {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    border: 2px solid #111;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.vk-see-all:hover {
    background: #111;
    color: #fff;
}

.vk-strip-container {
    position: relative;
    padding: 18px 20px 22px;
}

.vk-strip-wrapper {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.vk-strip-wrapper::-webkit-scrollbar {
    display: none;
}

.vk-strip-card {
    flex: 0 0 auto;
    width: 190px;
}

.vk-strip-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vk-strip-frame {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 2px solid #111;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vk-strip-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
    transition: transform .4s ease;
}

.vk-strip-card:hover .vk-strip-frame img {
    transform: scale(1.05);
}

.vk-strip-caption {
    padding: 8px 2px 0;
}

.vk-strip-caption p {
    margin: 0;
    font-size: 12.5px;
    color: #222;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vk-strip-date {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #888;
}

.vk-strip-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 16px;
    color: #111;
}

.vk-strip-nav.prev { left: 4px; }
.vk-strip-nav.next { right: 4px; }
.vk-strip-nav:hover { background: #111; color: #fff; }

.vk-strip-empty {
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 13px;
}

@media (max-width: 600px) {
    .vk-masthead { padding: 12px 14px; gap: 12px; }
    .vk-masthead-avatar { width: 50px; height: 50px; }
    .vk-title { font-size: 18px; }
    .vk-subtitle { font-size: 11.5px; }
    .vk-see-all { font-size: 12px; padding: 5px 10px; }
    .vk-strip-card { width: 150px; }
    .vk-strip-container { padding: 14px 10px 18px; }
    .vk-strip-nav { display: none; }
}

/* ── Dedicated Page (custom-vaikathukaran.hbs) ── */

.vkp-main {
    background-color: #f7f6f2;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.07) 1px, transparent 1.4px);
    background-size: 9px 9px;
}

.vkp-hero {
    text-align: center;
    padding: 36px 20px 28px;
    border-bottom: 3px solid #111;
    margin-bottom: 30px;
}

.vkp-hero-avatar {
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid #111;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 0 #111;
}

.vkp-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}

.vkp-hero-title {
    font-family: 'Noto Serif Malayalam', serif;
    font-size: 40px;
    font-weight: 900;
    margin: 0;
    color: #111;
}

.vkp-hero-tagline {
    margin: 8px auto 0;
    max-width: 480px;
    color: #444;
    font-size: 14.5px;
}

.vkp-hero-signature {
    margin-top: 14px;
    font-style: italic;
    font-size: 13px;
    color: #666;
}

.vkp-today {
    max-width: 720px;
    margin: 0 auto 46px;
    padding: 0 20px;
}

.vkp-today-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: #111;
    color: #fff;
    padding: 4px 12px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.vkp-today-frame {
    border: 3px solid #111;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.15);
}

.vkp-today-frame img {
    width: 100%;
    display: block;
    filter: grayscale(1) contrast(1.05);
}

.vkp-today-caption {
    padding: 14px 4px 0;
}

.vkp-today-caption h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-family: 'Noto Serif Malayalam', serif;
}

.vkp-today-caption p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.vkp-today-date {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.vkp-archive-label {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 22px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.vkp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 26px;
    padding: 0 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.vkp-card {
    background: #fff;
    border: 2.5px solid #111;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.12);
    transition: transform .3s ease, box-shadow .3s ease;
}

.vkp-grid > a:nth-child(odd) { transform: rotate(-1.1deg); }
.vkp-grid > a:nth-child(even) { transform: rotate(1.1deg); }

.vkp-card:hover {
    transform: rotate(0deg) translateY(-4px) !important;
    box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.2);
    z-index: 2;
    position: relative;
}

.vkp-card-frame {
    aspect-ratio: 3 / 4;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vkp-card-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
}

.vkp-card-caption {
    padding: 12px 14px 14px;
}

.vkp-card-caption p {
    margin: 0;
    font-size: 13px;
    color: #222;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vkp-card-date {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #888;
}

.vkp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

@media (max-width: 768px) {
    .vkp-hero-title { font-size: 30px; }
    .vkp-hero-avatar { width: 100px; height: 100px; }
    .vkp-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; padding: 0 14px 46px; }
}

@media (max-width: 460px) {
    .vkp-grid { grid-template-columns: 1fr 1fr; }
    .vkp-hero-title { font-size: 24px; }
}
