/*
Theme Name: Sircilla Muchatlu
Theme URI: https://sircillamuchatlu.com
Author: Sircilla Muchatlu
Description: Custom Telugu news website theme for Sircilla Muchatlu.
Version: 1.0
*/

/* =========================================================
   SIRCILLA MUCHATLU - MAIN DESIGN
   ========================================================= */

:root {
    --sm-blue: #07566B;
    --sm-dark-blue: #063E4D;
    --sm-red: #D4A72C;
    --sm-orange: #C99A25;
    --sm-white: #FFFFFF;
    --sm-black: #18242A;
    --sm-gray: #66757C;
    --sm-light-gray: #F5F8F9;
    --sm-border: #DCE5E8;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--sm-black);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* =========================================================
   COMMON CONTAINER
   ========================================================= */

.sm-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.sm-topbar {
    background: var(--sm-dark-blue);
    color: #ffffff;
    font-size: 13px;
}

.sm-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sm-topbar-left,
.sm-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sm-topbar a {
    color: #ffffff;
}

.sm-topbar a:hover {
    color: #ffd36a;
}

/* =========================================================
   LOGO AREA
   ========================================================= */

.sm-brand-area {
    background: #ffffff;
    padding: 18px 0;
    border-bottom: 1px solid var(--sm-border);
}

.sm-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 105px;
}

.sm-logo {
    max-width: 330px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sm-site-title {
    text-align: center;
}

.sm-site-title h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--sm-blue);
    letter-spacing: -1px;
}

.sm-site-title p {
    margin-top: 3px;
    color: var(--sm-gray);
    font-size: 13px;
    letter-spacing: 2px;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.sm-navigation {
    background: var(--sm-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 20;
}

.sm-navigation-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sm-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.sm-menu li {
    position: relative;
}

.sm-menu li a {
    display: block;
    padding: 15px 25px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.sm-menu li a:hover,
.sm-menu li.current-menu-item a {
    background: var(--sm-dark-blue);
}

.sm-search {
    display: flex;
    align-items: center;
}

.sm-search a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

/* =========================================================
   BREAKING NEWS
   ========================================================= */

.sm-breaking {
    background: #ffffff;
    border-bottom: 1px solid var(--sm-border);
}

.sm-breaking-inner {
    display: flex;
    align-items: stretch;
    min-height: 43px;
}

.sm-breaking-label {
    background: var(--sm-red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 18px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.sm-breaking-ticker {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f7f8fa;
}

.sm-breaking-ticker span {
    display: inline-block;
    white-space: nowrap;
    padding-left: 20px;
    font-size: 14px;
    color: #333333;
    animation: smTicker 20s linear infinite;
}

@keyframes smTicker {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */

.sm-main {
    padding: 28px 0 50px;
}

/* =========================================================
   SECTION TITLE
   ========================================================= */

.sm-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--sm-blue);
    margin-bottom: 20px;
}

.sm-section-title h2 {
    background: var(--sm-blue);
    color: #ffffff;
    font-size: 20px;
    padding: 8px 18px;
    display: inline-block;
}

.sm-section-title a {
    color: var(--sm-blue);
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.sm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

.sm-hero {
    position: relative;
    overflow: hidden;
    background: #111111;
    min-height: 390px;
}

.sm-hero img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.sm-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 70px 25px 25px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0)
    );
}

.sm-hero-category {
    display: inline-block;
    background: var(--sm-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.sm-hero-title {
    color: #ffffff;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
}

/* =========================================================
   LATEST NEWS
   ========================================================= */

.sm-latest {
    border: 1px solid var(--sm-border);
    background: #ffffff;
}

.sm-latest-header {
    background: #51416B;
    color: #ffffff;
    padding: 12px 17px;
    font-size: 18px;
    font-weight: 800;
}

.sm-latest-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 13px;
    border-bottom: 1px solid var(--sm-border);
}

.sm-latest-item:last-child {
    border-bottom: none;
}

.sm-latest-item img {
    width: 90px;
    height: 68px;
    object-fit: cover;
}

.sm-latest-item h3 {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.sm-latest-item h3:hover {
    color: var(--sm-blue);
}

.sm-post-date {
    display: block;
    color: #888888;
    font-size: 11px;
    margin-top: 5px;
}

/* =========================================================
   TOP STORIES
   ========================================================= */

.sm-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sm-card {
    background: #ffffff;
    border: 1px solid var(--sm-border);
    overflow: hidden;
    transition: 0.2s ease;
}

.sm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
}

.sm-card-image {
    overflow: hidden;
}

.sm-card-image img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sm-card:hover .sm-card-image img {
    transform: scale(1.03);
}

.sm-card-content {
    padding: 15px;
}

.sm-card-category {
    color: var(--sm-red);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sm-card-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.sm-card-title:hover {
    color: var(--sm-blue);
}

/* =========================================================
   ADVERTISEMENT
   ========================================================= */

.sm-ad {
    background: #f5f5f5;
    border: 1px dashed #cccccc;
    min-height: 110px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-ad-large {
    min-height: 150px;
}

.sm-ad-sidebar {
    min-height: 250px;
}

/* =========================================================
   NEWS SECTION
   ========================================================= */

.sm-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 25px;
}

.sm-news-list {
    display: flex;
    flex-direction: column;
}

.sm-news-item {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--sm-border);
}

.sm-news-item:first-child {
    padding-top: 0;
}

.sm-news-item img {
    width: 230px;
    height: 145px;
    object-fit: cover;
}

.sm-news-item h3 {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

.sm-news-item h3:hover {
    color: var(--sm-blue);
}

.sm-news-excerpt {
    color: #666666;
    font-size: 14px;
    margin-top: 7px;
}

/* =========================================================
   MOST POPULAR
   ========================================================= */

.sm-popular {
    margin-top: 35px;
}

.sm-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sm-popular-item {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 12px;
    border: 1px solid var(--sm-border);
    padding: 10px;
    background: #ffffff;
}

.sm-popular-item img {
    width: 105px;
    height: 80px;
    object-fit: cover;
}

.sm-popular-item h3 {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

/* =========================================================
   SINGLE POST
   ========================================================= */

.sm-single {
    max-width: 900px;
    margin: 0 auto;
}

.sm-single-category {
    display: inline-block;
    color: #ffffff;
    background: var(--sm-red);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sm-single-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 12px;
}

.sm-single-meta {
    color: #777777;
    font-size: 13px;
    border-bottom: 1px solid var(--sm-border);
    padding-bottom: 15px;
    margin-bottom: 22px;
}

.sm-single-featured img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    margin-bottom: 25px;
}

.sm-single-content {
    font-size: 17px;
    line-height: 1.85;
}

.sm-single-content p {
    margin-bottom: 20px;
}

.sm-single-content h2,
.sm-single-content h3 {
    margin: 25px 0 12px;
}

.sm-single-content img {
    margin: 20px auto;
}

/* =========================================================
   ARCHIVE / CATEGORY
   ========================================================= */

.sm-archive-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--sm-blue);
    border-left: 6px solid var(--sm-red);
    padding-left: 14px;
    margin-bottom: 25px;
}

.sm-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.sm-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sm-pagination a,
.sm-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sm-border);
    background: #ffffff;
    font-size: 13px;
}

