/* ========================================================
   SYSTEM A: NEWSPAPER CUTTING (अखबार की कतरन) STYLESHEET
   Authentic newspaper clipping card styling with print texture
   ======================================================== */

.cuttings-showcase-section {
    background: #f4efe6;
    border: 1px solid #e2d9c8;
    border-radius: 12px;
    padding: 24px 20px;
    margin: 32px 0;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
}

.cuttings-carousel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.cutting-card-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Authentic Newsprint Paper Clipping Card */
.cutting-paper-frame {
    background: #fbf9f4;
    border: 2px dashed #8c827a;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cutting-paper-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.cutting-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #111;
    padding-bottom: 4px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
}

.cutting-masthead {
    font-family: var(--font-heading);
    font-size: 15px;
    color: #000;
}

.cutting-dateline {
    color: #555;
}

.cutting-card-headline {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    margin-bottom: 8px;
}

.cutting-card-img {
    height: 140px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #000;
}

.cutting-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cutting-card-snippet {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cutting-byline-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #111;
    padding-top: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #222;
}

.cutting-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-cut-action {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 8px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.view-cut {
    background: #1f2937;
    color: #fff !important;
}

.download-cut {
    background: var(--primary);
    color: #fff !important;
}

/* ========================================================
   FULL NEWSPAPER CUTTING ARTIFACT (Inside Article View)
   ======================================================== */
.cutting-artifact-section {
    background: #fbf9f4;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 24px;
    margin: 36px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cutting-section-header {
    border-bottom: 2px dashed #555;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.cutting-heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

.cutting-subtext {
    font-size: 13px;
    color: #666;
}

/* The actual printable / downloadable canvas element */
.newspaper-cutting-container {
    background: #fcfbf7;
    border: 3px double #111;
    padding: 24px;
    max-width: 620px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: relative;
}

.cutting-masthead-strip {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 3px double #000;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.masthead-logo-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.masthead-motto {
    font-size: 11px;
    color: #555;
}

.cutting-mast-right {
    text-align: right;
    font-size: 12px;
    font-weight: 700;
}

.cutting-headline {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #000;
    margin-bottom: 10px;
    border-bottom: 1px solid #111;
    padding-bottom: 6px;
}

.cutting-byline-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

.byline-badge {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
}

.byline-author {
    font-weight: 700;
    color: #111;
}

.cutting-media-frame {
    border: 1px solid #000;
    padding: 4px;
    background: #fff;
    margin-bottom: 14px;
}

.cutting-frame-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.cutting-img-caption {
    font-size: 12px;
    color: #444;
    padding-top: 4px;
    font-style: italic;
}

.cutting-story-snippet p {
    font-size: 16px;
    line-height: 1.65;
    color: #111;
    text-align: justify;
    column-count: 2;
    column-gap: 20px;
    column-rule: 1px solid #ccc;
}

.cutting-watermark-footer {
    border-top: 1px solid #000;
    padding-top: 8px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #444;
}

.cutting-download-toolbar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Modal Overlay */
.cutting-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cutting-modal-overlay.active {
    display: flex;
}

.cutting-modal-container {
    background: transparent;
    max-width: 700px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}
