



.daily-phrase {
    width: 100%;
    height: 97px;
    background: #FEF9C3;
    border: 1px solid #FEF08A;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 43px;
    margin-top: 24px;
}

#daily-message {
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: #374151;
    max-width: 1068px;
    padding: 0 20px;
}


.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    color: #374151;
    margin-bottom: 30px;
}

.announcement-title {
    font-size: 27px;
    line-height: 33px;
    color: #CA9345;
    margin-bottom: 32px;
}


.announcement-section {
    margin-bottom: 40px;
}

.announcement-container {
    width: 100%;
    max-width: 935px;
    margin: 0 auto;
    background: #FEF9C3;
    border: 1px solid #E5E7EB;
    border-radius: 11px;
    padding: 32px;
}

#admin-announcement {
    width: 100%;
    margin: 0 auto;
    background: #FEFFEF;
    border: 1px solid #E5E7EB;
    border-radius: 9px;
    padding: 24px 32px;

    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #334230;

    min-height: 154px;

    white-space: pre-wrap;      
    overflow-wrap: anywhere;
    word-break: break-word;
}



.tasks-section {
    margin-bottom: 40px;
}

.tasks-container {
    width: 100%;
    max-width: 802px;
    margin: 0 auto;
    background: #FEF9C3;
    border-radius: 11px;
    padding: 18px 0 18px 0;
}

.task-item {
    width: 100%;
    max-width: 739px;
    margin: 0 auto 20px;
    background: #FEFFEF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 20px 14px 44px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
}

.task-item:last-child {
    margin-bottom: 0;
}



.task-bullet {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 12px;
    background: #FFBF00;
    border-radius: 50%;
}

.task-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #334230;
}


.documents-section {
    margin-bottom: 30px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.document-card {
    border: 1px solid #D7D7D7;
    border-radius: 9px;
    padding: 20px;
    position: relative;
    min-height: 145px;
}

.document-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    color: #374151;
    margin-bottom: 8px;
}

.document-filename {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #374151;
    margin-bottom: 8px;
}

.document-date {
    position: absolute;
    top: 24px;
    right: 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #374151;
}

.download-button {
    width: 100%;
    height: 34px;
    background: #EAB308;
    border-radius: 9px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 16px;
}

.download-button:hover {
    background: #d4a107;
}


.errmargin {
    margin-left: 20px;
}

@media (max-width: 1199px) {
    .footer-column,
    .footer-right {
        height: auto;
        min-height: 0;
        padding: 12px 18px;
    }

    .footer-left,
    .footer-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-center {
        margin: 10px 0;
    }

    .footer-nav {
        height: auto;
        align-items: center;
    }

    .footer-right {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-title {
        margin-bottom: 4px;
    }
}

@media (max-width: 1024px) {
    .daily-phrase {
        height: auto;
        min-height: 88px;
        padding: 16px 18px;
    }

    #daily-message {
        font-size: 24px;
        line-height: 30px;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 16px;
    }

    .header {
        height: auto;
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px;
    }

    .logo-button {
        width: 160px;
        height: 44px;
    }

    .nav-link {
        order: 3;
        width: 100%;
        text-align: center;
        font-size: 16px;
        line-height: 20px;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .action-button {
        min-width: 160px;
        padding: 0 18px;
    }

    .daily-phrase {
        height: auto;
        min-height: 97px;
        margin: 20px 0 32px;
        padding: 20px 16px;
    }

    #daily-message {
        font-size: 22px;
        line-height: 28px;
        padding: 0;
    }

    .section-title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 22px;
    }

    .announcement-title {
        font-size: 24px;
        line-height: 29px;
        margin-bottom: 24px;
    }

    .announcement-container {
        padding: 24px 18px;
    }

    #admin-announcement {
        min-height: 132px;
        padding: 20px;
        font-size: 18px;
        line-height: 22px;
    }

    .tasks-section {
        margin-bottom: 32px;
    }

    .tasks-container {
        padding: 16px;
    }

    .task-item {
        min-height: 0;
        margin-bottom: 14px;
        padding: 14px 16px 14px 38px;
        align-items: flex-start;
    }

    .task-bullet {
        left: 15px;
        top: 22px;
        transform: none;
    }

    .task-text {
        font-size: 15px;
        line-height: 20px;
    }

    .footer {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px;
    }

    .footer-column,
    .footer-right {
        width: 100%;
        height: auto;
    }

    .footer-column {
        padding: 18px 20px;
    }

    .footer-center {
        margin: 0;
    }

}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .site-container {
        margin: 0;
        min-height: 100vh;
        border-radius: 0;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-button {
        width: 100%;
    }

    .nav-link {
        order: 0;
    }

    .header-buttons {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .action-button {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
    }

    .main-content {
        padding: 16px 12px;
    }

    .daily-phrase {
        margin: 12px 0 24px;
        padding: 16px 14px;
        border-radius: 11px;
    }

    #daily-message {
        font-size: 18px;
        line-height: 24px;
    }

    .section-title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 18px;
    }

    .announcement-title {
        font-size: 20px;
        line-height: 24px;
    }

    .announcement-container {
        padding: 16px 12px;
    }

    #admin-announcement {
        min-height: 116px;
        padding: 16px 14px;
        font-size: 16px;
        line-height: 20px;
    }

    .tasks-container {
        padding: 12px;
    }

    .task-item {
        border-radius: 8px;
        padding: 12px 12px 12px 34px;
    }

    .task-bullet {
        left: 12px;
        top: 18px;
        width: 10px;
        height: 10px;
    }

    .task-text {
        font-size: 14px;
        line-height: 18px;
    }

    .footer {
        padding: 12px;
    }

    .footer-column,
    .footer-right {
        padding: 16px 14px;
        border-radius: 9px;
    }

    .privacy-link,
    .footer-text {
        width: 100%;
        font-size: 14px;
        line-height: 18px;
    }
}

@media (max-width: 1199px) and (min-width: 901px) {
    .footer-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: center;
    }

    .footer-nav-button {
        width: 126px;
        min-width: 0;
        padding: 0 14px;
        flex: 0 0 126px;
        white-space: nowrap;
    }
}

@media (max-width: 900px) and (min-width: 481px) {
    .footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);
        gap: 12px;
    }

    .footer-nav-button {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 10px;
    }

    .footer-nav-button {
        width: 100%;
    }
}