.sm-pagination .current,
.sm-pagination a:hover {
    background: var(--sm-blue);
    color: #ffffff;
    border-color: var(--sm-blue);
}

/* =========================================================
   SEARCH
   ========================================================= */

.sm-search-form {
    display: flex;
    max-width: 700px;
    margin: 0 auto 30px;
}

.sm-search-form input[type="search"] {
    flex: 1;
    border: 1px solid var(--sm-border);
    padding: 13px 15px;
    font-size: 15px;
    outline: none;
}

.sm-search-form input[type="search"]:focus {
    border-color: var(--sm-blue);
}

.sm-search-form button {
    border: none;
    background: var(--sm-blue);
    color: #ffffff;
    padding: 0 24px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */

.sm-footer {
    background: var(--sm-dark-blue);
    color: #ffffff;
    margin-top: 40px;
}

.sm-footer-main {
    padding: 40px 0;
}

.sm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
}

.sm-footer-logo {
    max-width: 250px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.sm-footer h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.sm-footer p {
    color: #d8def0;
    font-size: 14px;
}

.sm-footer-links li {
    margin-bottom: 8px;
}

.sm-footer-links a {
    color: #d8def0;
    font-size: 14px;
}

.sm-footer-links a:hover {
    color: #ffffff;
}

.sm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 0;
    text-align: center;
    color: #cbd3e8;
    font-size: 12px;
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.sm-mobile-menu {
    display: none;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .sm-container {
        width: 94%;
    }

    .sm-hero-grid,
    .sm-news-layout {
        grid-template-columns: 1fr;
    }

    .sm-card-grid,
    .sm-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sm-menu li a {
        padding-left: 17px;
        padding-right: 17px;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .sm-topbar-inner {
        justify-content: center;
        min-height: 32px;
    }

    .sm-topbar-left {
        display: none;
    }

    .sm-brand-area {
        padding: 12px 0;
    }

    .sm-brand {
        min-height: 80px;
    }

    .sm-logo {
        max-width: 230px;
        max-height: 90px;
    }

    .sm-site-title h1 {
        font-size: 29px;
    }

    .sm-navigation-inner {
        min-height: 48px;
    }

    .sm-mobile-menu {
        display: block;
    }

    .sm-menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 48px;
        background: var(--sm-blue);
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    }

    .sm-menu.sm-menu-open {
        display: flex;
    }

    .sm-menu li a {
        padding: 13px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .sm-navigation-inner {
        justify-content: space-between;
    }

    .sm-breaking-inner {
        min-height: 40px;
    }

    .sm-breaking-label {
        padding: 10px 12px;
        font-size: 12px;
    }

    .sm-breaking-ticker span {
        font-size: 12px;
    }

    .sm-main {
        padding-top: 20px;
    }

    .sm-hero {
        min-height: 280px;
    }

    .sm-hero img {
        height: 280px;
    }

    .sm-hero-title {
        font-size: 22px;
    }

    .sm-hero-overlay {
        padding: 55px 16px 18px;
    }

    .sm-card-grid,
    .sm-archive-grid,
    .sm-popular-grid {
        grid-template-columns: 1fr;
    }

    .sm-news-item {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .sm-news-item img {
        width: 120px;
        height: 90px;
    }

    .sm-news-item h3 {
        font-size: 15px;
    }

    .sm-news-excerpt {
        display: none;
    }

    .sm-section-title h2 {
        font-size: 17px;
    }

    .sm-single-title {
        font-size: 29px;
    }

    .sm-single-content {
        font-size: 16px;
    }

    .sm-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* =========================================================
   WORDPRESS COMMON
   ========================================================= */

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin: 0 20px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 20px;
}

.wp-caption {
    max-width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* =========================================
   MAIN SIRCILLA MUCHATLU LOGO
   ========================================= */

.sm-main-logo {
    display: block;
    width: 250px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.sm-logo-link {
    display: block;
    text-align: center;
}
/* =========================================================
   FINAL BREAKING NEWS TICKER
   ========================================================= */

.sm-breaking {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
    white-space: nowrap;
}

/* FIXED BREAKING NEWS */
.sm-breaking-label {
    flex: 0 0 auto;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    background: #D4A72C;
    color: #ffffff;

    font-size: 17px;
    font-weight: 800;

    white-space: nowrap;
    z-index: 20;
}

/* FIXED NEW */
.sm-breaking-new {
    flex: 0 0 auto;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    background: #ffffff;
    color: #ff2020;

    font-size: 15px;
    font-weight: 800;

    white-space: nowrap;
    z-index: 20;
}

/* MOVING NEWS WINDOW */
.sm-breaking-window {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;

    display: flex;
    align-items: center;

    overflow: hidden;
    white-space: nowrap;
}

/* MOVING NEWS */
.sm-breaking-track {
    display: inline-flex;
    align-items: center;

    width: max-content;
    white-space: nowrap;

    animation: smBreakingScroll 80s linear infinite;
}

/* NEWS TITLE */
.sm-breaking-track a {
    display: inline-block;

    color: #18242A !important;
    text-decoration: none !important;

    font-size: 17px;
    font-weight: 600;

    white-space: nowrap;
    padding: 0 8px;
}

/* DOT */
.sm-breaking-dot {
    display: inline-block;

    color: #66757C;

    font-size: 18px;
    font-weight: 700;

    margin: 0 18px;
}

/* HOVER = PAUSE ONLY NEWS */
.sm-breaking-window:hover .sm-breaking-track {
    animation-play-state: paused;
}

/* SLOW SCROLL */
@keyframes smBreakingScroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .sm-breaking {
        height: 48px;
        display: flex;
        flex-direction: row;
        overflow: hidden;
        white-space: nowrap;
    }

    .sm-breaking-label {
        flex: 0 0 auto;
        height: 48px;
        padding: 0 12px;
        background: #D4A72C;
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }

    .sm-breaking-new {
        flex: 0 0 auto;
        height: 48px;
        padding: 0 10px;
        background: #ffffff;
        color: #ff2020;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .sm-breaking-window {
        flex: 1 1 auto;
        min-width: 0;
        height: 48px;
        overflow: hidden;
        white-space: nowrap;
    }

    .sm-breaking-track {
        display: inline-flex;
        flex-wrap: nowrap;
        width: max-content;
        white-space: nowrap;
        animation-duration: 80s;
    }

    .sm-breaking-track a {
        display: inline-block;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }

    .sm-breaking-dot {
        flex: 0 0 auto;
        font-size: 16px;
        margin: 0 12px;
        white-space: nowrap;
    }

}